mbox series

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

Message ID 20230823111725.28090-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. 23, 2023, 11:17 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.

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  | 474 +++++++++++++++++++++++++++++++++
 drivers/net/ethernet/sfc/tc.h  |  58 +++-
 4 files changed, 612 insertions(+), 13 deletions(-)