BPF List
 help / color / mirror / Atom feed
* [PATCH net v3 0/2] xsk: handle two header issues
@ 2026-11-29 11:10 Jason Xing
  2026-11-29 11:10 ` [PATCH net v3 1/2] net: reset the mac header in __dev_direct_xmit() Jason Xing
  2026-11-29 11:10 ` [PATCH net v3 2/2] xsk: fill in header offsets for TX checksum offload Jason Xing
  0 siblings, 2 replies; 3+ messages in thread
From: Jason Xing @ 2026-11-29 11:10 UTC (permalink / raw)
  To: willemb, magnus.karlsson, maciej.fijalkowski, sdf, bjorn, davem,
	edumazet, kuba, pabeni, horms
  Cc: netdev, bpf, Jason Xing

Cover more potential mac_headers cases in __dev_direct_xmit, including
xsk.

Initialize the metadata of headers in xsk.

---
V3
Link: https://lore.kernel.org/all/20261127105347.72997-1-kerneljasonxing@gmail.com/
1. add Bjorn's R-b tag
2. address Bjorn's and Sashiko's issues - return 0 instead of falling
back to software csum which could lead to bad exceptions like skb drop.

V2
Link: https://lore.kernel.org/all/20261124083520.45547-1-kerneljasonxing@gmail.com/
1. address issues reported by sashiko
2. introduce 0001 patch to prevent the changes from 0002 causing ICE
unintended buggy behavior because of using mac_header in ICE.

Jason Xing (2):
  net: reset the mac header in __dev_direct_xmit()
  xsk: fill in header offsets for TX checksum offload

 net/core/dev.c |  2 ++
 net/xdp/xsk.c  | 51 ++++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 49 insertions(+), 4 deletions(-)

-- 
2.43.7


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-29 11:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-29 11:10 [PATCH net v3 0/2] xsk: handle two header issues Jason Xing
2026-11-29 11:10 ` [PATCH net v3 1/2] net: reset the mac header in __dev_direct_xmit() Jason Xing
2026-11-29 11:10 ` [PATCH net v3 2/2] xsk: fill in header offsets for TX checksum offload Jason Xing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox