summaryrefslogtreecommitdiff
path: root/net/openvswitch/vport-vxlan.c
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2014-07-02 08:32:39 +0400
committerDavid S. Miller <davem@davemloft.net>2014-07-08 08:14:21 +0400
commitb8f1a55639e6a76cfd274cc7de76eafac9a15ca9 (patch)
treef2c030ea28fc30a42f740b9ac4da0edc32924831 /net/openvswitch/vport-vxlan.c
parent0e001614e849b68cff94cda8db8b550569d3dba6 (diff)
downloadlinux-b8f1a55639e6a76cfd274cc7de76eafac9a15ca9.tar.xz
udp: Add function to make source port for UDP tunnels
This patch adds udp_flow_src_port function which is intended to be a common function that UDP tunnel implementations call to set the source port. The source port is chosen so that a hash over the outer headers (IP addresses and UDP ports) acts as suitable hash for the flow of the encapsulated packet. In this manner, UDP encapsulation works with RSS and ECMP based wrt the inner flow. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/vport-vxlan.c')
0 files changed, 0 insertions, 0 deletions