> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of Ivan > Vecera > Sent: Wednesday, March 27, 2024 1:28 PM > To: [email protected] > Cc: [email protected]; [email protected]; Loktionov, > Aleksandr <[email protected]>; [email protected]; Nguyen, > Anthony L <[email protected]>; [email protected]; [email protected]; > [email protected] > Subject: [Intel-wired-lan] [PATCH iwl-next v2 7/7] i40e: Add and use helper > to reconfigure TC for given VSI > > 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 <[email protected]> > Signed-off-by: Ivan Vecera <[email protected]> > --- > drivers/net/ethernet/intel/i40e/i40e_main.c | 31 +++++++++++++++------ > 1 file changed, 23 insertions(+), 8 deletions(-) >
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
