> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Przemek Kitszel > Sent: Wednesday, October 2, 2024 5:20 PM > To: [email protected]; Nguyen, Anthony L > <[email protected]> > Cc: [email protected]; Marcin Szycik <[email protected]>; > Kitszel, Przemyslaw <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next 2/4] ice: split ice_init_hw() out > from ice_init_dev() > > Split ice_init_hw() call out from ice_init_dev(). Such move enables pulling > the former to be even earlier on call path, what would enable moving > ice_adapter init to be between the two (in subsequent commit). > Such move enables ice_adapter to know about number of PFs. > > Do the same for ice_deinit_hw(), so the init and deinit calls could be easily > mirrored. > Next commit will rename unrelated goto labels to unroll prefix. > > Reviewed-by: Marcin Szycik <[email protected]> > Signed-off-by: Przemek Kitszel <[email protected]> > --- > .../net/ethernet/intel/ice/devlink/devlink.c | 10 ++++++++- > drivers/net/ethernet/intel/ice/ice_main.c | 22 +++++++++---------- > 2 files changed, 20 insertions(+), 12 deletions(-) >
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
