From: Simon Horman <horms@kernel.org>
To: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Cc: intel-wired-lan@lists.osuosl.org,
Tony Nguyen <anthony.l.nguyen@intel.com>,
netdev@vger.kernel.org, Jacob Keller <jacob.e.keller@intel.com>,
Paul Greenwalt <paul.greenwalt@intel.com>,
Dan Nowlin <dan.nowlin@intel.com>,
Ahmed Zaki <ahmed.zaki@intel.com>,
Michal Swiatkowski <michal.swiatkowski@linux.intel.com>,
Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com>
Subject: Re: [PATCH iwl-next v3 1/2] ice: refactor "last" segment of DDP pkg
Date: Sat, 19 Oct 2024 09:35:02 +0100 [thread overview]
Message-ID: <20241019083502.GJ1697@kernel.org> (raw)
In-Reply-To: <20241018141823.178918-5-przemyslaw.kitszel@intel.com>
On Fri, Oct 18, 2024 at 04:17:36PM +0200, Przemek Kitszel wrote:
> 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>
> ---
> git: --inter-hunk-context=6
>
> v3: added ice_ddp_send_ctx_set_err() to avoid "user" code setting
> the ctx->err directly, fix kdoc warnings, removed redundant
> assignement, typo fix, all thanks to Simon
> v2: fixed one kdoc warning
Thanks for the updates.
Reviewed-by: Simon Horman <horms@kernel.org>
next prev parent reply other threads:[~2024-10-19 8:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-18 14:17 [PATCH iwl-next v3 0/2] Refactor sending DDP + E830 support Przemek Kitszel
2024-10-18 14:17 ` [PATCH iwl-next v3 1/2] ice: refactor "last" segment of DDP pkg Przemek Kitszel
2024-10-19 8:35 ` Simon Horman [this message]
2024-10-18 14:17 ` [PATCH iwl-next v3 2/2] ice: support optional flags in signature segment header Przemek Kitszel
2024-10-19 8:35 ` Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241019083502.GJ1697@kernel.org \
--to=horms@kernel.org \
--cc=ahmed.zaki@intel.com \
--cc=anthony.l.nguyen@intel.com \
--cc=dan.nowlin@intel.com \
--cc=himasekharx.reddy.pucha@intel.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=jacob.e.keller@intel.com \
--cc=michal.swiatkowski@linux.intel.com \
--cc=netdev@vger.kernel.org \
--cc=paul.greenwalt@intel.com \
--cc=przemyslaw.kitszel@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).