[Intel-wired-lan] [PATCH S41 11/15] ice: Fix check for removing/adding mac filters

Bowers, AndrewX andrewx.bowers at intel.com
Fri May 15 19:46:50 UTC 2020


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Tony Nguyen
> Sent: Thursday, May 7, 2020 5:41 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S41 11/15] ice: Fix check for
> removing/adding mac filters
> 
> From: Lihong Yang <lihong.yang at intel.com>
> 
> In function ice_set_mac_address, we will remove old dev_addr before
> adding the new MAC. In the removing and adding process of the MAC, there
> is no need to return error if the check finds the to-be-removed dev_addr
> does not exist in the MAC filter list or the to-be-added mac already exists,
> keep going or return success accordingly.
> 
> Signed-off-by: Lihong Yang <lihong.yang at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_main.c | 15 ++++++++++-----
>  1 file changed, 10 insertions(+), 5 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list