> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Mateusz Polchlopek > Sent: Friday, April 19, 2024 2:41 PM > To: [email protected] > Cc: [email protected]; Tipireddy, Vaishnavi > <[email protected]>; Nguyen, Anthony L > <[email protected]>; Kitszel, Przemyslaw > <[email protected]>; Polchlopek, Mateusz > <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next v1] ice: refactor struct > ice_vsi_cfg_params to be inside of struct ice_vsi > > Refactor struct ice_vsi_cfg_params to be embedded into struct ice_vsi. > Prior to that the members of the struct were scattered around ice_vsi, and > were copy-pasted for purposes of reinit. > Now we have struct handy, and it is easier to have something sticky in the > flags field. > > Suggested-by: Przemek Kitszel <[email protected]> > Reviewed-by: Przemek Kitszel <[email protected]> > Reviewed-by: Vaishnavi Tipireddy <[email protected]> > Signed-off-by: Mateusz Polchlopek <[email protected]> > --- > .../net/ethernet/intel/ice/devlink/devlink.c | 6 +-- > drivers/net/ethernet/intel/ice/ice.h | 14 ++++--- > drivers/net/ethernet/intel/ice/ice_lib.c | 33 ++++++---------- > drivers/net/ethernet/intel/ice/ice_lib.h | 39 +------------------ > drivers/net/ethernet/intel/ice/ice_main.c | 8 ++-- > drivers/net/ethernet/intel/ice/ice_sriov.c | 2 +- > drivers/net/ethernet/intel/ice/ice_vf_lib.c | 8 ++-- > 7 files changed, 30 insertions(+), 80 deletions(-) >
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
