Re: [PATCH net-next v3 4/4] net: ntb_netdev: Preserve CHECKSUM_PARTIAL across NTB
From: Paolo Abeni
Date: Fri Sep 11 2026 - 06:11:56 EST
On 9/11/26 2:20 AM, 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?
FTR, I think it makes sense to consolidate similar code, with one possible
caveat: virtio_net is not spectacularly flexible in term of supporting
"new" stuff: if this use-case would need some special behavior, it could
be problematic.
AFAICS the intended usage is quite basic, so no big surprise expected, and
also I guess that only a serious attempt could tell...
/P