summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-10-21 17:25:41 -0700
committerJakub Kicinski <kuba@kernel.org>2026-10-21 17:25:41 -0700
commitd06e106229d6c5af67aed5146c22bdebf6eff0a0 (patch)
tree12f8e171b26d3a0b84a86225afbcec622bc19840 /scripts/Makefile.thinlto
parentb5b8c81836e2bec7b444dfa2b14fd14e912e9d63 (diff)
parenta70575ae9e812908acf658ec785f81daeba1a23b (diff)
downloadlinux-d06e106229d6c5af67aed5146c22bdebf6eff0a0.tar.gz
linux-d06e106229d6c5af67aed5146c22bdebf6eff0a0.zip
Merge branch 'veth-schedule-the-peer-s-napi-after-xdp_tx-when-only-gro-is-enabled'
Tianyi Gao says: ==================== veth: schedule the peer's NAPI after XDP_TX when only GRO is enabled When an XDP program on a veth device returns XDP_TX and the peer has GRO enabled but no XDP program, the frames are queued on the peer's ring, but the peer's NAPI is never scheduled to process them. Once the ring is full, every XDP_TX frame is dropped. Commit 0e672f306a28 ("veth: check for NAPI instead of xdp_prog before xmit of XDP frame") made such a peer work as an XDP_REDIRECT target, where veth_xdp_xmit() both queues the frames and schedules the peer's NAPI. XDP_TX queues its frames through the same function but schedules the NAPI in veth_xdp_flush(), which still checks xdp_prog. The usual workaround is to load a dummy XDP program on the peer [1]. That turns off TSO on the device, and every skb it sends then goes through the peer's XDP path, where most of them are copied. In our tests, TCP sent from a namespace dropped from 22.1 to 14.8 Gbit/s with the dummy program. With this fix the program is no longer needed. Patch 1 makes veth_xdp_flush() check the peer's napi pointer, as veth_xdp_xmit() does. Patch 2 adds a test for this case to veth.sh. ==================== Link: https://patch.msgid.link/20261016214217.16942-1-tianyi@cloudflare.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions