[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZHxIitexswXG7iZQ@corigine.com>
Date: Sun, 4 Jun 2023 10:17:14 +0200
From: Simon Horman <simon.horman@...igine.com>
To: Wojciech Drewek <wojciech.drewek@...el.com>
Cc: intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org,
alexandr.lobakin@...el.com, david.m.ertman@...el.com,
michal.swiatkowski@...ux.intel.com, marcin.szycik@...ux.intel.com,
pawel.chmielewski@...el.com, sridhar.samudrala@...el.com,
pmenzel@...gen.mpg.de, dan.carpenter@...aro.org
Subject: Re: [PATCH iwl-next v4 01/13] ice: Skip adv rules removal upon
switchdev release
On Wed, May 24, 2023 at 02:21:09PM +0200, Wojciech Drewek wrote:
> 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@...gen.mpg.de>
> Signed-off-by: Wojciech Drewek <wojciech.drewek@...el.com>
This looks good to me.
Reviewed-by: Simon Horman <simon.horman@...igine.com>
As a follow-up perhaps ice_rem_adv_rule_for_vsi() can be removed.
It seems to be unused after this patch.
> ---
> drivers/net/ethernet/intel/ice/ice_eswitch.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/intel/ice/ice_eswitch.c b/drivers/net/ethernet/intel/ice/ice_eswitch.c
> index ad0a007b7398..be5b22691f7c 100644
> --- a/drivers/net/ethernet/intel/ice/ice_eswitch.c
> +++ b/drivers/net/ethernet/intel/ice/ice_eswitch.c
> @@ -503,7 +503,6 @@ static void ice_eswitch_disable_switchdev(struct ice_pf *pf)
>
> ice_eswitch_napi_disable(pf);
> ice_eswitch_release_env(pf);
> - ice_rem_adv_rule_for_vsi(&pf->hw, ctrl_vsi->idx);
> ice_eswitch_release_reprs(pf, ctrl_vsi);
> ice_vsi_release(ctrl_vsi);
> ice_repr_rem_from_all_vfs(pf);
> --
> 2.40.1
>
>
Powered by blists - more mailing lists