Re: [dpdk-dev] [PATCH] common/mlx5: fix Netlink port name attribute padding

2021-06-20 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Slava Ovsiienko > Sent: Saturday, June 19, 2021 4:56 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Matan Azrad > ; sta...@dpdk.org > Subject: [PATCH] common/mlx5: fix Netlink port name attribute padding > > On some kernels the string attributes within Ne

Re: [dpdk-dev] [PATCH] common/mlx5: fix Netlink port name attribute padding

2021-06-19 Thread Matan Azrad
From: Slava Ovsiienko > On some kernels the string attributes within Netlink reply messages might be > not padded with zeroes (in cases when string length is aligned with 4-byte > boundary). > This caused wrong physical port names recognition and > mlx5 PMD load failures. > > Fixes: 30a86157f6d

[dpdk-dev] [PATCH] common/mlx5: fix Netlink port name attribute padding

2021-06-19 Thread Viacheslav Ovsiienko
On some kernels the string attributes within Netlink reply messages might be not padded with zeroes (in cases when string length is aligned with 4-byte boundary). This caused wrong physical port names recognition and mlx5 PMD load failures. Fixes: 30a86157f6d5 ("net/mlx5: support PF representor")