Netdev List
 help / color / mirror / Atom feed
From: Koichiro Den <den@valinux.co.jp>
To: Jakub Kicinski <kuba@kernel.org>
Cc: Jon Mason <jdmason@kudzu.us>, Dave Jiang <dave.jiang@intel.com>,
	 Allen Hubbe <allenbh@gmail.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	 "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	 Paolo Abeni <pabeni@redhat.com>,
	ntb@lists.linux.dev, netdev@vger.kernel.org,
	 linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next v3 4/4] net: ntb_netdev: Preserve CHECKSUM_PARTIAL across NTB
Date: Fri, 11 Sep 2026 14:41:35 +0900	[thread overview]
Message-ID: <fdcgcdcqbq32e3evcvpd3qu6dlrulkvbzkcug7omvfttdf4tc7@2wznkntscntd> (raw)
In-Reply-To: <20260910172047.167225eb@kernel.org>

On Thu, Sep 10, 2026 at 05:20:47PM -0700, Jakub Kicinski wrote:
> On Fri,  4 Sep 2026 14:21:34 +0900 Koichiro Den wrote:
> > Calculating L4 checksums can limit ntb_netdev throughput especially on
> > embedded systems, where CPU resources are often limited. A trusted PCIe
> > fabric can avoid that work.
> 
> Would it make more sense to prepend something like a virtio_net_hdr
> to the data so you can cheaply express more offloads?

Thanks for the suggestion. Yes, packing offload metadata into
ntb_payload_header::flags could become limiting in the future. We could prepend
a header like virtio_net_hdr to each packet and use one metadata bit to indicate
its presence.
(BTW, GSO hasn't been the focus here, given the large MTUs NTB can support, but
leaving room for it makes sense.)

Best regards,
Koichiro

  reply	other threads:[~2026-09-11  5:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-04  5:21 [PATCH net-next v3 0/4] net: ntb_netdev: Preserve checksum offload across NTB Koichiro Den
2026-09-04  5:21 ` [PATCH net-next v3 1/4] NTB: ntb_transport: Order RX descriptor reads after completion Koichiro Den
2026-09-04  5:21 ` [PATCH net-next v3 2/4] NTB: ntb_transport: Use little-endian shared fields Koichiro Den
2026-09-04  5:21 ` [PATCH net-next v3 3/4] NTB: ntb_transport: Add per-payload client metadata Koichiro Den
2026-09-09 20:24   ` netdev-bot+sashiko
2026-09-11  0:18   ` Jakub Kicinski
2026-09-11  7:48     ` Koichiro Den
2026-09-04  5:21 ` [PATCH net-next v3 4/4] net: ntb_netdev: Preserve CHECKSUM_PARTIAL across NTB Koichiro Den
2026-09-09 20:24   ` netdev-bot+sashiko
2026-09-11  5:49     ` Koichiro Den
2026-09-11  0:20   ` Jakub Kicinski
2026-09-11  5:41     ` Koichiro Den [this message]
2026-09-11  9:47     ` Paolo Abeni

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=fdcgcdcqbq32e3evcvpd3qu6dlrulkvbzkcug7omvfttdf4tc7@2wznkntscntd \
    --to=den@valinux.co.jp \
    --cc=allenbh@gmail.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=dave.jiang@intel.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=jdmason@kudzu.us \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=ntb@lists.linux.dev \
    --cc=pabeni@redhat.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