netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/5] sfc: add basic flower matches to offload
@ 2022-11-03 15:27 edward.cree
  2022-11-03 15:27 ` [PATCH v2 net-next 1/5] sfc: check recirc_id match caps before MAE offload edward.cree
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: edward.cree @ 2022-11-03 15:27 UTC (permalink / raw)
  To: netdev, linux-net-drivers
  Cc: davem, kuba, pabeni, edumazet, habetsm.xilinx, Edward Cree

From: Edward Cree <ecree.xilinx@gmail.com>

Support offloading TC flower rules with matches on L2-L4 fields.

Changed in v2:
 * changed CHECK macro to not hide control flow.  Annoyingly, gcc complains
   if we don't use the result of the OR-expression we're using to get short-
   circuiting behaviour (ensuring we only report the first error), so we
   have to have an if-statement that's semantically redundant.
 * added explanation to patch #1 of why these checks aren't vital for
   correctness (and thus don't need to have a Fixes tag or go to net).

Edward Cree (5):
  sfc: check recirc_id match caps before MAE offload
  sfc: add Layer 2 matches to ef100 TC offload
  sfc: add Layer 3 matches to ef100 TC offload
  sfc: add Layer 3 flag matches to ef100 TC offload
  sfc: add Layer 4 matches to ef100 TC offload

 drivers/net/ethernet/sfc/mae.c  | 131 ++++++++++++++++++++++++++++++
 drivers/net/ethernet/sfc/mcdi.h |  12 +++
 drivers/net/ethernet/sfc/tc.c   | 137 +++++++++++++++++++++++++++++---
 drivers/net/ethernet/sfc/tc.h   |  16 ++++
 4 files changed, 285 insertions(+), 11 deletions(-)


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

end of thread, other threads:[~2022-11-05  3:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-03 15:27 [PATCH v2 net-next 0/5] sfc: add basic flower matches to offload edward.cree
2022-11-03 15:27 ` [PATCH v2 net-next 1/5] sfc: check recirc_id match caps before MAE offload edward.cree
2022-11-03 15:27 ` [PATCH v2 net-next 2/5] sfc: add Layer 2 matches to ef100 TC offload edward.cree
2022-11-03 15:27 ` [PATCH v2 net-next 3/5] sfc: add Layer 3 " edward.cree
2022-11-03 15:27 ` [PATCH v2 net-next 4/5] sfc: add Layer 3 flag " edward.cree
2022-11-03 15:27 ` [PATCH v2 net-next 5/5] sfc: add Layer 4 " edward.cree
2022-11-05  3:10 ` [PATCH v2 net-next 0/5] sfc: add basic flower matches to offload patchwork-bot+netdevbpf

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