DPDK patches and discussions
 help / color / mirror / Atom feed
From: <wanry@3snic.com>
To: <dev@dpdk.org>
Cc: <ferruh.yigit@amd.com>, Renyong Wan <wanry@3snic.com>
Subject: [PATCH v3 00/32] Introduce sssnic PMD for 3SNIC's 9x0 serials Ethernet adapters
Date: Fri, 1 Sep 2023 11:28:10 +0800	[thread overview]
Message-ID: <20230901032842.223547-1-wanry@3snic.com> (raw)

From: Renyong Wan <wanry@3snic.com>

The sssnic PMD (**librte_pmd_sssnic**) provides poll mode driver support
for 3SNIC 9x0 serials family of Ethernet adapters.

Supported NICs are:

- 3S910 Dual Port SFP28 10/25GbE Ethernet adapter
- 3S920 Quad Port SFP28 10/25GbE Ethernet adapter
- 3S920 Quad Port QSFP28 100GbE Ethernet adapter

Features of sssnic PMD are:

- Link status
- Link status event
- Queue start/stop
- Rx interrupt
- Scattered Rx
- TSO
- LRO
- Promiscuous mode
- Allmulticast mode
- Unicast MAC filter
- Multicast MAC filte
- RSS hash
- RSS key update
- RSS reta update
- Inner RSS
- VLAN filter
- VLAN offload
- L3 checksum offload
- L4 checksum offload
- Inner L3 checksum
- Inner L4 checksum
- Basic stats
- Extended stats
- Stats per queue
- Flow control
- FW version
- Generic flow API

---
v2:
* Fixed 'Title underline too short' in doc/guides/nics/sssnic.rst.
* Removed error.h from including files.
* Fixed variable 'cmd_len' is uninitialized when used.
* Fixed 'EINVAL' undeclared.
* Fixed wrong format of printing uint64_t.
* Fixed 'mask->hdr.src_addr' will always evaluate to 'true'.

v3:
* Fixed dereferencing type-punned pointer.
---

