Hide Forgot
Description of problem: Recently, commit c4ab7b56be0f ("openvswitch: add trace points") was accepted to upstream net-next. This is a request to backport to the RHEL kernel to support debugging the kernel datapath. See: https://git.kernel.org/netdev/net-next/c/c4ab7b56be0f
Hi Aaron. Please let me know if this is something that can be tested for verification and, if so, what the steps would be. Thanks, Rick
I've updated the ITM and DTM's since it is probably a miss to try for -20. This can be tested - simply look for the trace events under: /sys/kernel/tracing/events/openvswitch/ After this patch, that directory should exist and be populated with the userspace and action probes.
Verified new functionality: [root@netqe9 ~]# uname -r 4.18.0-323.el8.mr974_210715_1516.x86_64 [root@netqe9 ~]# modprobe openvswitch [root@netqe9 ~]# grep openvswitch /proc/modules openvswitch 180224 0 - Live 0xffffffffc0f88000 nf_conncount 16384 1 openvswitch, Live 0xffffffffc02e8000 nf_nat 45056 3 openvswitch,ipt_MASQUERADE,nft_chain_nat, Live 0xffffffffc092f000 nf_conntrack 172032 5 openvswitch,nf_conncount,ipt_MASQUERADE,xt_conntrack,nf_nat, Live 0xffffffffc0f5d000 nf_defrag_ipv6 20480 2 openvswitch,nf_conntrack, Live 0xffffffffc0929000 libcrc32c 16384 6 openvswitch,nf_nat,nf_conntrack,nf_tables,xfs,bnx2x, Live 0xffffffffc0200000 [root@netqe9 ~]# ls -lah /sys/kernel/tracing/events/openvswitch total 0 drwxr-xr-x. 4 root root 0 Jul 26 07:30 . drwxr-xr-x. 103 root root 0 Jul 26 07:28 .. -rw-r--r--. 1 root root 0 Jul 26 07:30 enable -rw-r--r--. 1 root root 0 Jul 26 07:30 filter drwxr-xr-x. 2 root root 0 Jul 26 07:30 ovs_do_execute_action drwxr-xr-x. 2 root root 0 Jul 26 07:30 ovs_dp_upcall
Verified fix using compose RHEL-8.5.0-20210812.n.0: [root@netqe9 ~]# uname -r 4.18.0-330.el8.x86_64 [root@netqe9 ~]# modprobe openvswitch [root@netqe9 ~]# grep openvswitch /proc/modules openvswitch 180224 0 - Live 0xffffffffc0db5000 nf_conncount 16384 1 openvswitch, Live 0xffffffffc055d000 nf_nat 45056 3 openvswitch,ipt_MASQUERADE,nft_chain_nat, Live 0xffffffffc095f000 nf_conntrack 172032 5 openvswitch,nf_conncount,ipt_MASQUERADE,xt_conntrack,nf_nat, Live 0xffffffffc0d8a000 nf_defrag_ipv6 20480 2 openvswitch,nf_conntrack, Live 0xffffffffc0935000 libcrc32c 16384 6 openvswitch,nf_nat,nf_conntrack,nf_tables,xfs,bnx2x, Live 0xffffffffc01b7000 [root@netqe9 ~]# ls -lah /sys/kernel/tracing/events/openvswitch total 0 drwxr-xr-x. 4 root root 0 Aug 12 11:11 . drwxr-xr-x. 103 root root 0 Aug 12 2021 .. -rw-r--r--. 1 root root 0 Aug 12 11:11 enable -rw-r--r--. 1 root root 0 Aug 12 11:11 filter drwxr-xr-x. 2 root root 0 Aug 12 11:11 ovs_do_execute_action drwxr-xr-x. 2 root root 0 Aug 12 11:11 ovs_dp_upcall [root@netqe9 ~]#
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: kernel security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:4356