dpdk-fm10k/drivers
Shiri Kuzin 4a01fa047b common/mlx5: fix MAC addresses flush
mlx5_nl_mac_addr_flush should flush all allocated MAC
addresses.

The MAC addresses array size should be of size
MLX5_MAX_MAC_ADDRESSES, but currently we return without
flushing the addresses if size is MLX5_MAX_MAC_ADDRESSES.

This was fixed by not allowing an array larger than
MLX5_MAX_MAC_ADDRESSES.

Fixes: e9a8ac59b6 ("common/mlx5: fix MAC addresses assert")
Cc: stable@dpdk.org

Signed-off-by: Shiri Kuzin <shirik@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2020-07-30 00:41:24 +02:00
..
baseband log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
bus bus/vmbus: use SMP memory barrier for signaling read 2020-07-29 16:17:54 +02:00
common common/mlx5: fix MAC addresses flush 2020-07-30 00:41:24 +02:00
compress common/qat: remove unused fields 2020-07-28 22:09:22 +02:00
crypto crypto/armv8: remove redundant assert definition 2020-07-28 22:09:22 +02:00
event event/dpaa2: add all-types queue capability flag 2020-07-24 07:22:41 +02:00
mempool mempool/ring: support RTS and HTS ring modes 2020-07-21 19:20:00 +02:00
net common/mlx5: fix user mode register access command 2020-07-30 00:41:24 +02:00
raw raw/ifpga/base: fix NIOS SPI init 2020-07-22 00:42:11 +02:00
regex regex/mlx5: fix overrun on enqueueing 2020-07-29 16:49:58 +02:00
vdpa vdpa/ifc: support vring update after device config 2020-07-30 00:41:23 +02:00
Makefile common/mlx5: introduce layer for multiple class drivers 2020-07-28 19:01:11 +02:00
meson.build common/mlx5: introduce layer for multiple class drivers 2020-07-28 19:01:11 +02:00