> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Przemek Kitszel > Sent: Thursday, October 3, 2024 5:41 AM > To: [email protected]; Nguyen, Anthony L > <[email protected]> > Cc: Nowlin, Dan <[email protected]>; Greenwalt, Paul > <[email protected]>; [email protected]; Zaki, Ahmed > <[email protected]>; Kitszel, Przemyslaw <[email protected]>; > Michal Swiatkowski <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next v2 1/2] ice: refactor "last" > segment of DDP pkg > > Add ice_ddp_send_hunk() that buffers "sent FW hunk" calls to AQ in order to > mark the "last" one in more elegant way. Next commit will add even more > complicated "sent FW" flow, so it's better to untangle a bit before. > > Note that metadata buffers were not skipped for NOT-@indicate_last segments, > this is fixed now. > > Minor: > + use ice_is_buffer_metadata() instead of open coding it in > ice_dwnld_cfg_bufs(); > + ice_dwnld_cfg_bufs_no_lock() + dependencies were moved up a bit to have > better git-diff, as this function was rewritten (in terms of git-blame) > > CC: Paul Greenwalt <[email protected]> > CC: Dan Nowlin <[email protected]> > CC: Ahmed Zaki <[email protected]> > Reviewed-by: Michal Swiatkowski <[email protected]> > Signed-off-by: Przemek Kitszel <[email protected]> > --- > git: --inter-hunk-context=6 > > v2: fixed one kdoc warning > --- > drivers/net/ethernet/intel/ice/ice_ddp.c | 280 ++++++++++++----------- > 1 file changed, 145 insertions(+), 135 deletions(-) >
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
