[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1498681802-2897-1-git-send-email-simon.horman@netronome.com>
Date: Wed, 28 Jun 2017 22:29:53 +0200
From: Simon Horman <simon.horman@...ronome.com>
To: David Miller <davem@...emloft.net>,
Jakub Kicinski <jakub.kicinski@...ronome.com>
Cc: netdev@...r.kernel.org, oss-drivers@...ronome.com,
Simon Horman <simon.horman@...ronome.com>
Subject: [PATCH net-next v2 0/9] introduce flower offload capabilities
Hi,
this series adds flower offload to the NFP driver. It builds on recent
work to add representor and a skeleton flower app - now the app does what
its name says.
In general the approach taken is to allow some flows within
the universe of possible flower matches and tc actions to be offloaded.
It is planned that this support will grow over time but the support
offered by this patch-set seems to be a reasonable starting point.
Key Changes since RFC:
* Revised locking scheme for flows
* Make generalise tc_setup NDO
* Addressed other review of RFC
* Dropped RFC designation
Pieter Jansen van Vuuren (7):
nfp: provide infrastructure for offloading flower based TC filters
nfp: extend flower add flow offload
nfp: extend flower matching capabilities
nfp: add basic action capabilities to flower offloads
nfp: add metadata to each flow offload
nfp: add a stats handler for flower offloads
nfp: add control message passing capabilities to flower offloads
Simon Horman (2):
net: switchdev: add SET_SWITCHDEV_OPS helper
nfp: add phys_switch_id support
drivers/net/ethernet/netronome/nfp/Makefile | 6 +-
drivers/net/ethernet/netronome/nfp/flower/action.c | 211 +++++++++
drivers/net/ethernet/netronome/nfp/flower/cmsg.c | 11 +-
drivers/net/ethernet/netronome/nfp/flower/cmsg.h | 202 +++++++++
drivers/net/ethernet/netronome/nfp/flower/main.c | 32 +-
drivers/net/ethernet/netronome/nfp/flower/main.h | 159 +++++++
drivers/net/ethernet/netronome/nfp/flower/match.c | 292 ++++++++++++
.../net/ethernet/netronome/nfp/flower/metadata.c | 497 +++++++++++++++++++++
.../net/ethernet/netronome/nfp/flower/offload.c | 397 ++++++++++++++++
.../net/ethernet/netronome/nfp/nfp_net_common.c | 17 +-
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c | 8 +
drivers/net/ethernet/netronome/nfp/nfp_net_repr.h | 9 +
drivers/net/ethernet/netronome/nfp/nfp_port.c | 43 ++
drivers/net/ethernet/netronome/nfp/nfp_port.h | 8 +
include/net/switchdev.h | 4 +
15 files changed, 1869 insertions(+), 27 deletions(-)
create mode 100644 drivers/net/ethernet/netronome/nfp/flower/action.c
create mode 100644 drivers/net/ethernet/netronome/nfp/flower/main.h
create mode 100644 drivers/net/ethernet/netronome/nfp/flower/match.c
create mode 100644 drivers/net/ethernet/netronome/nfp/flower/metadata.c
create mode 100644 drivers/net/ethernet/netronome/nfp/flower/offload.c
--
2.1.4
Powered by blists - more mailing lists