Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] nfp: flower: add Geneve tunnel support
@ 2017-12-19 16:58 Simon Horman
  2017-12-19 16:58 ` [PATCH net-next 1/4] nfp: flower: remove unused tun_mask variable Simon Horman
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Simon Horman @ 2017-12-19 16:58 UTC (permalink / raw)
  To: David Miller, Jakub Kicinski
  Cc: netdev, oss-drivers, John Hurley, Simon Horman

John Hurley says:

This patchset adds support for offloading the encap and decap of Geneve
tunnels to the NFP. In both cases, specifying well known port 6081 is a
requirement for rule offload.

Geneve firmware support has been recently added, so the patchset includes
the reading of a fw symbol that defines a bitmap of newly supported
features. Geneve will only be offloaded if the fw supports it. The new
symbol is added in fw r5646.

Geneve option fields are not supported as either a match or an action due
there current exclussion from TC flower. Because Geneve (as both a match
and action) behaves the same as other udp tunnels such as VXLAN, generic
functions are created that handle both Geneve and VXLAN. It is anticapated
that these functions will be modified to support options in future
patches.

The removal of an unused variable 'tun_dst_mask' is included as a separate
patch here. This does not affect functionality.

Also included are modifications to the test framework to check that the
new encap and decap features are functioning correctly.

John Hurley (4):
  nfp: flower: remove unused tun_mask variable
  nfp: flower: read extra feature support from fw
  nfp: flower: compile Geneve match fields
  nfp: flower: compile Geneve encap actions

 drivers/net/ethernet/netronome/nfp/flower/action.c | 75 +++++++++++++---------
 drivers/net/ethernet/netronome/nfp/flower/cmsg.h   | 43 +++++++------
 drivers/net/ethernet/netronome/nfp/flower/main.c   | 10 ++-
 drivers/net/ethernet/netronome/nfp/flower/main.h   | 11 +++-
 drivers/net/ethernet/netronome/nfp/flower/match.c  | 58 ++++++++++-------
 .../net/ethernet/netronome/nfp/flower/offload.c    | 37 ++++++++---
 6 files changed, 152 insertions(+), 82 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2017-12-19 19:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-19 16:58 [PATCH net-next 0/4] nfp: flower: add Geneve tunnel support Simon Horman
2017-12-19 16:58 ` [PATCH net-next 1/4] nfp: flower: remove unused tun_mask variable Simon Horman
2017-12-19 16:58 ` [PATCH net-next 2/4] nfp: flower: read extra feature support from fw Simon Horman
2017-12-19 16:58 ` [PATCH net-next 3/4] nfp: flower: compile Geneve match fields Simon Horman
2017-12-19 16:58 ` [PATCH net-next 4/4] nfp: flower: compile Geneve encap actions Simon Horman
2017-12-19 19:58 ` [PATCH net-next 0/4] nfp: flower: add Geneve tunnel support David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox