summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/Kconfig79
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"