Renyong Wan (32):
  net/sssnic: add build and doc infrastructure
  net/sssnic: add log type and log macros
  net/sssnic: support probe and remove
  net/sssnic: initialize hardware base
  net/sssnic: add event queue
  net/sssnic/base: add message definition and utility
  net/sssnic/base: add mailbox support
  net/sssnic/base: add work queue
  net/sssnic/base: add control queue
  net/sssnic: add dev configure and infos get
  net/sssnic: add dev MAC ops
  net/sssnic: support dev link status
  net/sssnic: support link status event
  net/sssnic: support Rx queue setup and release
  net/sssnic: support Tx queue setup and release
  net/sssnic: support Rx queue start and stop
  net/sssnic: support Tx queue start and stop
  net/sssnic: add Rx interrupt support
  net/sssnic: support dev start and stop
  net/sssnic: support dev close and reset
  net/sssnic: add allmulticast and promiscuous ops
  net/sssnic: add basic and extended stats ops
  net/sssnic: support Rx packet burst
  net/sssnic: support Tx packet burst
  net/sssnic: add RSS support
  net/sssnic: support dev MTU set
  net/sssnic: support dev queue info get
  net/sssnic: support dev firmware version get
  net/sssnic: add dev flow control ops
  net/sssnic: support VLAN offload and filter
  net/sssnic: add generic flow ops
  net/sssnic: add VF dev support

 .mailmap                                   |    5 +-
 MAINTAINERS                                |    8 +
 doc/guides/nics/features/sssnic.ini        |   47 +
 doc/guides/nics/index.rst                  |    1 +
 doc/guides/nics/sssnic.rst                 |   73 +
 drivers/net/meson.build                    |    1 +
 drivers/net/sssnic/base/meson.build        |   20 +
 drivers/net/sssnic/base/sssnic_api.c       | 1943 ++++++++++++++++++++
 drivers/net/sssnic/base/sssnic_api.h       |  498 +++++
 drivers/net/sssnic/base/sssnic_cmd.h       |  514 ++++++
 drivers/net/sssnic/base/sssnic_ctrlq.c     |  521 ++++++
 drivers/net/sssnic/base/sssnic_ctrlq.h     |   58 +
 drivers/net/sssnic/base/sssnic_eventq.c    |  455 +++++
 drivers/net/sssnic/base/sssnic_eventq.h    |   84 +
 drivers/net/sssnic/base/sssnic_exception.c |  116 ++
 drivers/net/sssnic/base/sssnic_exception.h |   10 +
 drivers/net/sssnic/base/sssnic_hw.c        |  486 +++++
 drivers/net/sssnic/base/sssnic_hw.h        |  117 ++
 drivers/net/sssnic/base/sssnic_mbox.c      |  615 +++++++
 drivers/net/sssnic/base/sssnic_mbox.h      |   45 +
 drivers/net/sssnic/base/sssnic_misc.h      |   52 +
 drivers/net/sssnic/base/sssnic_msg.c       |  254 +++
 drivers/net/sssnic/base/sssnic_msg.h       |  166 ++
 drivers/net/sssnic/base/sssnic_reg.h       |  267 +++
 drivers/net/sssnic/base/sssnic_workq.c     |  141 ++
 drivers/net/sssnic/base/sssnic_workq.h     |  108 ++
 drivers/net/sssnic/meson.build             |   28 +
 drivers/net/sssnic/sssnic_ethdev.c         | 1139 ++++++++++++
 drivers/net/sssnic/sssnic_ethdev.h         |  102 +
 drivers/net/sssnic/sssnic_ethdev_fdir.c    | 1017 ++++++++++
 drivers/net/sssnic/sssnic_ethdev_fdir.h    |  332 ++++
 drivers/net/sssnic/sssnic_ethdev_flow.c    |  981 ++++++++++
 drivers/net/sssnic/sssnic_ethdev_flow.h    |   11 +
 drivers/net/sssnic/sssnic_ethdev_link.c    |  209 +++
 drivers/net/sssnic/sssnic_ethdev_link.h    |   14 +
 drivers/net/sssnic/sssnic_ethdev_rss.c     |  377 ++++
 drivers/net/sssnic/sssnic_ethdev_rss.h     |   20 +
 drivers/net/sssnic/sssnic_ethdev_rx.c      | 1396 ++++++++++++++
 drivers/net/sssnic/sssnic_ethdev_rx.h      |   50 +
 drivers/net/sssnic/sssnic_ethdev_stats.c   |  414 +++++
 drivers/net/sssnic/sssnic_ethdev_stats.h   |   18 +
 drivers/net/sssnic/sssnic_ethdev_tx.c      | 1123 +++++++++++
 drivers/net/sssnic/sssnic_ethdev_tx.h      |   45 +
 drivers/net/sssnic/sssnic_log.h            |   51 +
 44 files changed, 13929 insertions(+), 3 deletions(-)
 create mode 100644 doc/guides/nics/features/sssnic.ini
 create mode 100644 doc/guides/nics/sssnic.rst
 create mode 100644 drivers/net/sssnic/base/meson.build
 create mode 100644 drivers/net/sssnic/base/sssnic_api.c
 create mode 100644 drivers/net/sssnic/base/sssnic_api.h
 create mode 100644 drivers/net/sssnic/base/sssnic_cmd.h
 create mode 100644 drivers/net/sssnic/base/sssnic_ctrlq.c
 create mode 100644 drivers/net/sssnic/base/sssnic_ctrlq.h
 create mode 100644 drivers/net/sssnic/base/sssnic_eventq.c
 create mode 100644 drivers/net/sssnic/base/sssnic_eventq.h
 create mode 100644 drivers/net/sssnic/base/sssnic_exception.c
 create mode 100644 drivers/net/sssnic/base/sssnic_exception.h
 create mode 100644 drivers/net/sssnic/base/sssnic_hw.c
 create mode 100644 drivers/net/sssnic/base/sssnic_hw.h
 create mode 100644 drivers/net/sssnic/base/sssnic_mbox.c
 create mode 100644 drivers/net/sssnic/base/sssnic_mbox.h
 create mode 100644 drivers/net/sssnic/base/sssnic_misc.h
 create mode 100644 drivers/net/sssnic/base/sssnic_msg.c
 create mode 100644 drivers/net/sssnic/base/sssnic_msg.h
 create mode 100644 drivers/net/sssnic/base/sssnic_reg.h
 create mode 100644 drivers/net/sssnic/base/sssnic_workq.c
 create mode 100644 drivers/net/sssnic/base/sssnic_workq.h
 create mode 100644 drivers/net/sssnic/meson.build
 create mode 100644 drivers/net/sssnic/sssnic_ethdev.c
 create mode 100644 drivers/net/sssnic/sssnic_ethdev.h
 create mode 100644 drivers/net/sssnic/sssnic_ethdev_fdir.c
 create mode 100644 drivers/net/sssnic/sssnic_ethdev_fdir.h
 create mode 100644 drivers/net/sssnic/sssnic_ethdev_flow.c
 create mode 100644 drivers/net/sssnic/sssnic_ethdev_flow.h
 create mode 100644 drivers/net/sssnic/sssnic_ethdev_link.c
 create mode 100644 drivers/net/sssnic/sssnic_ethdev_link.h
 create mode 100644 drivers/net/sssnic/sssnic_ethdev_rss.c
 create mode 100644 drivers/net/sssnic/sssnic_ethdev_rss.h
 create mode 100644 drivers/net/sssnic/sssnic_ethdev_rx.c
 create mode 100644 drivers/net/sssnic/sssnic_ethdev_rx.h
 create mode 100644 drivers/net/sssnic/sssnic_ethdev_stats.c
 create mode 100644 drivers/net/sssnic/sssnic_ethdev_stats.h
 create mode 100644 drivers/net/sssnic/sssnic_ethdev_tx.c
 create mode 100644 drivers/net/sssnic/sssnic_ethdev_tx.h
 create mode 100644 drivers/net/sssnic/sssnic_log.h

