#
# Freescale DPAA Ethernet driver configuration
#
# Copyright (C) 2014-2015 Freescale Semiconductor, Inc.
#
# This file is released under the GPLv2
#

menuconfig FSL_DPAA2_ETH
	tristate "Freescale DPAA2 Ethernet"
	depends on FSL_DPAA2 && FSL_MC_BUS && FSL_MC_DPIO
	select FSL_DPAA2_MAC
	default y
	---help---
	  Freescale Data Path Acceleration Architecture Ethernet
	  driver, using the Freescale MC bus driver.

if FSL_DPAA2_ETH

config FSL_DPAA2_ETH_USE_ERR_QUEUE
	bool "Enable Rx error queue"
	default n
	---help---
	  Allow Rx error frames to be enqueued on an error queue
	  and processed by the driver (by default they are dropped
	  in hardware).
	  This may impact performance, recommended for debugging
	  purposes only.

config FSL_DPAA2_ETH_DEBUGFS
	depends on DEBUG_FS && FSL_QBMAN_DEBUG
	bool "Enable debugfs support"
	default n
	---help---
	  Enable advanced statistics through debugfs interface.
endif
