diff options
author | Lihong Yang <lihong.yang@intel.com> | 2020-05-07 17:41:09 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2020-05-21 22:10:04 -0700 |
commit | 757976ab16be0d07e316998182d82ea7fcf561e2 (patch) | |
tree | ae4a9912b4c129a9d15e154adb15b6cad1cb2550 /drivers/net/ethernet/intel/ice/ice_flow.c | |
parent | 1b8f15b64a006b5fbbfbc898c612a48a86fff6de (diff) |
ice: Fix check for removing/adding mac filters
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@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_flow.c')
0 files changed, 0 insertions, 0 deletions