Message ID | 20250116021100.2767122-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 2400645F7C; Thu, 16 Jan 2025 03:21:27 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A12BE402A8; Thu, 16 Jan 2025 03:21:26 +0100 (CET) Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.216.63.40]) by mails.dpdk.org (Postfix) with ESMTP id 8DB1240156 for <dev@dpdk.org>; Thu, 16 Jan 2025 03:21:24 +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 4YYRSK2K7Nz8R03d; Thu, 16 Jan 2025 10:21:21 +0800 (CST) Received: from szxlzmapp03.zte.com.cn ([10.5.231.207]) by mse-fl1.zte.com.cn with SMTP id 50G2LDqL020275; Thu, 16 Jan 2025 10:21:13 +0800 (+08) (envelope-from wang.junlong1@zte.com.cn) Received: from localhost.localdomain (unknown [192.168.6.15]) by smtp (Zmail) with SMTP; Sat, 16 Jan 2025 10:21:15 +0800 X-Zmail-TransId: 3e8167886d17002-c66c4 From: Junlong Wang <wang.junlong1@zte.com.cn> To: stephen@networkplumber.org Cc: dev@dpdk.org, Junlong Wang <wang.junlong1@zte.com.cn> Subject: [PATCH v7 00/15] net/zxdh: updated net zxdh driver Date: Thu, 16 Jan 2025 10:10:45 +0800 Message-ID: <20250116021100.2767122-1-wang.junlong1@zte.com.cn> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241210055333.782901-2-wang.junlong1@zte.com.cn> References: <20241210055333.782901-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 50G2LDqL020275 X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 67886D21.001/4YYRSK2K7Nz8R03d 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: updated net zxdh driver
|
|
Message
Junlong Wang
Jan. 16, 2025, 2:10 a.m. UTC
V7: - resolved warning '-Waddress-of-packed-member' in function 'zxdh_dev_rss_reta_update'. V6: - Remove unnecessary __rte_packed in the virtqueue structure and others. - Remove Some blank before or after log message, and remove some end with period in log message. V5: - Simplify the notify_data part in the zxdh_notify_queue function. - Replace rte_zmalloc with rte_calloc in the rss_reta_update function. - Remove unnecessary check in mtu_set function. V4: - resolved ci compile issues. V3: - use rte_zmalloc and rte_calloc to avoid memset. - remove unnecessary initialization, which first usage will set. - adjust some function which is always return 0, changed to void and skip the ASSERTION later. - resolved some WARNING:MACRO_ARG_UNUSED issues. - resolved some other issues. V2: - resolve code style and github-robot build issue. V1: - updated net zxdh driver provided insert/delete/get table code funcs. provided link/mac/vlan/promiscuous/rss/mtu ops. Junlong Wang (15): net/zxdh: zxdh np init implementation net/zxdh: zxdh np uninit implementation net/zxdh: port tables init implementations net/zxdh: port tables unint implementations net/zxdh: rx/tx queue setup and intr enable net/zxdh: dev start/stop ops implementations net/zxdh: provided dev simple tx implementations net/zxdh: provided dev simple rx implementations net/zxdh: link info update, set link up/down net/zxdh: mac set/add/remove ops implementations net/zxdh: promisc/allmulti ops implementations net/zxdh: vlan filter/ offload ops implementations net/zxdh: rss hash config/update, reta update/get net/zxdh: basic stats ops implementations net/zxdh: mtu update ops implementations doc/guides/nics/features/zxdh.ini | 18 + doc/guides/nics/zxdh.rst | 17 + drivers/net/zxdh/meson.build | 4 + drivers/net/zxdh/zxdh_common.c | 28 +- drivers/net/zxdh/zxdh_common.h | 1 + drivers/net/zxdh/zxdh_ethdev.c | 603 +++++++- drivers/net/zxdh/zxdh_ethdev.h | 48 +- drivers/net/zxdh/zxdh_ethdev_ops.c | 1573 +++++++++++++++++++++ drivers/net/zxdh/zxdh_ethdev_ops.h | 80 ++ drivers/net/zxdh/zxdh_msg.c | 205 ++- drivers/net/zxdh/zxdh_msg.h | 232 ++++ drivers/net/zxdh/zxdh_np.c | 2060 ++++++++++++++++++++++++++++ drivers/net/zxdh/zxdh_np.h | 579 ++++++++ drivers/net/zxdh/zxdh_pci.c | 27 +- drivers/net/zxdh/zxdh_pci.h | 9 +- drivers/net/zxdh/zxdh_queue.c | 242 +++- drivers/net/zxdh/zxdh_queue.h | 164 ++- drivers/net/zxdh/zxdh_rxtx.c | 804 +++++++++++ drivers/net/zxdh/zxdh_rxtx.h | 20 +- drivers/net/zxdh/zxdh_tables.c | 794 +++++++++++ drivers/net/zxdh/zxdh_tables.h | 231 ++++ 21 files changed, 7654 insertions(+), 85 deletions(-) create mode 100644 drivers/net/zxdh/zxdh_ethdev_ops.c create mode 100644 drivers/net/zxdh/zxdh_ethdev_ops.h create mode 100644 drivers/net/zxdh/zxdh_np.c create mode 100644 drivers/net/zxdh/zxdh_np.h create mode 100644 drivers/net/zxdh/zxdh_rxtx.c create mode 100644 drivers/net/zxdh/zxdh_tables.c create mode 100644 drivers/net/zxdh/zxdh_tables.h -- 2.27.0