Skip to content

Commit 066f5f4

Browse files
mwallearndb
authored andcommitted
arm64: defconfig: enable TSN features for ENETC and similiar hardware
Newer network cards and switches support offloading of certain packet scheduling, classifying and actions onto the hardware itself. For example, time-aware and credit based schedulers. To use this feature we have to enable the corresponding modules. Please note, that this will also enable NET_SCHED and NET_CLS_ACT as builtin because there is no module option. The enabled modules should get us a good foundation. $ scripts/bloat-o-meter old-vmlinux vmlinux add/remove: 446/215 grow/shrink: 48/31 up/down: 78445/-11519 (66926) [..] Total: Before=20452567, After=20519493, chg +0.33% Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael Walle <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
1 parent b104533 commit 066f5f4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

arch/arm64/configs/defconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,18 @@ CONFIG_NET_DSA=m
161161
CONFIG_VLAN_8021Q=m
162162
CONFIG_VLAN_8021Q_GVRP=y
163163
CONFIG_VLAN_8021Q_MVRP=y
164+
CONFIG_NET_SCHED=y
165+
CONFIG_NET_SCH_CBS=m
166+
CONFIG_NET_SCH_ETF=m
167+
CONFIG_NET_SCH_TAPRIO=m
168+
CONFIG_NET_SCH_MQPRIO=m
169+
CONFIG_NET_SCH_INGRESS=m
170+
CONFIG_NET_CLS_BASIC=m
171+
CONFIG_NET_CLS_FLOWER=m
172+
CONFIG_NET_CLS_ACT=y
173+
CONFIG_NET_ACT_GACT=m
174+
CONFIG_NET_ACT_MIRRED=m
175+
CONFIG_NET_ACT_GATE=m
164176
CONFIG_QRTR=m
165177
CONFIG_QRTR_SMD=m
166178
CONFIG_QRTR_TUN=m

0 commit comments

Comments
 (0)