net/i40e: fix VSI MAC filter on primary address change
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 3 Jan 2018 14:29:23 +0000 (15:29 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit047779508874994fbd905dcc2eeacf78b815e4f4
treee840cd3f4ab4eb6446ba6ee3e8391900257255f0
parentdafadd73762e60e87d284e5e33162f31e4ebf036
net/i40e: fix VSI MAC filter on primary address change

When primary address mac is changed, the mac filters were not updated in
the VSI with the new mac addr and incoming packets with this destination
address are dropped by the hardware filters.

This patch removes the VSI mac filter for the previous mac address and
adds a new one for new mac address.

Fixes: e18e01e92c29 ("i40e: support default MAC address setting")
Cc: stable@dpdk.org
Signed-off-by: Laurent Hardy <laurent.hardy@6wind.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/i40e_ethdev.c