mbox series

[net-next,v2,0/6] sfc: introduce eth, ipv4 and ipv6 pedit offloads

Message ID 20230824112842.47883-1-pieter.jansen-van-vuuren@amd.com (mailing list archive)
Headers show
Series sfc: introduce eth, ipv4 and ipv6 pedit offloads | expand

Message

Pieter Jansen van Vuuren Aug. 24, 2023, 11:28 a.m. UTC
This set introduces mac source and destination pedit set action offloads.
It also adds offload for ipv4 ttl and ipv6 hop limit pedit set action as
well pedit add actions that would result in the same semantics as
decrementing the ttl and hop limit.

v2:
- fix 'efx_tc_mangle' kdoc which was orphaned when adding 'efx_tc_pedit_add'.
- add description of 'match' in 'efx_tc_mangle' kdoc.
- correct some inconsistent kdoc indentation. 

v1: https://lore.kernel.org/netdev/20230823111725.28090-1-pieter.jansen-van-vuuren@amd.com/

Pieter Jansen van Vuuren (6):
  sfc: introduce ethernet pedit set action infrastructure
  sfc: add mac source and destination pedit action offload
  sfc: add decrement ttl by offloading set ipv4 ttl actions
  sfc: add decrement ipv6 hop limit by offloading set hop limit actions
  sfc: introduce pedit add actions on the ipv4 ttl field
  sfc: extend pedit add action to handle decrement ipv6 hop limit

 drivers/net/ethernet/sfc/mae.c |  89 +++++-
 drivers/net/ethernet/sfc/mae.h |   4 +
 drivers/net/ethernet/sfc/tc.c  | 476 +++++++++++++++++++++++++++++++++
 drivers/net/ethernet/sfc/tc.h  |  58 +++-
 4 files changed, 614 insertions(+), 13 deletions(-)

Comments

Simon Horman Aug. 25, 2023, 10:27 a.m. UTC | #1
On Thu, Aug 24, 2023 at 12:28:36PM +0100, Pieter Jansen van Vuuren wrote:
> This set introduces mac source and destination pedit set action offloads.
> It also adds offload for ipv4 ttl and ipv6 hop limit pedit set action as
> well pedit add actions that would result in the same semantics as
> decrementing the ttl and hop limit.
> 
> v2:
> - fix 'efx_tc_mangle' kdoc which was orphaned when adding 'efx_tc_pedit_add'.
> - add description of 'match' in 'efx_tc_mangle' kdoc.
> - correct some inconsistent kdoc indentation. 
> 
> v1: https://lore.kernel.org/netdev/20230823111725.28090-1-pieter.jansen-van-vuuren@amd.com/
> 
> Pieter Jansen van Vuuren (6):
>   sfc: introduce ethernet pedit set action infrastructure
>   sfc: add mac source and destination pedit action offload
>   sfc: add decrement ttl by offloading set ipv4 ttl actions
>   sfc: add decrement ipv6 hop limit by offloading set hop limit actions
>   sfc: introduce pedit add actions on the ipv4 ttl field
>   sfc: extend pedit add action to handle decrement ipv6 hop limit

For series,

Reviewed-by: Simon Horman <horms@kernel.org>
patchwork-bot+netdevbpf@kernel.org Aug. 27, 2023, 6:02 a.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Thu, 24 Aug 2023 12:28:36 +0100 you wrote:
> This set introduces mac source and destination pedit set action offloads.
> It also adds offload for ipv4 ttl and ipv6 hop limit pedit set action as
> well pedit add actions that would result in the same semantics as
> decrementing the ttl and hop limit.
> 
> v2:
> - fix 'efx_tc_mangle' kdoc which was orphaned when adding 'efx_tc_pedit_add'.
> - add description of 'match' in 'efx_tc_mangle' kdoc.
> - correct some inconsistent kdoc indentation.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/6] sfc: introduce ethernet pedit set action infrastructure
    https://git.kernel.org/netdev/net-next/c/439c4be98318
  - [net-next,v2,2/6] sfc: add mac source and destination pedit action offload
    https://git.kernel.org/netdev/net-next/c/0c676503bd4f
  - [net-next,v2,3/6] sfc: add decrement ttl by offloading set ipv4 ttl actions
    https://git.kernel.org/netdev/net-next/c/66f728872636
  - [net-next,v2,4/6] sfc: add decrement ipv6 hop limit by offloading set hop limit actions
    https://git.kernel.org/netdev/net-next/c/9dbc8d2b9a02
  - [net-next,v2,5/6] sfc: introduce pedit add actions on the ipv4 ttl field
    https://git.kernel.org/netdev/net-next/c/64848f062e33
  - [net-next,v2,6/6] sfc: extend pedit add action to handle decrement ipv6 hop limit
    https://git.kernel.org/netdev/net-next/c/e8e0bd60e483

You are awesome, thank you!