netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] nfp: add and use tunnel netdev helpers
@ 2018-11-07 18:32 John Hurley
  2018-11-07 18:32 ` [PATCH net-next 1/3] net: add netif_is_geneve() John Hurley
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: John Hurley @ 2018-11-07 18:32 UTC (permalink / raw)
  To: netdev, davem, oss-drivers, jakub.kicinski; +Cc: John Hurley

A recent patch introduced the function netif_is_vxlan() to verify the
tunnel type of a given netdev as vxlan.

Add a similar function to detect geneve netdevs and make use of this
function in the NFP driver. Also make use of the vxlan helper where
applicable.

John Hurley (3):
  net: add netif_is_geneve()
  nfp: flower: use geneve and vxlan helpers
  nfp: flower: include geneve as supported offload tunnel type

 drivers/net/ethernet/netronome/nfp/flower/action.c      | 8 +++-----
 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c | 2 ++
 include/net/geneve.h                                    | 6 ++++++
 3 files changed, 11 insertions(+), 5 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2018-11-08 16:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-07 18:32 [PATCH net-next 0/3] nfp: add and use tunnel netdev helpers John Hurley
2018-11-07 18:32 ` [PATCH net-next 1/3] net: add netif_is_geneve() John Hurley
2018-11-07 18:32 ` [PATCH net-next 2/3] nfp: flower: use geneve and vxlan helpers John Hurley
2018-11-07 18:32 ` [PATCH net-next 3/3] nfp: flower: include geneve as supported offload tunnel type John Hurley
2018-11-08  7:00 ` [PATCH net-next 0/3] nfp: add and use tunnel netdev helpers David Miller

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).