mbox series

[v2,net-next,0/5] sfc: add basic flower matches to offload

Message ID cover.1667412458.git.ecree.xilinx@gmail.com (mailing list archive)
Headers show
Series sfc: add basic flower matches to offload | expand

Message

edward.cree@amd.com Nov. 3, 2022, 3:27 p.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 5, 2022, 3:10 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 3 Nov 2022 15:27:26 +0000 you wrote:
> 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).
> 
> [...]

Here is the summary with links:
  - [v2,net-next,1/5] sfc: check recirc_id match caps before MAE offload
    https://git.kernel.org/netdev/net-next/c/f0b59ad11e29
  - [v2,net-next,2/5] sfc: add Layer 2 matches to ef100 TC offload
    https://git.kernel.org/netdev/net-next/c/6d1c604d1098
  - [v2,net-next,3/5] sfc: add Layer 3 matches to ef100 TC offload
    https://git.kernel.org/netdev/net-next/c/c178dff3f92d
  - [v2,net-next,4/5] sfc: add Layer 3 flag matches to ef100 TC offload
    https://git.kernel.org/netdev/net-next/c/5ca7ef293866
  - [v2,net-next,5/5] sfc: add Layer 4 matches to ef100 TC offload
    https://git.kernel.org/netdev/net-next/c/5d1d24da00db

You are awesome, thank you!