Message ID | 20241030090124.2540776-1-wang.junlong1@zte.com.cn (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2EDDF45C13; Wed, 30 Oct 2024 10:06:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 19035432E4; Wed, 30 Oct 2024 10:06:04 +0100 (CET) Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.216.63.40]) by mails.dpdk.org (Postfix) with ESMTP id E40B742FB9 for <dev@dpdk.org>; Wed, 30 Oct 2024 10:06:01 +0100 (CET) Received: from mse-fl1.zte.com.cn (unknown [10.5.228.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mxhk.zte.com.cn (FangMail) with ESMTPS id 4Xdh793PLyz8RV8F for <dev@dpdk.org>; Wed, 30 Oct 2024 17:05:57 +0800 (CST) Received: from szxlzmapp01.zte.com.cn ([10.5.231.85]) by mse-fl1.zte.com.cn with SMTP id 49U95buZ007008 for <dev@dpdk.org>; Wed, 30 Oct 2024 17:05:37 +0800 (+08) (envelope-from wang.junlong1@zte.com.cn) Received: from localhost.localdomain (unknown [192.168.6.15]) by smtp (Zmail) with SMTP; Wed, 30 Oct 2024 17:05:40 +0800 X-Zmail-TransId: 3e816721f6df004-b8d31 From: Junlong Wang <wang.junlong1@zte.com.cn> To: dev@dpdk.org Cc: wang.yong19@zte.com.cn, Junlong Wang <wang.junlong1@zte.com.cn> Subject: [PATCH v8 0/9] net/zxdh: introduce net zxdh driver Date: Wed, 30 Oct 2024 17:01:07 +0800 Message-ID: <20241030090124.2540776-1-wang.junlong1@zte.com.cn> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241022122042.2127065-2-wang.junlong1@zte.com.cn> References: <20241022122042.2127065-2-wang.junlong1@zte.com.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: multipart/mixed; boundary="=====_001_next=====" X-MAIL: mse-fl1.zte.com.cn 49U95buZ007008 X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 6721F6F5.001/4Xdh793PLyz8RV8F X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
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