net/ice/base: fix removing MAC rule
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 23 Mar 2020 07:17:26 +0000 (15:17 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:04 +0000 (13:57 +0200)
commita1f5c1c27ce353be0015b742b9b950316b0c3d4e
tree16f63b86e8fc5d64f904c9539c9decbfaf0a07cb
parenteb433cb20d53c2fbfb2e4ee2a1e648ea7427386e
net/ice/base: fix removing MAC rule

Send correct recp_list to ice_remove_mac_rule. ICE_SW_LKUP_ETHERTYPE
rule list was sent instead of ICE_SW_LKUP_MAC. That caused problem
with adding new mac rule on VF, because rule wasn't removed correctly.

Fixes: c7dd15931183 ("net/ice/base: add virtual switch code")
Cc: stable@dpdk.org
Signed-off-by: Michal Swiatkowski <michal.swiatkowski@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_switch.c