netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v3 0/2] net: veth: ability to toggle GRO and XDP independently
@ 2024-03-13 18:37 Ignat Korchagin
  2024-03-13 18:37 ` [PATCH net v3 1/2] net: veth: do not manipulate GRO when using XDP Ignat Korchagin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ignat Korchagin @ 2024-03-13 18:37 UTC (permalink / raw)
  To: David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	netdev, linux-kernel
  Cc: kernel-team, Ignat Korchagin

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. udpgro_fwd

Changes in v3:
  * adjust udpgro_fwd selftest to explicitly enable GRO on veth interfaces,
    where it expects GRO to happen

Changes in v2:
  * add Fixes reference to commit description
  * fix commit message spelling

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/udpgro_fwd.sh |  4 ++++
 tools/testing/selftests/net/veth.sh       | 24 ++++++++++++++++++++---
 3 files changed, 25 insertions(+), 21 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2024-03-18 12:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-13 18:37 [PATCH net v3 0/2] net: veth: ability to toggle GRO and XDP independently Ignat Korchagin
2024-03-13 18:37 ` [PATCH net v3 1/2] net: veth: do not manipulate GRO when using XDP Ignat Korchagin
2024-03-13 18:37 ` [PATCH net v3 2/2] selftests: net: veth: test the ability to independently manipulate GRO and XDP Ignat Korchagin
2024-03-18 12:30 ` [PATCH net v3 0/2] net: veth: ability to toggle GRO and XDP independently patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).