[PATCH net v2 0/2] net: veth: ability to toggle GRO and XDP independently

From: Ignat Korchagin
Date: Tue Mar 12 2024 - 12:06:25 EST


It is rather confusing that GRO is automatically enabled, when an XDP program
is attached to a veth interface. Moreover, it is not possible to disable GRO
on a veth, if an XDP program is attached (which might be desirable in some use
cases).

Make GRO and XDP independent for a veth interface.

Ignat Korchagin (2):
net: veth: do not manipulate GRO when using XDP
selftests: net: veth: test the ability to independently manipulate GRO
and XDP

drivers/net/veth.c | 18 ------------------
tools/testing/selftests/net/veth.sh | 24 +++++++++++++++++++++---
2 files changed, 21 insertions(+), 21 deletions(-)

--
2.39.2