if RTK_L34_FLEETCONNTRACK_ENABLE

#
# Fleet Conntrack Driver configuration
#


config RTK_L34_FC_KERNEL_MODULE
	tristate "FC driver kernel module"
	default y
	help
	   To compile FC driver as build-in or module 
menu "FC driver smp dispatch"
config RTK_L34_FC_IPI_NIC_RX
	bool "smp ipi dispatch for nic rx process"
	default y if SMP
config RTK_L34_FC_IPI_NIC_TX
	bool "smp ipi dispatch for nic tx process"
	default y if SMP
config RTK_L34_FC_IPI_WIFI_RX
	bool "smp ipi dispatch for wifi rx process"
	default y if SMP
config RTK_L34_FC_IPI_WIFI_TX
	bool "smp ipi dispatch for wifi tx process"
	default y if SMP
endmenu

config RTK_FC_PER_SW_FLOW_MIB
	bool "FC per SW flow mib (support in SW_only mode)"
	default n

config RTK_FC_WLAN_HWNAT_ACCELERATION
	bool "FC WLAN HWNAT acceleration"
	default y

config RTK_FC_ADSL_HWNAT_ACCELERATION
        depends on RTK_REMOTE_ADSL
        bool "FC ATM HWNAT accelerate"
	default n

config RTK_L34_NETFILTER_HOOK
	bool "FC netfilter hook registration"
	default y
	help
	   it helps FC to cache forwarding info

config RTK_FC_TCP_SPI_SUPPORT
	bool "FC TCP SPI support"
	depends on RTK_SOC_RTL8198D || FC_RTL8198F_SERIES || RTL8198X_SERIES
	default y

if FC_CAG3_SERIES
config RG_G3_L2FE_POL_OFFLOAD
        bool "loop-back mode for host-policing & meter"
        default n
endif

choice 
	prompt "WIFI Tx load balance"
	default FC_WIFI_TX_NONE
	depends on RTK_L34_XPON_PLATFORM
config FC_WIFI_TX_NONE
	bool "GMAC offload is disabled"
config FC_WIFI_TRAP_HASH_SUPPORT
	bool "wifi tx with TRAP hash"
	help
	   hw hash to decide using GMAC 0 or 1
config FC_WIFI_TX_GMAC_TRUNKING_SUPPORT
	bool "wifi tx with GMAC trunking"
	help
	   flow entry to decide using GMAC 0 or 1 or 2
endchoice

choice 
	prompt "WIFI Rx load balance"
	default FC_WIFI_RX_NONE
	depends on RTK_L34_XPON_PLATFORM
config FC_WIFI_RX_NONE
	bool "GMAC offload is disabled"
config FC_WIFI_RX_HASH_SUPPORT
	bool "wifi rx to GMAC tx with RR"
	help
	   Round-Robin to select GMAC 0 or 1 Tx
config FC_WIFI_RX_GMAC_AUTO_SEL_SUPPORT
	bool "wifi rx to GMAC tx with auto-selection"
	help
	   Detect DMAC to select single or multiple GMAC Tx
endchoice

config FC_WIFI_TX_ONLY_2_GMAC_TRUNKING
	bool "wifi tx with only 2 GMAC trunking"
	depends on FC_WIFI_TX_GMAC_TRUNKING_SUPPORT
	help
	  flow entry to decide using GMAC 0 or 1

config FC_WIFI_TX_GMAC_AUTO_SEL_SUPPORT
        bool "GMAC rx to wifi tx with auto-selection"
        depends on FC_WIFI_TX_GMAC_TRUNKING_SUPPORT
        help
          Detect SMAC to select single or multiple GMAC rx

config FC_WIFI_RX_GMAC_TRUNKING_SUPPORT
	bool "wifi rx with GMAC trunking"
	depends on !FC_WIFI_RX_NONE
	help
	  Enable to use 3 GMACs for WIFI RX.

config RTK_FC_WIFI_AMSDU_OFFLOAD_BY_PE
        bool "wifi tx amsdu offload by PE"
        default n
        depends on RTK_L34_G3_PLATFORM && RTK_FC_WLAN_HWNAT_ACCELERATION
        help
          Take PE1 as middleware to offload packet aggregation.

config RTK_CPU_PORT_FLOW_CONTROL
	bool "Enable CPU port flow control"
	depends on RTK_L34_XPON_PLATFORM
	default n

if FC_CA8277B_SERIES
config FC_SPECIAL_FAST_FORWARD
	bool "special fast-forward for VXLAN and NPTv6"
	default n

config FC_QTNA_WIFI_AX
	bool "data path of Quantenna wifi ax"
	default n	

config FC_CELENO_WIFI
	bool "data path of Celeno wifi"
	default n			
	
endif

if RTK_L34_XPON_PLATFORM
config FC_SPECIAL_FAST_FORWARD
	bool "special fast-forward for VXLAN and NPTv6"
	default n
endif

config RTK_FC_MEMLEAK_DEBUG
	bool "memory leak debug for FC driver"
	default n

source "drivers/net/ethernet/realtek/rtl86900/FleetConntrackDriver/Kconfig.core"

config ARK_QOS
	bool "Enable GTB ARK QOS"
	default n

endif #endif RTK_L34_FLEETCONNTRACK_ENABLE
