From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D296546524; Mon, 7 Apr 2025 08:37:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A372940156; Mon, 7 Apr 2025 08:37:04 +0200 (CEST) Received: from zg8tmja5ljk3lje4ms43mwaa.icoremail.net (zg8tmja5ljk3lje4ms43mwaa.icoremail.net [209.97.181.73]) by mails.dpdk.org (Postfix) with ESMTP id 11CE040150 for ; Mon, 7 Apr 2025 08:37:02 +0200 (CEST) Received: from prodtpl.icoremail.net (unknown [10.12.1.20]) by hzbj-icmmx-6 (Coremail) with SMTP id AQAAfwAHaT6KcvNnWRuBEw--.24669S2; Mon, 07 Apr 2025 14:36:58 +0800 (CST) Received: from localhost.localdomain (unknown [218.76.62.144]) by mail (Coremail) with SMTP id AQAAfwBnbYmIcvNnf6BiAA--.4956S3; Mon, 07 Apr 2025 14:36:56 +0800 (CST) From: liwencheng To: dev@dpdk.org Subject: [PATCH v5 0/4] Date: Mon, 7 Apr 2025 06:36:52 +0000 Message-Id: <1744007812-4708-1-git-send-email-liwencheng@phytium.com.cn> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1743577112-119739-1-git-send-email-liwencheng@phytium.com.cn> References: <1743577112-119739-1-git-send-email-liwencheng@phytium.com.cn> X-CM-TRANSID: AQAAfwBnbYmIcvNnf6BiAA--.4956S3 X-CM-SenderInfo: polzv0xfkh0wo6sk53xlxphulrpou0/ Authentication-Results: hzbj-icmmx-6; spf=neutral smtp.mail=liwencheng @phytium.com.cn; X-Coremail-Antispam: 1Uk129KBjvJXoWxXr4xCF47uw4DJw18ArWDurg_yoWrGF4DpF 4jyryavr4UJrW3tw4Sva18ZFyru3WxJryrK343u3s3WF97CFyDJF1jkFWjyr93Ka1UA3W0 vrn0vF13Grn8JaDanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUj1kv1TuYvTs0mT0YCTnIWj DUYxn0WfASr-VFAU7a7-sFnT9fnUUIcSsGvfJ3UbIYCTnIWIevJa73UjIFyTuYvj4RJUUU UUUUU X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org v5: - Putting __rte_unused after the declaration. - Correct RX-bytes and TX-bytes statistics. - Initialize the mbuf_initializer. - Add driver based on 25.07. - Fixed some code style issues. v4: - Fix tab errors in meson.build file. - Use RTE_LOG_LINE instead of rte_log. - Replace %l with %PRI*64. - Replace rte_smp_[r/w]mb with rte_[r/w]mb. - Do not use variadic arguments in macros. - Do not use variable-length array pkts[nb_bufs]. - Use __rte_cache_aligned only for struct or union types alignment. - Support hardware Rx/Tx checksum offload. - Fixed some code style issues. v3: - Changed functions that always return 0 and whose return value is unused to void type, improving code simplicity and readability. - Fixed the implicit conversion issues in the macb_usxgmii_pcs_check_for_link and macb_usxgmii_pcs_check_for_link functions. - Added the missing SPDX license tags. - Added the missing mailmap entry. - Updated the MAINTAINERS file to include the missing information. v2: - Split the driver into three logically independent patches, rather than one large patch. - Added conditional compilation to address the issue of macb_rxtx_vec_neon.c failing to compile in certain modes. - Fixed some code style issues. v1: - updated net macb driver. *** BLURB HERE *** Wencheng Li (4): usertools/dpdk-devbind: add platform devices support net/macb: add new poll mode driver net/macb: add NEON vectorized Rx/Tx net/macb: add necessary docs and update related files .mailmap | 1 + MAINTAINERS | 6 + doc/guides/nics/features/macb.ini | 27 + doc/guides/nics/index.rst | 1 + doc/guides/nics/macb.rst | 26 + doc/guides/rel_notes/release_25_07.rst | 4 + drivers/net/macb/base/generic_phy.c | 271 +++++ drivers/net/macb/base/generic_phy.h | 202 ++++ drivers/net/macb/base/macb_common.c | 670 ++++++++++++ drivers/net/macb/base/macb_common.h | 253 +++++ drivers/net/macb/base/macb_errno.h | 58 + drivers/net/macb/base/macb_hw.h | 1138 +++++++++++++++++++ drivers/net/macb/base/macb_type.h | 23 + drivers/net/macb/base/macb_uio.c | 351 ++++++ drivers/net/macb/base/macb_uio.h | 50 + drivers/net/macb/base/meson.build | 29 + drivers/net/macb/macb_ethdev.c | 1861 ++++++++++++++++++++++++++++++++ drivers/net/macb/macb_ethdev.h | 91 ++ drivers/net/macb/macb_log.h | 19 + drivers/net/macb/macb_rxtx.c | 1394 ++++++++++++++++++++++++ drivers/net/macb/macb_rxtx.h | 325 ++++++ drivers/net/macb/macb_rxtx_vec_neon.c | 675 ++++++++++++ drivers/net/macb/meson.build | 23 + drivers/net/meson.build | 1 + usertools/dpdk-devbind.py | 131 ++- 25 files changed, 7613 insertions(+), 17 deletions(-) create mode 100644 doc/guides/nics/features/macb.ini create mode 100644 doc/guides/nics/macb.rst create mode 100644 drivers/net/macb/base/generic_phy.c create mode 100644 drivers/net/macb/base/generic_phy.h create mode 100644 drivers/net/macb/base/macb_common.c create mode 100644 drivers/net/macb/base/macb_common.h create mode 100644 drivers/net/macb/base/macb_errno.h create mode 100644 drivers/net/macb/base/macb_hw.h create mode 100644 drivers/net/macb/base/macb_type.h create mode 100644 drivers/net/macb/base/macb_uio.c create mode 100644 drivers/net/macb/base/macb_uio.h create mode 100644 drivers/net/macb/base/meson.build create mode 100644 drivers/net/macb/macb_ethdev.c create mode 100644 drivers/net/macb/macb_ethdev.h create mode 100644 drivers/net/macb/macb_log.h create mode 100644 drivers/net/macb/macb_rxtx.c create mode 100644 drivers/net/macb/macb_rxtx.h create mode 100644 drivers/net/macb/macb_rxtx_vec_neon.c create mode 100644 drivers/net/macb/meson.build -- 2.7.4