vxlan: allow configuring port range
authorstephen hemminger <shemminger@vyatta.com>
Tue, 9 Oct 2012 20:35:50 +0000 (20:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2012 02:41:21 +0000 (22:41 -0400)
commit05f47d69c44902c265dc2ad5a960978a97b45e3d
treed548dda11ebf45f143c515fbc291679c3f91584c
parent1cad87156b3e79d25731cdcbfa9e149bf3e08f60
vxlan: allow configuring port range

VXLAN bases source UDP port based on flow to help the
receiver to be able to load balance based on outer header flow.

This patch restricts the port range to the normal UDP local
ports, and allows overriding via configuration.

It also uses jhash of Ethernet header when looking at flows
with out know L3 header.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c
include/linux/if_link.h