Message ID | 20240911020740.3950704-1-wanry@yunsilicon.com (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 C79004595A; Wed, 11 Sep 2024 04:08:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 818E4427A9; Wed, 11 Sep 2024 04:08:07 +0200 (CEST) Received: from lf-1-20.ptr.blmpb.com (lf-1-20.ptr.blmpb.com [103.149.242.20]) by mails.dpdk.org (Postfix) with ESMTP id E5358402DE for <dev@dpdk.org>; Wed, 11 Sep 2024 04:08:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=feishu2403070942; d=yunsilicon.com; t=1726020472; h=from:subject: mime-version:from:date:message-id:subject:to:cc:reply-to:content-type: mime-version:in-reply-to:message-id; bh=S3mMrElXqf+baCZ+2xC/vkMe4s8P4D30PLr7fs7Zp4Y=; b=Ala+OkbKS3xUV+YOPdQ7yfOb/JEzR4Mzlwk/eD9xJGW2tN4VR/8IJ+s9SW56lYW8E201Dq DUorz58XPcgrQlXrozkFQLH1IhlVFcBIAA7WD+O/TjLgpNQ5x5e5OPyezUBp5QNxjX7IbE 6F732aVHJbUz5Aa9iLBITrljqlNkmFZqGkZv33M8Xg3lWdenY4knLV8u0OwCpViTV2VkQ3 F5upGdAc1nMyrj5jw88ZVJu8zEY0aDxq8nRam90y9Bznd6CWCM2/7agle7OzgTbwFX1NrP LqUAfTGQMN0tQNY75PV/oH57BP6WjwX88LMQIqlKRXl6TuLU4IEfA69HOIQQpg== Content-Transfer-Encoding: 7bit X-Original-From: WanRenyong <wanry@yunsilicon.com> To: <dev@dpdk.org> From: "WanRenyong" <wanry@yunsilicon.com> Subject: [PATCH v2 00/19] XSC PMD for Yunsilicon NICs Message-Id: <20240911020740.3950704-1-wanry@yunsilicon.com> X-Lms-Return-Path: <lba+266e0fb77+83f9a9+dpdk.org+wanry@yunsilicon.com> Received: from ubuntu-liun.yunsilicon.com ([58.34.192.114]) by smtp.feishu.cn with ESMTPS; Wed, 11 Sep 2024 10:07:50 +0800 Mime-Version: 1.0 X-Mailer: git-send-email 2.25.1 Content-Type: text/plain; charset=UTF-8 Cc: <ferruh.yigit@amd.com>, <thomas@monjalon.net>, "WanRenyong" <wanry@yunsilicon.com> Date: Wed, 11 Sep 2024 10:07:21 +0800 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 |
XSC PMD for Yunsilicon NICs
|
|
Message
WanRenyong
Sept. 11, 2024, 2:07 a.m. UTC
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 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 --- WanRenyong (19): net/xsc: add doc and minimum build framework net/xsc: add log macro net/xsc: add PCI device probe and remove net/xsc: add xsc device init and uninit net/xsc: add ioctl command interface net/xsc: initialize hardware information net/xsc: add representor ports probe net/xsc: create eth devices for representor ports net/xsc: initial representor eth device net/xsc: add ethdev configure and rxtx queue setup ops net/xsc: add mailbox and structure net/xsc: add ethdev RSS hash ops net/xsc: add ethdev start and stop ops net/xsc: add ethdev Rx burst net/xsc: add ethdev Tx burst net/xsc: configure xsc device hardware table net/xsc: add dev link and MTU ops net/xsc: add dev infos get net/xsc: add dev basic stats ops .mailmap | 4 + MAINTAINERS | 9 + doc/guides/nics/features/xsc.ini | 18 + doc/guides/nics/index.rst | 1 + doc/guides/nics/xsc.rst | 31 + drivers/net/meson.build | 1 + drivers/net/xsc/meson.build | 36 + drivers/net/xsc/xsc_ctrl.c | 64 ++ drivers/net/xsc/xsc_ctrl.h | 314 +++++++ drivers/net/xsc/xsc_defs.h | 61 ++ drivers/net/xsc/xsc_dev.c | 326 +++++++ drivers/net/xsc/xsc_dev.h | 99 +++ drivers/net/xsc/xsc_ethdev.c | 1434 ++++++++++++++++++++++++++++++ drivers/net/xsc/xsc_ethdev.h | 81 ++ drivers/net/xsc/xsc_flow.c | 167 ++++ drivers/net/xsc/xsc_flow.h | 67 ++ drivers/net/xsc/xsc_log.h | 44 + drivers/net/xsc/xsc_rxtx.c | 445 +++++++++ drivers/net/xsc/xsc_rxtx.h | 214 +++++ drivers/net/xsc/xsc_utils.c | 346 +++++++ drivers/net/xsc/xsc_utils.h | 27 + 21 files changed, 3789 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_ctrl.c create mode 100644 drivers/net/xsc/xsc_ctrl.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_flow.c create mode 100644 drivers/net/xsc/xsc_flow.h create mode 100644 drivers/net/xsc/xsc_log.h create mode 100644 drivers/net/xsc/xsc_rxtx.c create mode 100644 drivers/net/xsc/xsc_rxtx.h create mode 100644 drivers/net/xsc/xsc_utils.c create mode 100644 drivers/net/xsc/xsc_utils.h
Comments
On 9/11/2024 3:07 AM, WanRenyong 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 > > 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 > > > --- > WanRenyong (19): > net/xsc: add doc and minimum build framework > net/xsc: add log macro > net/xsc: add PCI device probe and remove > net/xsc: add xsc device init and uninit > net/xsc: add ioctl command interface > net/xsc: initialize hardware information > net/xsc: add representor ports probe > net/xsc: create eth devices for representor ports > net/xsc: initial representor eth device > net/xsc: add ethdev configure and rxtx queue setup ops > net/xsc: add mailbox and structure > net/xsc: add ethdev RSS hash ops > net/xsc: add ethdev start and stop ops > net/xsc: add ethdev Rx burst > net/xsc: add ethdev Tx burst > net/xsc: configure xsc device hardware table > net/xsc: add dev link and MTU ops > net/xsc: add dev infos get > net/xsc: add dev basic stats ops > Hi WanRenyong, Thanks for upstreaming the driver, I did not had a chance to check in detail yet, but when sending next version can you please send patch series as threaded, with following git-send-email arguments: `--thread --no-chain-reply-to` Or this can be added to .gitconfig as documented in [1]. Also there is new PMD upstreaming guide work in progress [2], current version still can be useful, can you please check it. Thanks, ferruh [1] https://old.dpdk.org/dev [2] https://patches.dpdk.org/project/dpdk/patch/20240910145801.46186-1-nandinipersad361@gmail.com/
On 2024/9/11 16:51, Ferruh Yigit wrote: > Hi WanRenyong, > > Thanks for upstreaming the driver, > I did not had a chance to check in detail yet, but when sending next > version can you please send patch series as threaded, with following > git-send-email arguments: > `--thread --no-chain-reply-to` > > Or this can be added to .gitconfig as documented in [1]. > > > Also there is new PMD upstreaming guide work in progress [2], current > version still can be useful, can you please check it. > > Thanks, > ferruh > > > [1] > https://old.dpdk.org/dev > > [2] > https://patches.dpdk.org/project/dpdk/patch/20240910145801.46186-1-nandinipersad361@gmail.com/ Hi, ferruh, Thanks for you reply, I got it. -- Thanks, WanRenyong