-- 
2.27.0


             reply	other threads:[~2023-09-01  3:29 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-01  3:28 wanry [this message]
2023-09-01  3:28 ` [PATCH v3 01/32] net/sssnic: add build and doc infrastructure wanry
2023-09-01  3:28 ` [PATCH v3 02/32] net/sssnic: add log type and log macros wanry
2023-09-01  3:28 ` [PATCH v3 03/32] net/sssnic: support probe and remove wanry
2023-09-01  3:28 ` [PATCH v3 04/32] net/sssnic: initialize hardware base wanry
2023-09-01  3:28 ` [PATCH v3 05/32] net/sssnic: add event queue wanry
2023-09-01  3:28 ` [PATCH v3 06/32] net/sssnic/base: add message definition and utility wanry
2023-09-01  3:28 ` [PATCH v3 07/32] net/sssnic/base: add mailbox support wanry
2023-09-01  3:28 ` [PATCH v3 08/32] net/sssnic/base: add work queue wanry
2023-09-01  3:28 ` [PATCH v3 09/32] net/sssnic/base: add control queue wanry
2023-09-01  3:28 ` [PATCH v3 10/32] net/sssnic: add dev configure and infos get wanry
2023-09-01  3:28 ` [PATCH v3 11/32] net/sssnic: add dev MAC ops wanry
2023-09-01  3:28 ` [PATCH v3 12/32] net/sssnic: support dev link status wanry
2023-09-01  3:28 ` [PATCH v3 13/32] net/sssnic: support link status event wanry
2023-09-01  3:28 ` [PATCH v3 14/32] net/sssnic: support Rx queue setup and release wanry
2023-09-01  3:28 ` [PATCH v3 15/32] net/sssnic: support Tx " wanry
2023-09-01  3:28 ` [PATCH v3 16/32] net/sssnic: support Rx queue start and stop wanry
2023-09-01  3:28 ` [PATCH v3 17/32] net/sssnic: support Tx " wanry
2023-09-01  3:28 ` [PATCH v3 18/32] net/sssnic: add Rx interrupt support wanry
2023-09-01  3:28 ` [PATCH v3 19/32] net/sssnic: support dev start and stop wanry
2023-09-01  3:28 ` [PATCH v3 20/32] net/sssnic: support dev close and reset wanry
2023-09-01  3:28 ` [PATCH v3 21/32] net/sssnic: add allmulticast and promiscuous ops wanry
2023-09-01  3:28 ` [PATCH v3 22/32] net/sssnic: add basic and extended stats ops wanry
2023-09-01  3:28 ` [PATCH v3 23/32] net/sssnic: support Rx packet burst wanry
2023-09-01  3:28 ` [PATCH v3 24/32] net/sssnic: support Tx " wanry
2023-09-01  3:28 ` [PATCH v3 25/32] net/sssnic: add RSS support wanry
2023-09-01  3:28 ` [PATCH v3 26/32] net/sssnic: support dev MTU set wanry
2023-09-01  3:28 ` [PATCH v3 27/32] net/sssnic: support dev queue info get wanry
2023-09-01  3:28 ` [PATCH v3 28/32] net/sssnic: support dev firmware version get wanry
2023-09-01  3:28 ` [PATCH v3 29/32] net/sssnic: add dev flow control ops wanry
2023-09-01  3:28 ` [PATCH v3 30/32] net/sssnic: support VLAN offload and filter wanry
2023-09-01  3:28 ` [PATCH v3 31/32] net/sssnic: add generic flow ops wanry
2023-09-01  3:28 ` [PATCH v3 32/32] net/sssnic: add VF dev support wanry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230901032842.223547-1-wanry@3snic.com \
    --to=wanry@3snic.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).