Public bug reported: [SHORT DESCRIPTION]:
when we add traffic rules using the SW steering that supported by MLX5 driver in Ubuntu 20.04, we see that the rules added into the kernel and the packages that stand in those rules are dropped. but the dropped packets counters don't increase by the driver. [HOW TO REPRODUCE THE ISSUE] 1.configure SW Steering and ovs bridge (on both HV) 2. install one vm on each side 3. create to virtual function and attach it to the vm 4. configure action forward* in one side of HV* (sender side): ovs-ofctl add-flow ovs-sriov "tcp,in_port=ens5f0_0,nw_src=13.13.1.2,nw_dst=13.13.1.1,tp_src=8922,tp_dst=8922 action=drop" 5. check that the rulse added: dump-flows ovs-sriov --color 6. in VM (server side) run: iperf -s -p 9822 7. in VM (client side) run : iperf -c 13.13.1.1 -p 8922 -B 13.13.1.2:8922 8. verify counter [EXPECTED RESULT] increase dropped packets counter [ ACTUAL RESULT ] dropped packets counter doesn't increase [ADDITIONAL INFO] the issue was resolved upstream, I need to verify that the upstream fix really fixes the issue on UB20.04 and once we verify it I will add the fix here. machine info: Product Name : ProLiant DL380 Gen9 Bios Release : P89 10/21/2019 Architecture : x86_64 Linux Distro : Ubuntu Focal Fossa (development branch) Kernel-Version : 5.4.0-18-generic ** Affects: focal (Ubuntu) Importance: Undecided Status: New ** Tags: focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1868624 Title: ASAP/MLX5: drop counter not increase with datapath action=drop in SW STEERING To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/focal/+bug/1868624/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs