mbox series

[00/36] net/sfc: add EF100 support

Message ID 1602596753-32282-1-git-send-email-arybchenko@solarflare.com (mailing list archive)
Headers
Series net/sfc: add EF100 support |

Message

Andrew Rybchenko Oct. 13, 2020, 1:45 p.m. UTC
  Add Alveo SN1000 SmartNICs family basic support.

Andrew Rybchenko (30):
  doc: fix typo in EF10 Rx equal stride super-buffer name
  doc: avoid references to removed config variables in net/sfc
  common/sfc_efx/base: factor out wrapper to set PHY link
  common/sfc_efx/base: factor out MCDI wrapper to set LEDs
  common/sfc_efx/base: fix PHY config failure on Riverhead
  common/sfc_efx/base: add max number of Rx scatter buffers
  net/sfc: log Rx/Tx doorbell addresses useful for debugging
  net/sfc: add caps to specify if libefx supports Rx/Tx
  net/sfc: add EF100 support
  net/sfc: implement libefx Rx packets event callbacks
  net/sfc: implement libefx Tx descs complete event callbacks
  net/sfc: log DMA allocations addresses
  net/sfc: support datapath logs which may be compiled out
  net/sfc: implement EF100 native Rx datapath
  net/sfc: implement EF100 native Tx datapath
  net/sfc: support multi-segment transmit for EF100 datapath
  net/sfc: support TCP and UDP checksum offloads for EF100
  net/sfc: support IPv4 header checksum offload for EF100 Tx
  net/sfc: support tunnels for EF100 native Tx datapath
  net/sfc: support Tx VLAN insertion offload for EF100
  net/sfc: support Rx checksum offload for EF100
  common/sfc_efx/base: simplify to request Rx prefix fields
  common/sfc_efx/base: provide control to deliver RSS hash
  common/sfc_efx/base: provide helper to check Rx prefix
  net/sfc: map Rx offload RSS hash to corresponding RxQ flag
  net/sfc: support per-queue Rx prefix for EF100
  net/sfc: support per-queue Rx RSS hash offload for EF100
  net/sfc: support user mark and flag Rx for EF100
  net/sfc: add Rx interrupts support for EF100
  doc: advertise Alveo SN1000 SmartNICs family support

Igor Romanov (3):
  net/sfc: check vs maximum number of Rx scatter buffers
  net/sfc: use BAR layout discovery to find control window
  net/sfc: forward function control window offset to datapath

Ivan Malov (3):
  net/sfc: add header segments check for EF100 Tx datapath
  net/sfc: support TSO for EF100 native datapath
  net/sfc: support tunnel TSO for EF100 native Tx datapath

 doc/guides/nics/sfc_efx.rst                   |  45 +-
 drivers/common/sfc_efx/base/ef10_nic.c        |   3 +
 drivers/common/sfc_efx/base/ef10_phy.c        | 134 ++-
 drivers/common/sfc_efx/base/ef10_rx.c         |  45 +-
 drivers/common/sfc_efx/base/efx.h             |  23 +-
 drivers/common/sfc_efx/base/efx_rx.c          |  59 ++
 drivers/common/sfc_efx/base/rhead_nic.c       |   3 +
 drivers/common/sfc_efx/base/rhead_rx.c        |  14 +-
 drivers/common/sfc_efx/base/siena_nic.c       |   1 +
 drivers/common/sfc_efx/efsys.h                |  12 +-
 .../sfc_efx/rte_common_sfc_efx_version.map    |   1 +
 drivers/net/sfc/meson.build                   |   6 +-
 drivers/net/sfc/sfc.c                         |  93 +-
 drivers/net/sfc/sfc.h                         |   2 +
 drivers/net/sfc/sfc_dp.h                      |  10 +
 drivers/net/sfc/sfc_dp_rx.h                   |   6 +-
 drivers/net/sfc/sfc_dp_tx.h                   |  96 +-
 drivers/net/sfc/sfc_ef100.h                   |  63 ++
 drivers/net/sfc/sfc_ef100_rx.c                | 918 +++++++++++++++++
 drivers/net/sfc/sfc_ef100_tx.c                | 965 ++++++++++++++++++
 drivers/net/sfc/sfc_ef10_essb_rx.c            |  34 +-
 drivers/net/sfc/sfc_ef10_rx.c                 |  24 +-
 drivers/net/sfc/sfc_ef10_tx.c                 |   7 +-
 drivers/net/sfc/sfc_ethdev.c                  |  11 +-
 drivers/net/sfc/sfc_ev.c                      |  60 ++
 drivers/net/sfc/sfc_kvargs.h                  |   7 +-
 drivers/net/sfc/sfc_rx.c                      |  42 +-
 drivers/net/sfc/sfc_rx.h                      |   1 +
 drivers/net/sfc/sfc_tx.c                      |  21 +-
 29 files changed, 2578 insertions(+), 128 deletions(-)
 create mode 100644 drivers/net/sfc/sfc_ef100.h
 create mode 100644 drivers/net/sfc/sfc_ef100_rx.c
 create mode 100644 drivers/net/sfc/sfc_ef100_tx.c
  

