Skip to content

Commit d2b8111

Browse files
Konstantin Shkolnyyhcahca
authored andcommitted
s390/configs: Enable options required for TC flow offload
While testing Open vSwitch with Nvidia ConnectX-6 NIC, it was noticed that it didn't offload TC flows into the NIC, and its log contained many messages such as: "failed to offload flow: No such file or directory: <network device name>" and, upon enabling more versose logging, additionally: "received NAK error=2 - TC classifier not found" The options enabled here are listed as requirements in Nvidia online documentation, among other options that were already enabled. Now all options listed by Nvidia are enabled.. This option is also added because Fedora has it: CONFIG_NET_EMATCH Signed-off-by: Konstantin Shkolnyy <kshk@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
1 parent 0db8a9a commit d2b8111

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

arch/s390/configs/debug_defconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,9 @@ CONFIG_CLS_U32_MARK=y
395395
CONFIG_NET_CLS_FLOW=m
396396
CONFIG_NET_CLS_CGROUP=y
397397
CONFIG_NET_CLS_BPF=m
398+
CONFIG_NET_CLS_FLOWER=m
399+
CONFIG_NET_CLS_MATCHALL=m
400+
CONFIG_NET_EMATCH=y
398401
CONFIG_NET_CLS_ACT=y
399402
CONFIG_NET_ACT_POLICE=m
400403
CONFIG_NET_ACT_GACT=m
@@ -405,6 +408,9 @@ CONFIG_NET_ACT_PEDIT=m
405408
CONFIG_NET_ACT_SIMP=m
406409
CONFIG_NET_ACT_SKBEDIT=m
407410
CONFIG_NET_ACT_CSUM=m
411+
CONFIG_NET_ACT_VLAN=m
412+
CONFIG_NET_ACT_TUNNEL_KEY=m
413+
CONFIG_NET_ACT_CT=m
408414
CONFIG_NET_ACT_GATE=m
409415
CONFIG_NET_TC_SKB_EXT=y
410416
CONFIG_DNS_RESOLVER=y

arch/s390/configs/defconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,9 @@ CONFIG_CLS_U32_MARK=y
385385
CONFIG_NET_CLS_FLOW=m
386386
CONFIG_NET_CLS_CGROUP=y
387387
CONFIG_NET_CLS_BPF=m
388+
CONFIG_NET_CLS_FLOWER=m
389+
CONFIG_NET_CLS_MATCHALL=m
390+
CONFIG_NET_EMATCH=y
388391
CONFIG_NET_CLS_ACT=y
389392
CONFIG_NET_ACT_POLICE=m
390393
CONFIG_NET_ACT_GACT=m
@@ -395,6 +398,9 @@ CONFIG_NET_ACT_PEDIT=m
395398
CONFIG_NET_ACT_SIMP=m
396399
CONFIG_NET_ACT_SKBEDIT=m
397400
CONFIG_NET_ACT_CSUM=m
401+
CONFIG_NET_ACT_VLAN=m
402+
CONFIG_NET_ACT_TUNNEL_KEY=m
403+
CONFIG_NET_ACT_CT=m
398404
CONFIG_NET_ACT_GATE=m
399405
CONFIG_NET_TC_SKB_EXT=y
400406
CONFIG_DNS_RESOLVER=y

0 commit comments

Comments
 (0)