datapath: Account for "vxlan: Eliminate dependency on UDP socket in transmit path"
authorThomas Graf <tgraf@noironetworks.com>
Fri, 6 Feb 2015 20:10:44 +0000 (21:10 +0100)
committerThomas Graf <tgraf@noironetworks.com>
Fri, 6 Feb 2015 20:10:44 +0000 (21:10 +0100)
commit44e1f2a897b8b0fd31846f212aadcf04cef01047
tree333439f1ca47896585b3d21d339f17ce265fe48c
parent0c7930a3651e6cd7479cd24852018cfa7819dd5c
datapath: Account for "vxlan: Eliminate dependency on UDP socket in transmit path"

Excludes VXLAN_F_REMCSUM_TX bits as OVS currently doesn't support it.

Upstream commit:
    vxlan: Eliminate dependency on UDP socket in transmit path

    In the vxlan transmit path there is no need to reference the socket
    for a tunnel which is needed for the receive side. We do, however,
    need the vxlan_dev flags. This patch eliminate references
    to the socket in the transmit path, and changes VXLAN_F_UNSHAREABLE
    to be VXLAN_F_RCV_FLAGS. This mask is used to store the flags
    applicable to receive (GBP, CSUM6_RX, and REMCSUM_RX) in the
    vxlan_sock flags.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Upstream: af33c1adae1e ("vxlan: Eliminate dependency on UDP socket in transmit path")
Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/linux/compat/include/net/vxlan.h
datapath/linux/compat/vxlan.c
datapath/vport-vxlan.c