Skip to content

macvtap: Add support for offload control

Vlad Yasevich netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2macvtap: Let TUNSETOFFLOAD actually controll offload features.drivers/net/macvlan.c drivers/net/macvtap.c include/linux/if_macvlan.h+50 -112 replies
2/2macvtap: Perform GSO on forwarding path.drivers/net/macvtap.c+25 -14 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] macvtap: Add support for offload control

Currently macvtap does not allow control of offload functionality via TUNSETOFFLOAD ioctl. However, this is the ioctl that qemu uses when attempting to control offload functionality. This patch series adds the ability to control offloads via the ioctl above.

It also adds necessary code to macvtap to perform segmentation upon forwarding the packets to tap. This is needed if offloads on the macvtap interface are disabled, but lower-level device still performs GRO.

Vlad Yasevich (2):
macvtap: Let TUNSETOFFLOAD actually controll offload features.
macvtap: Perform GSO on forwarding path.

 drivers/net/macvlan.c      |  9 +++++++
 drivers/net/macvtap.c      | 67 ++++++++++++++++++++++++++++++++++++++++++++--
 include/linux/if_macvlan.h |  1 +
 3 files changed, 75 insertions(+), 2 deletions(-)
Signature · 1 line
1.8.1.4