blob: 10147ef03db90309f7df136541af50f39614c863 [file] [log] [blame]
# Marvell Fastpath (mfp) configuration
if PACKAGE_kmod-mfp
config FASTPATH_DEBUG
bool "mfp debug"
default n
help
Enable compilation of extra mfp debug features
BAD for performance, should only be used for debugging
config FASTPATH_WARN_AS_ERR
bool "mfp warn_as_err"
default y
help
When enabled, mfp handling to unespected events will
be BUG()
config FASTPATH_FORWARD_RX_HOOK
int "fp_forward rx_hook"
range 0 2
default 0
help
select default rx hook (can be changed in runtime as well)
0 - direct, via netif_rx
1 - netfilter, via NF_INET_PRE_ROUTING hook
2 - disabled
config FASTPATH_FORWARD_TX_HOOK
int "fp_forward tx_hook"
range 0 2
default 0
help
select default tx hook (can be changed in runtime as well)
0 - direct, via ndo_start_xmit
1 - queue, via dev_queue_xmit
2 - disabled
config FASTPATH_LEARNER_WQ
bool "fp_learner workqueue mode"
default n
help
fp_learner learns new connections from workqueue
endif