On Sat, Apr 27, 2024 at 09:26:08AM +0200, Ivan Vecera wrote: > Add helper i40e_vsi_reconfig_tc(vsi) that configures TC > for given VSI using previously stored TC bitmap. > > Effectively replaces open-coded patterns: > > enabled_tc = vsi->tc_config.enabled_tc; > vsi->tc_config.enabled_tc = 0; > i40e_vsi_config_tc(vsi, enabled_tc); > > Reviewed-by: Michal Schmidt <mschm...@redhat.com> > Reviewed-by: Tony Nguyen <anthony.l.ngu...@intel.com> > Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pu...@intel.com> > Signed-off-by: Ivan Vecera <ivec...@redhat.com>
Reviewed-by: Simon Horman <ho...@kernel.org>