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 34DDC4610D; Wed, 29 Jan 2025 14:32:22 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C8B77402AE; Wed, 29 Jan 2025 14:32:21 +0100 (CET) Received: from lf-2-34.ptr.blmpb.com (lf-2-34.ptr.blmpb.com [101.36.218.34]) by mails.dpdk.org (Postfix) with ESMTP id 5BAD640274 for ; Wed, 29 Jan 2025 14:32:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=feishu2403070942; d=yunsilicon.com; t=1738157533; h=from:subject: mime-version:from:date:message-id:subject:to:cc:reply-to:content-type: mime-version:in-reply-to:message-id; bh=TJKYGhzQJO3l+BhGCGvP4hVDzVeEwrwn4a2qs5IH1Hw=; b=SCd+dxgWvQ0dSvbJsBbdNS8cOdxmsegMkLCIdK40sRC27JQDgIBzqi6Cmpzk7skKO80PD6 WTk6Xw2sl3fbuSk/jNfPJI3DUvF4TiKROvorIKwYzNXfKIdJahB/zf1pwOtTnDmUqZtVKb pbAvd0EhUuQIXE8K4LH5V7B3dPmRwDLAOOR7/dAGBjP2NfD+9VGVxjmxxbY0YsqdFXMz0h 4shtIMeitpCbUYPH/2ovlXnfuHW17TsLWjgy7sDwaTuCFrYFBuJJDTLSmIrlUGsc3EHCyk FOkklMED3NM5rnm64QMln0RsBKYyHZ4CrdqRAPAaUhiIu/vHEeX0Me87bO2Lyg== Subject: Re: [PATCH v7 00/15] XSC PMD for Yunsilicon NICs Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 To: "Stephen Hemminger" User-Agent: Mozilla Thunderbird Received: from [127.0.0.1] ([183.216.51.10]) by smtp.feishu.cn with ESMTPS; Wed, 29 Jan 2025 21:32:11 +0800 Cc: , , , , , , , , Date: Wed, 29 Jan 2025 21:32:18 +0800 Message-Id: <6970e3c3-3d0a-41b8-aa08-f317fb1f5fea@yunsilicon.com> References: <20250128144649.1956159-1-wanry@yunsilicon.com> <20250128120102.118e81e6@hermes.local> From: "WanRenyong" In-Reply-To: <20250128120102.118e81e6@hermes.local> X-Lms-Return-Path: Content-Transfer-Encoding: 7bit X-Original-From: WanRenyong 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 On 2025/1/29 4:01, Stephen Hemminger wrote: > On Tue, 28 Jan 2025 22:47:22 +0800 > "Renyong Wan" wrote: > >> This xsc PMD (**librte_net_xsc**) provides poll mode driver for >> Yunsilicon metaScale serials NICs. >> >> Features: >> --------- >> - MTU update >> - TSO >> - RSS hash >> - RSS key update >> - RSS reta update >> - L3 checksum offload >> - L4 checksum offload >> - Inner L3 checksum >> - Inner L4 checksum >> - Basic stats >> - Stats per queue >> >> Support NICs: >> ------------- >> - metaScale-200S Single QSFP56 Port 200GE SmartNIC >> - metaScale-200 Quad QSFP28 Ports 100GE SmartNIC >> - metaScale-50 Dual QSFP28 Port 25GE SmartNIC >> - metaScale-100Q Quad QSFP28 Port 25GE SmartNIC >> >> --- >> >> v7: >> * Remove the packed attributes of sub structures and unions. >> * Remove the cast of xdev->dev_priv. >> * Remove the cast of malloc return value. >> * Define the size of xdev->name to PCI_PRI_STR_SIZE. >> * Change the name of Wanrenyong to Renyong Wan >> >> v6: >> * Remove unnecessary paren. >> * Add the feature of stats per queue in xsc.ini. >> * Use memcpy instead of rte_memcpy in non critical path. >> * Rebase from the main branch and merge release notes. >> * Replace __rte_packed with __rte_packed_begin and __rte_packed_end. >> >> v5: >> * fix compilation errors. >> * fix coding style issue with misspelling. >> * remove some unnecessary parameter checks. >> * remove unnecessary call of rte_wmb. >> * Rearrange elements in structure to avoid holes. >> >> v4: >> * Based on the review comments from previous versions, reconstruct the xsc PMD to eliminate >> the dependency on rdma core library and proprietary kernel driver, while adding support for >> the vfio kernel driver. >> >> v3: >> * fix compilation errors >> >> v2: >> * fix checkpatch warnings and errors >> >> --- >> Renyong Wan (15): >> net/xsc: add xsc PMD framework >> net/xsc: add xsc device initialization >> net/xsc: add xsc mailbox >> net/xsc: add xsc dev ops to support VFIO driver >> net/xsc: add PCT interfaces >> net/xsc: initialize xsc representors >> net/xsc: add ethdev configure and RSS ops >> net/xsc: add Rx and Tx queue setup >> net/xsc: add ethdev start >> net/xsc: add ethdev stop and close >> net/xsc: add ethdev Rx burst >> net/xsc: add ethdev Tx burst >> net/xsc: add basic stats ops >> net/xsc: add ethdev infos get >> net/xsc: add ethdev link and MTU ops >> >> .mailmap | 5 + >> MAINTAINERS | 10 + >> doc/guides/nics/features/xsc.ini | 19 + >> doc/guides/nics/index.rst | 1 + >> doc/guides/nics/xsc.rst | 31 + >> doc/guides/rel_notes/release_25_03.rst | 4 + >> drivers/net/meson.build | 1 + >> drivers/net/xsc/meson.build | 17 + >> drivers/net/xsc/xsc_cmd.h | 387 +++++++++++ >> drivers/net/xsc/xsc_defs.h | 100 +++ >> drivers/net/xsc/xsc_dev.c | 397 +++++++++++ >> drivers/net/xsc/xsc_dev.h | 184 +++++ >> drivers/net/xsc/xsc_ethdev.c | 917 +++++++++++++++++++++++++ >> drivers/net/xsc/xsc_ethdev.h | 63 ++ >> drivers/net/xsc/xsc_log.h | 24 + >> drivers/net/xsc/xsc_np.c | 492 +++++++++++++ >> drivers/net/xsc/xsc_np.h | 154 +++++ >> drivers/net/xsc/xsc_rx.c | 512 ++++++++++++++ >> drivers/net/xsc/xsc_rx.h | 65 ++ >> drivers/net/xsc/xsc_rxtx.h | 191 +++++ >> drivers/net/xsc/xsc_tx.c | 354 ++++++++++ >> drivers/net/xsc/xsc_tx.h | 62 ++ >> drivers/net/xsc/xsc_vfio.c | 746 ++++++++++++++++++++ >> drivers/net/xsc/xsc_vfio_mbox.c | 691 +++++++++++++++++++ >> drivers/net/xsc/xsc_vfio_mbox.h | 142 ++++ >> 25 files changed, 5569 insertions(+) >> create mode 100644 doc/guides/nics/features/xsc.ini >> create mode 100644 doc/guides/nics/xsc.rst >> create mode 100644 drivers/net/xsc/meson.build >> create mode 100644 drivers/net/xsc/xsc_cmd.h >> create mode 100644 drivers/net/xsc/xsc_defs.h >> create mode 100644 drivers/net/xsc/xsc_dev.c >> create mode 100644 drivers/net/xsc/xsc_dev.h >> create mode 100644 drivers/net/xsc/xsc_ethdev.c >> create mode 100644 drivers/net/xsc/xsc_ethdev.h >> create mode 100644 drivers/net/xsc/xsc_log.h >> create mode 100644 drivers/net/xsc/xsc_np.c >> create mode 100644 drivers/net/xsc/xsc_np.h >> create mode 100644 drivers/net/xsc/xsc_rx.c >> create mode 100644 drivers/net/xsc/xsc_rx.h >> create mode 100644 drivers/net/xsc/xsc_rxtx.h >> create mode 100644 drivers/net/xsc/xsc_tx.c >> create mode 100644 drivers/net/xsc/xsc_tx.h >> create mode 100644 drivers/net/xsc/xsc_vfio.c >> create mode 100644 drivers/net/xsc/xsc_vfio_mbox.c >> create mode 100644 drivers/net/xsc/xsc_vfio_mbox.h >> > Did minor conflict resolution on release notes and > applied to dpdk-next-net (for-main). OK, thank you very much Stephen. -- Best regards, WanRenyong