aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorPrzemek Kitszel <przemyslaw.kitszel@intel.com>2024-10-18 16:17:36 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2024-11-13 10:21:24 -0800
commitd6920900398a604841d3662b05c76f5e3317de82 (patch)
treea6ca59a0439afc5eaac460fda7d486c7c83b4069 /drivers/net/ethernet/intel/ice/ice_main.c
parent99dbcab0cdd60e35d9f208b2f7515a19ba523ff6 (diff)
downloadlinux-d6920900398a604841d3662b05c76f5e3317de82.tar.gz
linux-d6920900398a604841d3662b05c76f5e3317de82.tar.bz2
linux-d6920900398a604841d3662b05c76f5e3317de82.zip
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.greenwalt@intel.com> CC: Dan Nowlin <dan.nowlin@intel.com> CC: Ahmed Zaki <ahmed.zaki@intel.com> CC: Simon Horman <horms@kernel.org> Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel) Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions