diff options
author | Sachin Saxena <sachin.saxena@freescale.com> | 2013-04-15 09:38:38 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-04-16 22:39:41 (GMT) |
commit | 107eeafdd3d8dd59d4c493460902ce5d79269068 (patch) | |
tree | 506d4094899e0050385dacfab454d56bb5c92ab1 /drivers/net/Kconfig | |
parent | 76d92610a3ba8bacb6703eeb6a44ba7159745a22 (diff) | |
download | linux-fsl-qoriq-107eeafdd3d8dd59d4c493460902ce5d79269068.tar.xz |
Changes to support ASF QOS Integration with Kernel
Signed-off-by: Sachin Saxena <sachin.saxena@freescale.com>
CQ ID : ENGR00253307
Change-Id: If090285cc4fdfe6a09bd62da1697a55404cdbce4
Reviewed-on: http://git.am.freescale.net:8181/1345
Reviewed-by: Gupta Rajan-B15745 <rajan.gupta@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index b2f3a62..8d3dc1df 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -67,6 +67,85 @@ config ASF_IPV6 This option compiles the ASF for IPV6 Firewall and IPsec. +config ASF_QOS + default y + bool "ASF QoS Support" + depends on AS_FASTPATH + select NETFILTER_XT_TARGET_DSCP + select NET_SCHED + select NET_SCH_PRIO + select NET_SCH_TBF + select NET_SCH_DRR + select NET_CLS + select NET_CLS_BASIC + select NET_CLS_U32 + select NET_CLS_FLOW + select NET_SCH_FIFO + select IP_NF_MANGLE + select IP6_NF_MANGLE + +config ASF_EGRESS_QOS + default y + bool + depends on ASF_QOS + +config ASF_INGRESS_MARKER + default y + bool "DSCP Marking Support" + depends on ASF_QOS && ASF_EGRESS_QOS + ---help--- + Choose this option if you wish to utilize ASF Marking support. + Currently only DSCP marking is supported. + +config ASF_EGRESS_SCH + default y + bool "S/W Scheduler Support" + depends on ASF_QOS && ASF_EGRESS_QOS && !DPA_ETH + ---help--- + Choose this option if you wish to utilize ASF S/W based Strict Priority + Scheduler support. + +config ASF_EGRESS_SHAPER + default y + bool "S/W Shaper Support" + depends on ASF_QOS && ASF_EGRESS_QOS && !DPA_ETH + + ---help--- + Choose this option if you wish to utilize ASF S/W based Shaping support. + This shaper will be configured at each scheduler queue. + +config ASF_HW_SCH + default n + bool "ASF H/W Scheduler Support" + depends on ASF_QOS && ASF_EGRESS_QOS && !ASF_EGRESS_SCH + ---help--- + Choose this option if you wish to utilize eTSEC(NON-DPAA) TX Scheduler. +choice + prompt "Select Scheduling Algorithm" + depends on ASF_HW_SCH && !DPA_ETH + default ASF_SCH_PRIO + +config ASF_SCH_PRIO + bool "Strict Priority (PRIO)" + ---help--- + This option compiles the ASF to utilize eTSEC(NON-DPAA) + H/W Scheduler with PRIORITY algorithm. + +config ASF_SCH_MWRR + bool "Modified Weighted Round-Robin (MWRR)" + ---help--- + This option compiles the ASF to utilize eTSEC(NON-DPAA) + H/W Scheduler with Modified Weighted Round-Robin algorithm. + +endchoice + +config ASF_HW_SHAPER + default y + bool "ASF H/W Shaper Support" + depends on ASF_QOS && ASF_EGRESS_QOS && DPA_ETH + ---help--- + Choose this option if you wish to utilize DPAA TX Shaper. + config NET_CORE default y bool "Network core driver support" |