]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5bb8027a4547ae2885c44c8ade9930d77e0abc81
treed548dda11ebf45f143c515fbc291679c3f91584c
parentba5a09afe3cde76e30bb94f75bf8d7dc9654e754
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