]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'vxlan_gso_check'
authorDavid S. Miller <davem@davemloft.net>
Fri, 14 Nov 2014 22:12:55 +0000 (17:12 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Nov 2014 22:12:55 +0000 (17:12 -0500)
commitcb667db29687addbb6360c5f91f89ee9bb242040
treeedfb649922ed5ec03c6bea003857e6f128192a81
parent8be5d63cdc1af280ec32adfd9bd96c3303b6aad8
parent634bccd63cc4d5dfec76690534ad5068e4d6d87c
Merge branch 'vxlan_gso_check'

Joe Stringer says:

====================
Implement ndo_gso_check() for vxlan nics

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 may
differ. This patch series implements a generic ndo_gso_check() for detecting
VXLAN, then reuses it for these NICs.

Implementation shamelessly stolen from Tom Herbert (with minor fixups):
http://thread.gmane.org/gmane.linux.network/332428/focus=333111

v2: Drop i40e/fm10k patches (code diverged; handling separately).
    Refactor common code into vxlan_gso_check() helper.
    Minor style fixes.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>