diff options
author | Wojciech Drewek <wojciech.drewek@intel.com> | 2023-07-12 13:03:26 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-07-24 08:52:19 -0700 |
commit | ee95d4420a2f4f02a2bf2b9ff0086ddc31965187 (patch) | |
tree | ee49a781961bb9ecf951e490365e22d0acbc5e43 /drivers/net/ethernet/intel/ice/ice_switch.h | |
parent | 5322a27c0d461ab3938dd513b1672b86ee722da7 (diff) | |
download | linux-stable-ee95d4420a2f4f02a2bf2b9ff0086ddc31965187.tar.gz linux-stable-ee95d4420a2f4f02a2bf2b9ff0086ddc31965187.tar.bz2 linux-stable-ee95d4420a2f4f02a2bf2b9ff0086ddc31965187.zip |
ice: Skip adv rules removal upon switchdev release
Advanced rules for ctrl VSI will be removed anyway when the
VSI will cleaned up, no need to do it explicitly.
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Wojciech Drewek <wojciech.drewek@intel.com>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_switch.h')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_switch.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_switch.h b/drivers/net/ethernet/intel/ice/ice_switch.h index c84b56fe84a5..db08509805ce 100644 --- a/drivers/net/ethernet/intel/ice/ice_switch.h +++ b/drivers/net/ethernet/intel/ice/ice_switch.h @@ -379,7 +379,6 @@ int ice_set_vlan_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask, bool rm_vlan_promisc); -int ice_rem_adv_rule_for_vsi(struct ice_hw *hw, u16 vsi_handle); int ice_rem_adv_rule_by_id(struct ice_hw *hw, struct ice_rule_query_data *remove_entry); |