Re: [PATCH RFC bpf-next v2 1/5] netlink: specs: Add XDP RX checksum capability to XDP metadata specs

From
Jakub Kicinski <kuba@kernel.org>
Date
2025-09-27 00:35:41
Also in
bpf, intel-wired-lan, linux-kselftest
Reply to
Jesper Dangaard Brouer, 2025-09-26
On Fri, 26 Sep 2025 11:53:25 +0200 Jesper Dangaard Brouer wrote:
quoted
+ * In case of success, ``cksum_meta`` contains the hw computed checksum value
+ * for ``XDP_CHECKSUM_COMPLETE`` or the ``csum_level`` for
+ * ``XDP_CHECKSUM_UNNECESSARY``. It is set to 0 for ``XDP_CHECKSUM_NONE`` and
+ * ``XDP_CHECKSUM_PARTIAL``.
+ *  
It is very important that we explain the meaning of XDP_CHECKSUM_NONE.
As I hinted in other email, this also covers the non-existing FAIL case.
Good idea, perhaps we should add this to the big comment about
checksums in skbuff.h and point to that? Avoid the duplication?
Thread (17 messages) 17 messages, 5 authors, last reply 2026-02-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help