Hi Amir - please test. Marking verification done for now. Regression consequence is limited to the DPDK use case.
** Tags removed: verification-needed-focal ** Tags added: verification-done-focal -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1922494 Title: Ubuntu 20.04 - 'Support flow counters offset for bulk counters' Status in linux package in Ubuntu: Incomplete Status in linux source package in Focal: Fix Committed Bug description: [impact] Add Support for flow counters offset for bulk counters on kernel side. Currently Ubuntu 20.04 supports 'flow counters offset for bulk counters' on user space side only with these 3 rdma-core patches from v27.0 3956cf74 mlx5: Add support for bulk flow counters steering actions 65ed59c6 Update kernel headers b32eee70 mlx5: Fix typos [test case] /* download and install dpdk from github (issue do not reproduce with inbox dpdk) */ $ git clone https://github.com/mellanox/dpdk.org $ cd dpdk.org/ /* install dependencies if needed */ $ apt-get install -y python3-pyelftools python-pyelftools $ apt install meson $ meson build-meson $ ninja -C build-meson/ /* run dpdk-testpmd with mellanox HCA (I used CX5) 0000:05:00.0, 0000:05:00.1 are pci id for the cx5 devices */ /<path to dpdk folder>/dpdk.org/build-meson/app/dpdk-testpmd -v -n 4 -w 0000:05:00.0,txq_inline=147,rx_vec_en=1 -w 0000:05:00.1,txq_inline=147,rx_vec_en=1 -- --mbcache=512 -i --nb- cores=7 --txd=8192 --rxd=8192 --burst=64 EAL: Detected 12 lcore(s) EAL: Detected 2 NUMA nodes EAL: RTE Version: 'DPDK 21.05.0-rc0' Option -w, --pci-whitelist is deprecated, use -a, --allow option instead Option -w, --pci-whitelist is deprecated, use -a, --allow option instead EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' EAL: Probing VFIO support... EAL: VFIO support initialized EAL: Probe PCI driver: mlx5_pci (15b3:101d) device: 0000:05:00.0 (socket 0) mlx5_pci: txq_inline: deprecated parameter, converted to txq_inline_max mlx5_pci: txq_inline: deprecated parameter, converted to txq_inline_max mlx5_pci: Default miss action is not supported. mlx5_pci: Unexpected error in counter offset support detection /* LINE INDICATING ERROR*/ EAL: Probe PCI driver: mlx5_pci (15b3:101d) device: 0000:05:00.1 (socket 0) mlx5_pci: txq_inline: deprecated parameter, converted to txq_inline_max mlx5_pci: txq_inline: deprecated parameter, converted to txq_inline_max mlx5_pci: Default miss action is not supported. mlx5_pci: Unexpected error in counter offset support detection /* LINE INDICATING ERROR*/ Interactive-mode selected testpmd: create a new mbuf pool <mb_pool_0>: n=327680, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc testpmd: create a new mbuf pool <mb_pool_1>: n=327680, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Configuring Port 0 (socket 0) Port 0: 0C:42:A1:D1:D0:64 Configuring Port 1 (socket 0) Port 1: 0C:42:A1:D1:D0:65 Checking link statuses... Done testpmd> two lines indicates errors in counter offset supports detection. [Fix] the issue is fixed with the following upstream commit from v5.5-rc1 which cleanly applied above focal. 208d70f562e5 IB/mlx5: Support flow counters offset for bulk counters Our QA-dpdk team tested the focal kernel with this patch and found no issues. [regression potential] function mlx5_ib devx _is_flow_counter (from the devx interface) signature has changed so anything that uses it like rdma-core might be impacted. Thanks, Amir To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1922494/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp