numam-dpdk/drivers/common
Souvik Dey 493f0bb51c common/mlx5: fix storing synced MAC to internal table
As the internal MAC table is divided into Unicast and Multicast address
sections, we should check the type of synced MAC address before storing
it to the internal table. Currently the check is not done, and the
synced MAC of 33:33:00:00:00:01 gets stored in the unicast section
(mostly index 1) causing all subsequent mlx5_set_mc_addr_list()
to fail with error -EADDRINUSE, as the mac_list contains the MAC
33:33:00:00:00:01. This denies adding of any new multicast address to
the internal list and also fails to add the MAC address to the device
in case of SR-IOV VF.

Fixes: f22442cb5d ("net/mlx5: reduce Netlink commands dependencies")
Fixes: ccdcba53a3 ("net/mlx5: use Netlink to add/remove MAC addresses")
Cc: stable@dpdk.org

Signed-off-by: Souvik Dey <sodey@rbbn.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2021-02-04 18:19:37 +01:00
..
cpt common/cpt: remove redundant structure 2020-11-12 21:47:42 +01:00
dpaax crypto/dpaa2_sec: support AES-CMAC integrity check 2021-01-19 18:05:45 +01:00
iavf common/iavf: support VLAN filtering 2021-01-29 18:16:07 +01:00
mlx5 common/mlx5: fix storing synced MAC to internal table 2021-02-04 18:19:37 +01:00
mvep build: force pkg-config for dependency detection 2021-01-26 00:43:59 +01:00
octeontx
octeontx2 net/octeontx_ep: add ethdev probe and remove 2021-01-29 18:16:12 +01:00
qat build: force pkg-config for dependency detection 2021-01-26 00:43:59 +01:00
sfc_efx common/sfc_efx/base: apply mask to value on match field set 2021-01-19 03:30:32 +01:00
meson.build config: remove compatibility build defines 2021-01-20 01:43:25 +01:00