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 893A5459C7; Wed, 18 Sep 2024 08:10:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B40242E0B; Wed, 18 Sep 2024 08:09:53 +0200 (CEST) Received: from lf-1-37.ptr.blmpb.com (lf-1-37.ptr.blmpb.com [103.149.242.37]) by mails.dpdk.org (Postfix) with ESMTP id 1C84342DB1 for ; Wed, 18 Sep 2024 08:09:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=feishu2403070942; d=yunsilicon.com; t=1726639779; h=from:subject: mime-version:from:date:message-id:subject:to:cc:reply-to:content-type: mime-version:in-reply-to:message-id; bh=s0o2/8cJnaABaxo2KObLiBuFUHue5Cmh5/17mBTlVW8=; b=ZkXKRnMae7j7M0Vh7Gggp/iGGtsQtxAgxUEejXK7jLLNVMTKUyn910uxX+qnHG2mleSNLv ub2O8drLZSaro67SvmQlFAvGf6c3UX1UoVCv4BtYgWmMiS5CB1u1EGJwXhx9WsXDcDkBMU q0vURYpKxdAir2geG2ZOQvc89c5QCPLlMl8yUtDvj8JDtaAK7NUYSQKv+6xnyV+8ecTHe8 VIWKM7ZbP28dodyrrUUDIq/FxMTGcFdguwaVP2u/FX3nXJxEnwJarQQw0qXZ6ejVeRgnOA feqdk0UcSV42NZZMyed+KBuAJ9SJi0JFmM2VGWP9zpb1OqYvFwGj1cbo5IMNag== X-Mailer: git-send-email 2.25.1 From: "WanRenyong" Received: from ubuntu-liun.yunsilicon.com ([58.34.192.114]) by smtp.feishu.cn with ESMTPS; Wed, 18 Sep 2024 14:09:37 +0800 To: Content-Type: text/plain; charset=UTF-8 X-Lms-Return-Path: Subject: [PATCH v3 00/19] XSC PMD for Yunsilicon NICs Date: Wed, 18 Sep 2024 14:09:17 +0800 Message-Id: <20240918060936.1231758-1-wanry@yunsilicon.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Original-From: WanRenyong Cc: , "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 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 --- v3: * fix compilation errors v2: * fix checkpatch warnings and errors --- 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 | 41 + drivers/net/xsc/xsc_ctrl.c | 65 ++ drivers/net/xsc/xsc_ctrl.h | 314 +++++++ drivers/net/xsc/xsc_defs.h | 61 ++ drivers/net/xsc/xsc_dev.c | 327 +++++++ drivers/net/xsc/xsc_dev.h | 99 +++ drivers/net/xsc/xsc_ethdev.c | 1435 ++++++++++++++++++++++++++++++ drivers/net/xsc/xsc_ethdev.h | 81 ++ drivers/net/xsc/xsc_flow.c | 168 ++++ drivers/net/xsc/xsc_flow.h | 67 ++ drivers/net/xsc/xsc_log.h | 46 + drivers/net/xsc/xsc_rxtx.c | 445 +++++++++ drivers/net/xsc/xsc_rxtx.h | 214 +++++ drivers/net/xsc/xsc_utils.c | 338 +++++++ drivers/net/xsc/xsc_utils.h | 27 + 21 files changed, 3792 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 -- 2.25.1