Skip to content

net: veth: ability to toggle GRO and XDP independently

Ignat Korchagin lkml netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesApplied 2/2
  2. v22 patches 6 repliesSuperseded
  3. v11 patch 2 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: veth: do not manipulate GRO when using XDPdrivers/net/veth.c+0 -180 repliesApplied
2/2selftests: net: veth: test the ability to independently manipulate GRO and XDPtools/testing/selftests/net/udpgro_fwd.sh tools/testing/selftests/net/veth.sh+25 -30 repliesApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchToke Høiland-Jørgensen
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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(-)
Signature · 1 line
2.39.2