Joe Stringer 23e62de33d net: Add vxlan_gso_check() helper
Most NICs that report NETIF_F_GSO_UDP_TUNNEL support VXLAN, and not
other UDP-based encapsulation protocols where the format and size of the
header differs. This patch implements a generic ndo_gso_check() for
VXLAN which will only advertise GSO support when the skb looks like it
contains VXLAN (or no UDP tunnelling at all).

Implementation shamelessly stolen from Tom Herbert:
http://thread.gmane.org/gmane.linux.network/332428/focus=333111

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-11-14 17:12:48 -05:00
..
2014-10-08 17:37:16 -04:00
2014-11-13 18:07:52 -08:00
2014-10-15 07:23:49 +02:00
2014-10-07 21:29:18 -04:00
2014-11-02 14:45:52 -08:00
2014-11-14 17:12:48 -05:00
2014-10-31 18:48:29 -07:00
2014-10-21 08:17:43 -07:00
2014-10-15 07:23:49 +02:00