net/mlx5: fix reception of multiple MAC addresses
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Thu, 25 Jan 2018 08:22:19 +0000 (09:22 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 29 Jan 2018 09:04:28 +0000 (10:04 +0100)
commit5a29b9a35a7214e2e36764ea67e13d7573eb925a
treeff3bbec839fd44b84f12210c94a443f104566fc7
parentc1236ad7076a6b31f432a15d70b324cf49129b18
net/mlx5: fix reception of multiple MAC addresses

When promiscuous is disabled, adding/removing a mac address is ignored
causing the packet to not be received or still being received corresponding
to the add or remove request.

Fixes: 272733b5ebfd ("net/mlx5: use flow to enable unicast traffic")
Cc: stable@dpdk.org
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_mac.c