Comments

Ferruh Yigit Oct. 14, 2020, 10:41 a.m. UTC | #1
On 10/13/2020 2:45 PM, Andrew Rybchenko wrote:
> Add Alveo SN1000 SmartNICs family basic support.
> 
> Andrew Rybchenko (30):
>    doc: fix typo in EF10 Rx equal stride super-buffer name
>    doc: avoid references to removed config variables in net/sfc
>    common/sfc_efx/base: factor out wrapper to set PHY link
>    common/sfc_efx/base: factor out MCDI wrapper to set LEDs
>    common/sfc_efx/base: fix PHY config failure on Riverhead
>    common/sfc_efx/base: add max number of Rx scatter buffers
>    net/sfc: log Rx/Tx doorbell addresses useful for debugging
>    net/sfc: add caps to specify if libefx supports Rx/Tx
>    net/sfc: add EF100 support
>    net/sfc: implement libefx Rx packets event callbacks
>    net/sfc: implement libefx Tx descs complete event callbacks
>    net/sfc: log DMA allocations addresses
>    net/sfc: support datapath logs which may be compiled out
>    net/sfc: implement EF100 native Rx datapath
>    net/sfc: implement EF100 native Tx datapath
>    net/sfc: support multi-segment transmit for EF100 datapath
>    net/sfc: support TCP and UDP checksum offloads for EF100
>    net/sfc: support IPv4 header checksum offload for EF100 Tx
>    net/sfc: support tunnels for EF100 native Tx datapath
>    net/sfc: support Tx VLAN insertion offload for EF100
>    net/sfc: support Rx checksum offload for EF100
>    common/sfc_efx/base: simplify to request Rx prefix fields
>    common/sfc_efx/base: provide control to deliver RSS hash
>    common/sfc_efx/base: provide helper to check Rx prefix
>    net/sfc: map Rx offload RSS hash to corresponding RxQ flag
>    net/sfc: support per-queue Rx prefix for EF100
>    net/sfc: support per-queue Rx RSS hash offload for EF100
>    net/sfc: support user mark and flag Rx for EF100
>    net/sfc: add Rx interrupts support for EF100
>    doc: advertise Alveo SN1000 SmartNICs family support
> 
> Igor Romanov (3):
>    net/sfc: check vs maximum number of Rx scatter buffers
>    net/sfc: use BAR layout discovery to find control window
>    net/sfc: forward function control window offset to datapath
> 
> Ivan Malov (3):
>    net/sfc: add header segments check for EF100 Tx datapath
>    net/sfc: support TSO for EF100 native datapath
>    net/sfc: support tunnel TSO for EF100 native Tx datapath
> 

Series applied to dpdk-next-net/main, thanks.