net/ice/base: refine MAC rule adding
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 10 Aug 2021 02:51:27 +0000 (10:51 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Wed, 11 Aug 2021 02:24:35 +0000 (04:24 +0200)
commit871bda1270bb494ce66ef33934fbe3803c4d452a
treed84a3a95c6578ba8cbefd4b9cb360b0a107a808a
parent8cb3d9dfc6b622387f8ebf632003210eca87e3b9
net/ice/base: refine MAC rule adding

Move replay_pre_init function to interface.
Add further MAC rules, despite unicast address is already on list.

Signed-off-by: Marcin Domagala <marcinx.domagala@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Junfeng Guo <junfeng.guo@intel.com>
drivers/net/ice/base/ice_common.c
drivers/net/ice/base/ice_common.h
drivers/net/ice/base/ice_switch.c