From: Alex Elder <elder@linaro.org>
To: Jakub Kicinski <kuba@kernel.org>
Cc: davem@davemloft.net, evgreen@chromium.org,
cpratapa@codeaurora.org, bjorn.andersson@linaro.org,
subashab@codeaurora.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next 2/2] net: ipa: add support for inline checksum offload
Date: Wed, 2 Dec 2020 07:24:21 -0600 [thread overview]
Message-ID: <cea6a211-dea3-2eae-4f82-eb07c70115a4@linaro.org> (raw)
In-Reply-To: <20201201181319.41091a37@kicinski-fedora-pc1c0hjn.DHCP.thefacebook.com>
On 12/1/20 8:13 PM, Jakub Kicinski wrote:
>> To function, the rmnet driver must also add support for this new
>> "inline" checksum offload. The changes implementing this will be
>> submitted soon.
> We don't usually merge half of a feature. Why not wait until all
> support is in place?
>
> Do I understand right that it's rmnet that will push the csum header?
> This change seems to only reserve space for it and request the feature
> at init..
You are correct. The IPA hardware needs to be programmed to
perform the computation and verify that the checksum in the
header matches what it computes (for AP RX offload), or
insert it into the header (for AP TX offload). That's what
this patch handles.
The RMNet driver is responsible for stripping the offload
header off on RX, and acting on what it says (i.e., whether
hardware is able to state the checksum is good). And on TX
it inserts an offload header that says what to checksum and
where to put it in the packet.
It's totally fine not to merge this until we have the whole
package ready, I understand. I'll see what I can do to get
that done quickly.
Thanks Jakub.
-Alex
prev parent reply other threads:[~2020-12-02 13:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-01 0:41 [PATCH net-next 0/2] net: ipa: IPA v4.5 inline checksum offload Alex Elder
2020-12-01 0:41 ` [PATCH net-next 1/2] if_rmnet.h: define struct rmnet_map_v5_csum_header Alex Elder
2020-12-01 0:41 ` [PATCH net-next 2/2] net: ipa: add support for inline checksum offload Alex Elder
2020-12-02 2:13 ` Jakub Kicinski
2020-12-02 13:24 ` Alex Elder [this message]
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=cea6a211-dea3-2eae-4f82-eb07c70115a4@linaro.org \
--to=elder@linaro.org \
--cc=bjorn.andersson@linaro.org \
--cc=cpratapa@codeaurora.org \
--cc=davem@davemloft.net \
--cc=evgreen@chromium.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=subashab@codeaurora.org \
/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).