Skip to content

vxlan: Don't use UDP socket for transmit

Tom Herbert netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 13 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2udp: Do not require sock in udp_tunnel_xmit_skbdrivers/net/vxlan.c include/net/udp_tunnel.h net/ipv4/geneve.c +2 more+29 -260 replies
2/2vxlan: Eliminate dependency on UDP socket in transmit pathdrivers/net/vxlan.c include/net/vxlan.h net/openvswitch/vport-vxlan.c+38 -410 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 net-next 0/2] vxlan: Don't use UDP socket for transmit

UDP socket is not pertinent to transmit for UDP tunnels, checksum enablement can be done without a socket. This patch set eliminates reference to a socket in udp_tunnel_xmit functions and in VXLAN transmit.

Also, make GBP, RCO, can CSUM6_RX flags visible to receive socket and only match these for shareable socket.

v2: Fix geneve to call udp_tunnel_xmit with good arguments.

Tom Herbert (2):
udp: Do not require sock in udp_tunnel_xmit_skb
vxlan: Eliminate dependency on UDP socket in transmit path

 drivers/net/vxlan.c           | 66 +++++++++++++++++++++----------------------
 include/net/udp_tunnel.h      | 16 +++++------
 include/net/vxlan.h           | 13 +++++----
 net/ipv4/geneve.c             |  5 ++--
 net/ipv4/udp_tunnel.c         | 12 ++++----
 net/ipv6/ip6_udp_tunnel.c     | 12 ++++----
 net/openvswitch/vport-vxlan.c |  6 ++--
 7 files changed, 65 insertions(+), 65 deletions(-)
Signature · 1 line
2.2.0.rc0.207.ga3a616c