mbox

[v7,0/4] net/sfc: support VLAN stripping offload

Message ID 20230622151123.275873-1-artemii.morozov@arknetworks.am (mailing list archive)
Headers

Message

Artemii Morozov June 22, 2023, 3:11 p.m. UTC
  This patch series adds VLAN stripping offload. Note that this
offload are device level offload.

v7:
  * raise an error if there is no callback for efo_get_count
  * fix alignment
  * remove the extra check

v6:
  * highlight that efx_port_vlan_strip_set() must be called before any filter insertion
  * avoid an extra check if offload is not requested

v5:
  * fixed problems with naming
  * fixed problems with abbreviations
  * fixed problems with isolated mode
  * fixed problems with consistency

v4:
  * fix apply patch failure warning

v3:
  * fix apply patch failure warning

v2:
  * rebase patches on top of dpdk-next-net/main

Artemii Morozov (4):
  common/sfc_efx/base: report VLAN stripping capability
  common/sfc_efx/base: add API to get installed filters count
  common/sfc_efx/base: add support to enable VLAN stripping
  net/sfc: support VLAN stripping offload

 doc/guides/nics/sfc_efx.rst               |  4 +--
 doc/guides/rel_notes/release_23_07.rst    |  6 ++++
 drivers/common/sfc_efx/base/ef10_filter.c | 26 +++++++++++++++
 drivers/common/sfc_efx/base/ef10_impl.h   |  6 ++++
 drivers/common/sfc_efx/base/ef10_nic.c    |  6 ++++
 drivers/common/sfc_efx/base/efx.h         | 13 ++++++++
 drivers/common/sfc_efx/base/efx_filter.c  | 32 +++++++++++++++++++
 drivers/common/sfc_efx/base/efx_impl.h    |  8 +++++
 drivers/common/sfc_efx/base/efx_port.c    | 39 +++++++++++++++++++++++
 drivers/common/sfc_efx/base/efx_rx.c      | 14 ++++++++
 drivers/common/sfc_efx/base/rhead_rx.c    |  3 ++
 drivers/common/sfc_efx/base/siena_nic.c   |  1 +
 drivers/common/sfc_efx/version.map        |  1 +
 drivers/net/sfc/sfc.h                     |  1 +
 drivers/net/sfc/sfc_dp_rx.h               |  1 +
 drivers/net/sfc/sfc_ef100_rx.c            | 16 +++++++++-
 drivers/net/sfc/sfc_port.c                | 11 +++++++
 drivers/net/sfc/sfc_rx.c                  | 10 ++++++
 18 files changed, 195 insertions(+), 3 deletions(-)