Skip to content
Commit 354ae5ca authored by Sylwester Dziedziuch's avatar Sylwester Dziedziuch Committed by Greg Kroah-Hartman
Browse files

ice: Fix replacing VF hardware MAC to existing MAC filter

[ Upstream commit ce572a5b ]

VF was not able to change its hardware MAC address in case
the new address was already present in the MAC filter list.
Change the handling of VF add mac request to not return
if requested MAC address is already present on the list
and check if its hardware MAC needs to be updated in this case.

Fixes: ed4c068d

 ("ice: Enable ip link show on the PF to display VF unicast MAC(s)")
Signed-off-by: default avatarSylwester Dziedziuch <sylwesterx.dziedziuch@intel.com>
Tested-by: default avatarTony Brelinski <tony.brelinski@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e04a7a84
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment