> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-boun...@osuosl.org> On Behalf Of > Przemek Kitszel > Sent: Thursday, October 3, 2024 5:41 AM > To: intel-wired-...@lists.osuosl.org; Nguyen, Anthony L > <anthony.l.ngu...@intel.com> > Cc: Nowlin, Dan <dan.now...@intel.com>; Greenwalt, Paul > <paul.greenw...@intel.com>; net...@vger.kernel.org; Zaki, Ahmed > <ahmed.z...@intel.com>; Kitszel, Przemyslaw <przemyslaw.kits...@intel.com>; > Michal Swiatkowski <michal.swiatkow...@linux.intel.com> > 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 <paul.greenw...@intel.com> > CC: Dan Nowlin <dan.now...@intel.com> > CC: Ahmed Zaki <ahmed.z...@intel.com> > Reviewed-by: Michal Swiatkowski <michal.swiatkow...@linux.intel.com> > Signed-off-by: Przemek Kitszel <przemyslaw.kits...@intel.com> > --- > 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 <himasekharx.reddy.pu...@intel.com> (A Contingent worker at Intel)