2021-04-04 15:31:28 |
Amir Tzin |
bug |
|
|
added bug |
2021-04-04 15:32:48 |
Amir Tzin |
description |
[impact]
Add Support for flow counters offset for bulk counters on kernel side.
Currently Ubuntu 20.04 has '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.
Thanks,
Amir |
[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.
Thanks,
Amir |
|
2021-04-04 16:00:11 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2021-04-04 16:00:15 |
Ubuntu Kernel Bot |
tags |
|
focal |
|
2021-04-05 14:06:23 |
Tim Gardner |
nominated for series |
|
Ubuntu Focal |
|
2021-04-05 14:06:23 |
Tim Gardner |
bug task added |
|
linux (Ubuntu Focal) |
|
2021-04-05 14:06:32 |
Tim Gardner |
linux (Ubuntu Focal): status |
New |
In Progress |
|
2021-04-05 14:06:39 |
Tim Gardner |
linux (Ubuntu Focal): importance |
Undecided |
Medium |
|
2021-04-05 14:06:43 |
Tim Gardner |
linux (Ubuntu Focal): assignee |
|
Tim Gardner (timg-tpi) |
|
2021-05-20 09:33:48 |
Amir Tzin |
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.
Thanks,
Amir |
[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 |
|
2021-05-20 14:18:29 |
Tim Gardner |
linux (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2021-06-03 03:30:35 |
Ubuntu Kernel Bot |
tags |
focal |
focal verification-needed-focal |
|
2021-06-17 12:26:42 |
Tim Gardner |
tags |
focal verification-needed-focal |
focal verification-done-focal |
|
2021-06-22 16:05:32 |
Launchpad Janitor |
linux (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2021-06-22 16:05:32 |
Launchpad Janitor |
cve linked |
|
2020-24586 |
|
2021-06-22 16:05:32 |
Launchpad Janitor |
cve linked |
|
2020-24587 |
|
2021-06-22 16:05:32 |
Launchpad Janitor |
cve linked |
|
2020-24588 |
|
2021-06-22 16:05:32 |
Launchpad Janitor |
cve linked |
|
2020-26139 |
|
2021-06-22 16:05:32 |
Launchpad Janitor |
cve linked |
|
2020-26141 |
|
2021-06-22 16:05:32 |
Launchpad Janitor |
cve linked |
|
2020-26145 |
|
2021-06-22 16:05:32 |
Launchpad Janitor |
cve linked |
|
2020-26147 |
|
2021-06-22 16:05:32 |
Launchpad Janitor |
cve linked |
|
2021-33200 |
|