Netdev List
 help / color / mirror / Atom feed
* [PATCH net v4 0/2] xsk: handle two header issues
@ 2026-12-01  7:57 Jason Xing
  2026-12-01  7:57 ` [PATCH net v4 1/2] net: reset the mac header in __dev_direct_xmit() Jason Xing
  2026-12-01  7:57 ` [PATCH net v4 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-12-01  7:57 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.

---
V4
Link: https://lore.kernel.org/all/20261129111056.11124-1-kerneljasonxing@gmail.com/#t
1. address Sashiko's reported issue by adding strict check to prevent
   packet being writting a csum value into the wrong place.

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  | 79 +++++++++++++++++++++++++++++++++++++++++++++++---
 2 files changed, 77 insertions(+), 4 deletions(-)

-- 
2.43.7


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

end of thread, other threads:[~2026-12-01  7:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01  7:57 [PATCH net v4 0/2] xsk: handle two header issues Jason Xing
2026-12-01  7:57 ` [PATCH net v4 1/2] net: reset the mac header in __dev_direct_xmit() Jason Xing
2026-12-01  7:57 ` [PATCH net v4 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