mbox series

[v8,0/9] net/zxdh: introduce net zxdh driver

Message ID 20241030090124.2540776-1-wang.junlong1@zte.com.cn (mailing list archive)
Headers
Series net/zxdh: introduce net zxdh driver |

Message

Junlong Wang Oct. 30, 2024, 9:01 a.m. UTC
v8:
  - fix flexible arrays銆乄address-of-packed-member error.
  - all structs銆乪num銆乨efine ,etc use zxdh/ZXDH_ prefixed.
  - use zxdh_try/release_lock,and move loop into zxdh_timedlock,
    make hardware lock follow spinlock pattern.

v7:
  - add release notes and modify zxdh.rst issues.
  - avoid use pthread and use rte_spinlock_lock.
  - using the prefix ZXDH_ before some definitions.
  - resole issues according to thomas's comments.

v6:
  - Resolve ci/intel compilation issues.
  - fix meson.build indentation in earlier patch.

V5:
  - split driver into multiple patches,part of the zxdh driver,
    later provide dev start/stop,queue_setup,npsdk_init,mac,vlan,rss ,etc.
  - fix errors reported by scripts.
  - move the product link in zxdh.rst.
  - fix meson check use RTE_ARCH_X86_64/RTE_ARCH_ARM64.
  - modify other comments according to Ferruh's comments.

Junlong Wang (9):
  net/zxdh: add zxdh ethdev pmd driver
  net/zxdh: add logging implementation
  net/zxdh: add zxdh device pci init implementation
  net/zxdh: add msg chan and msg hwlock init
  net/zxdh: add msg chan enable implementation
  net/zxdh: add zxdh get device backend infos
  net/zxdh: add configure zxdh intr implementation
  net/zxdh: add zxdh dev infos get ops
  net/zxdh: add zxdh dev configure ops

 MAINTAINERS                            |   6 +
 doc/guides/nics/features/zxdh.ini      |   9 +
 doc/guides/nics/index.rst              |   1 +
 doc/guides/nics/zxdh.rst               |  31 +
 doc/guides/rel_notes/release_24_11.rst |   4 +
 drivers/net/meson.build                |   1 +
 drivers/net/zxdh/meson.build           |  22 +
 drivers/net/zxdh/zxdh_common.c         | 385 ++++++++++
 drivers/net/zxdh/zxdh_common.h         |  42 ++
 drivers/net/zxdh/zxdh_ethdev.c         | 994 +++++++++++++++++++++++++
 drivers/net/zxdh/zxdh_ethdev.h         | 104 +++
 drivers/net/zxdh/zxdh_logs.h           |  40 +
 drivers/net/zxdh/zxdh_msg.c            | 985 ++++++++++++++++++++++++
 drivers/net/zxdh/zxdh_msg.h            | 230 ++++++
 drivers/net/zxdh/zxdh_pci.c            | 445 +++++++++++
 drivers/net/zxdh/zxdh_pci.h            | 192 +++++
 drivers/net/zxdh/zxdh_queue.c          | 123 +++
 drivers/net/zxdh/zxdh_queue.h          | 282 +++++++
 drivers/net/zxdh/zxdh_rxtx.h           |  55 ++
 19 files changed, 3951 insertions(+)
 create mode 100644 doc/guides/nics/features/zxdh.ini
 create mode 100644 doc/guides/nics/zxdh.rst
 create mode 100644 drivers/net/zxdh/meson.build
 create mode 100644 drivers/net/zxdh/zxdh_common.c
 create mode 100644 drivers/net/zxdh/zxdh_common.h
 create mode 100644 drivers/net/zxdh/zxdh_ethdev.c
 create mode 100644 drivers/net/zxdh/zxdh_ethdev.h
 create mode 100644 drivers/net/zxdh/zxdh_logs.h
 create mode 100644 drivers/net/zxdh/zxdh_msg.c
 create mode 100644 drivers/net/zxdh/zxdh_msg.h
 create mode 100644 drivers/net/zxdh/zxdh_pci.c
 create mode 100644 drivers/net/zxdh/zxdh_pci.h
 create mode 100644 drivers/net/zxdh/zxdh_queue.c
 create mode 100644 drivers/net/zxdh/zxdh_queue.h
 create mode 100644 drivers/net/zxdh/zxdh_rxtx.h

-- 
2.27.0