]> 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)
commit14061d223768f8043875b3866ee664fa5da62656
treed548dda11ebf45f143c515fbc291679c3f91584c
parent3231a6ac43a3870753dad385dc7f5aa95a552510
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