Re: [PATCH RFC net-next 0/4] xdp: reuse generic skb XDP handling for veth

From
Jakub Kicinski <kuba@kernel.org>
Date
2026-05-15 00:54:18
Also in
bpf
Reply to
Maciej Fijalkowski, 2026-05-09
On Sat,  9 May 2026 10:48:54 +0200 Maciej Fijalkowski wrote:
  - the INDIRECT_CALL for taking the COW path; I wanted to preserve
    existing behavior, but is it really needed or maybe it would be
    possible to come up with conditions that would cover both generic
    XDP path and veth?
Yes, the conditions are almost identical. 
I think we can OR them all together (removing dups like 
skb_head_is_locked() + cloned; skb_shinfo(skb)->nr_frags
and skb_is_nonlinear()
Thread (16 messages) 16 messages, 4 authors, last reply 2026-05-28
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