netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 net 0/4] Implement ndo_gso_check() for vxlan nics
@ 2014-11-14  0:38 Joe Stringer
  2014-11-14  0:38 ` [PATCHv2 net 1/4] net: Add vxlan_gso_check() helper Joe Stringer
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Joe Stringer @ 2014-11-14  0:38 UTC (permalink / raw)
  To: netdev
  Cc: sathya.perla, shahed.shaikh, amirv, Dept-GELinuxNICDev, therbert,
	gerlitz.or, linux-kernel

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.

Joe Stringer (4):
  net: Add vxlan_gso_check() helper
  be2net: Implement ndo_gso_check()
  net/mlx4_en: Implement ndo_gso_check()
  qlcnic: Implement ndo_gso_check()

 drivers/net/ethernet/emulex/benet/be_main.c      |    6 ++++++
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c   |    6 ++++++
 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c |    6 ++++++
 drivers/net/vxlan.c                              |   13 +++++++++++++
 include/net/vxlan.h                              |    2 ++
 5 files changed, 33 insertions(+)

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-11-18  0:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-14  0:38 [PATCHv2 net 0/4] Implement ndo_gso_check() for vxlan nics Joe Stringer
2014-11-14  0:38 ` [PATCHv2 net 1/4] net: Add vxlan_gso_check() helper Joe Stringer
2014-11-16  9:35   ` Or Gerlitz
2014-11-18  0:26     ` Joe Stringer
2014-11-14  0:38 ` [PATCHv2 net 2/4] be2net: Implement ndo_gso_check() Joe Stringer
2014-11-14  9:43   ` Sathya Perla
2014-11-14  0:38 ` [PATCHv2 net 3/4] net/mlx4_en: " Joe Stringer
2014-11-16  9:32   ` Or Gerlitz
2014-11-14  0:38 ` [PATCHv2 net 4/4] qlcnic: " Joe Stringer
2014-11-14  5:08   ` Shahed Shaikh
2014-11-14 22:13 ` [PATCHv2 net 0/4] Implement ndo_gso_check() for vxlan nics David Miller
2014-11-17 17:50   ` Joe Stringer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).