mbox

[v6,00/19] net: ngbe PMD

Message ID 20210617110005.4132926-1-jiawenwu@trustnetic.com (mailing list archive)
Headers

Message

Jiawen Wu June 17, 2021, 10:59 a.m. UTC
This patch set provides a skeleton of ngbe PMD,
which adapted to Wangxun WX1860 series NICs.

v6:
- Correct style errors and re-split patches.

v5:
- Extend patches with device initialization and RxTx functions.

v4:
- Fix compile error.

v3:
- Use rte_ether functions to define marcos.

v2:
- Correct some clerical errors.
- Use ethdev debug flags instead of driver own.

Jiawen Wu (19):
  net/ngbe: add build and doc infrastructure
  net/ngbe: support probe and remove
  net/ngbe: add log type and error type
  net/ngbe: define registers
  net/ngbe: set MAC type and LAN ID with device initialization
  net/ngbe: init and validate EEPROM
  net/ngbe: add HW initialization
  net/ngbe: identify PHY and reset PHY
  net/ngbe: store MAC address
  net/ngbe: support link update
  net/ngbe: setup the check PHY link
  net/ngbe: add Rx queue setup and release
  net/ngbe: add Tx queue setup and release
  net/ngbe: add simple Rx flow
  net/ngbe: add simple Tx flow
  net/ngbe: add device start and stop operations
  net/ngbe: add Tx queue start and stop
  net/ngbe: add Rx queue start and stop
  net/ngbe: support to close and reset device

 MAINTAINERS                            |    6 +
 doc/guides/nics/features/ngbe.ini      |   15 +
 doc/guides/nics/index.rst              |    1 +
 doc/guides/nics/ngbe.rst               |   57 +
 doc/guides/rel_notes/release_21_08.rst |    6 +
 drivers/net/meson.build                |    1 +
 drivers/net/ngbe/base/meson.build      |   26 +
 drivers/net/ngbe/base/ngbe.h           |   11 +
 drivers/net/ngbe/base/ngbe_devids.h    |   83 ++
 drivers/net/ngbe/base/ngbe_dummy.h     |  209 ++++
 drivers/net/ngbe/base/ngbe_eeprom.c    |  203 ++++
 drivers/net/ngbe/base/ngbe_eeprom.h    |   17 +
 drivers/net/ngbe/base/ngbe_hw.c        | 1068 +++++++++++++++++
 drivers/net/ngbe/base/ngbe_hw.h        |   59 +
 drivers/net/ngbe/base/ngbe_mng.c       |  198 ++++
 drivers/net/ngbe/base/ngbe_mng.h       |   65 ++
 drivers/net/ngbe/base/ngbe_osdep.h     |  183 +++
 drivers/net/ngbe/base/ngbe_phy.c       |  451 +++++++
 drivers/net/ngbe/base/ngbe_phy.h       |   62 +
 drivers/net/ngbe/base/ngbe_phy_mvl.c   |  251 ++++
 drivers/net/ngbe/base/ngbe_phy_mvl.h   |   97 ++
 drivers/net/ngbe/base/ngbe_phy_rtl.c   |  289 +++++
 drivers/net/ngbe/base/ngbe_phy_rtl.h   |   89 ++
 drivers/net/ngbe/base/ngbe_phy_yt.c    |  272 +++++
 drivers/net/ngbe/base/ngbe_phy_yt.h    |   76 ++
 drivers/net/ngbe/base/ngbe_regs.h      | 1490 ++++++++++++++++++++++++
 drivers/net/ngbe/base/ngbe_status.h    |   73 ++
 drivers/net/ngbe/base/ngbe_type.h      |  204 ++++
 drivers/net/ngbe/meson.build           |   19 +
 drivers/net/ngbe/ngbe_ethdev.c         | 1184 +++++++++++++++++++
 drivers/net/ngbe/ngbe_ethdev.h         |  134 +++
 drivers/net/ngbe/ngbe_logs.h           |   46 +
 drivers/net/ngbe/ngbe_rxtx.c           | 1356 +++++++++++++++++++++
 drivers/net/ngbe/ngbe_rxtx.h           |  302 +++++
 drivers/net/ngbe/version.map           |    3 +
 35 files changed, 8606 insertions(+)
 create mode 100644 doc/guides/nics/features/ngbe.ini
 create mode 100644 doc/guides/nics/ngbe.rst
 create mode 100644 drivers/net/ngbe/base/meson.build
 create mode 100644 drivers/net/ngbe/base/ngbe.h
 create mode 100644 drivers/net/ngbe/base/ngbe_devids.h
 create mode 100644 drivers/net/ngbe/base/ngbe_dummy.h
 create mode 100644 drivers/net/ngbe/base/ngbe_eeprom.c
 create mode 100644 drivers/net/ngbe/base/ngbe_eeprom.h
 create mode 100644 drivers/net/ngbe/base/ngbe_hw.c
 create mode 100644 drivers/net/ngbe/base/ngbe_hw.h
 create mode 100644 drivers/net/ngbe/base/ngbe_mng.c
 create mode 100644 drivers/net/ngbe/base/ngbe_mng.h
 create mode 100644 drivers/net/ngbe/base/ngbe_osdep.h
 create mode 100644 drivers/net/ngbe/base/ngbe_phy.c
 create mode 100644 drivers/net/ngbe/base/ngbe_phy.h
 create mode 100644 drivers/net/ngbe/base/ngbe_phy_mvl.c
 create mode 100644 drivers/net/ngbe/base/ngbe_phy_mvl.h
 create mode 100644 drivers/net/ngbe/base/ngbe_phy_rtl.c
 create mode 100644 drivers/net/ngbe/base/ngbe_phy_rtl.h
 create mode 100644 drivers/net/ngbe/base/ngbe_phy_yt.c
 create mode 100644 drivers/net/ngbe/base/ngbe_phy_yt.h
 create mode 100644 drivers/net/ngbe/base/ngbe_regs.h
 create mode 100644 drivers/net/ngbe/base/ngbe_status.h
 create mode 100644 drivers/net/ngbe/base/ngbe_type.h
 create mode 100644 drivers/net/ngbe/meson.build
 create mode 100644 drivers/net/ngbe/ngbe_ethdev.c
 create mode 100644 drivers/net/ngbe/ngbe_ethdev.h
 create mode 100644 drivers/net/ngbe/ngbe_logs.h
 create mode 100644 drivers/net/ngbe/ngbe_rxtx.c
 create mode 100644 drivers/net/ngbe/ngbe_rxtx.h
 create mode 100644 drivers/net/ngbe/version.map