From patchwork Wed Feb 24 12:42:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 386837 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp341554jap; Wed, 24 Feb 2021 04:43:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnGxRF20Qwe6rPcKQLM5sUqNtXEWwlDsBtQO+6BL6LA2WZBbfXe64bibYR4U6DugLqtI5/ X-Received: by 2002:a17:906:3786:: with SMTP id n6mr16409465ejc.496.1614170599063; Wed, 24 Feb 2021 04:43:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614170599; cv=none; d=google.com; s=arc-20160816; b=lptY2rx1wGyKdmz0uMXYSi5JaHrNVyef0JqCQsc963edxzGBctoDgqJgklsocmzDua /DzsgG8DcbZ8yAd+5iscBMHCzTy8s3WpJlw05c39vDs9SzFAVY+nF4DmY8MIKvMLr7iZ vRh3hQeYEgYCNAfb3aUCKUM1HknT+L03X8e+F1t2wRrcjfi3TYmQ6g/En/jOLVp5z3E5 M84JAHDBovlVihk3UjBSH8wTBteDalFntn0573qztNOzz7c1QSkRl5Eb2C4TM0F1KqFY iIsg/IM5xVqrNL3d9NNU5/jy5ZoTFSwkvPzIH1lPPoRRSPXOSnemmFmRHmskF8TJf+aT UR0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=diDTbbyU5QwJJamjRp5LqYL7kZ6X/ojDpVuSwNrOH14=; b=ndC+Kqe44Xh63+SzX7JFwKKAs/FMqjWrjRiqxnfZm7Ul3vqBUd3FwifDXvqQP1upW3 jDoh5ps8b2QkqTkcBsllhHJaEZvFcsmoSd4DGSsIONX41QI4A9VI2Y1Oo4RTHTohclS1 zeR4NdwvGTyE3v2PnmW/FfFJn1bij2cthtPfvFvbJoDeNnGGF0zIcHTR79vplbdDQThc a5ZZ8hta8ksRxw3KBpUap1IDz4/oueMqo4tAae8X8i4+0qNIDaNHYcOp920g4xAsrpzq 1QNxR3KYtDZlr08vO0XmZNq83PDLqOcyS64+PsChcpBepf2oKLBbYE/G3CipHp+jbwet ShfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 217.70.189.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from mails.dpdk.org (mails.dpdk.org. [217.70.189.124]) by mx.google.com with ESMTP id s21si1227092ejz.213.2021.02.24.04.43.18; Wed, 24 Feb 2021 04:43:19 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 217.70.189.124 as permitted sender) client-ip=217.70.189.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 217.70.189.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5290A4069B; Wed, 24 Feb 2021 13:43:18 +0100 (CET) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by mails.dpdk.org (Postfix) with ESMTP id D279C40042 for ; Wed, 24 Feb 2021 13:43:17 +0100 (CET) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 943AB2005AE; Wed, 24 Feb 2021 13:43:17 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id EDB7120058F; Wed, 24 Feb 2021 13:43:15 +0100 (CET) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 71C63402D6; Wed, 24 Feb 2021 13:43:13 +0100 (CET) From: Hemant Agrawal To: dev@dpdk.org Cc: ferruh.yigit@intel.com Date: Wed, 24 Feb 2021 18:12:48 +0530 Message-Id: <20210224124311.29799-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210211141620.12482-1-hemant.agrawal@nxp.com> References: <20210211141620.12482-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v3 00/23] NXP DPAAx ethernet PMD changes 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 Sender: "dev" This patch series adds changes to dpaaX ethernet pmd 1. Basic Traffic Management support for shaper and scheduler 2. Support external buffer in Transmit side. 3. Optimize the SG packet handling 4. Add support APIs in DPDMUX (SRIOV equivalent for DPAA2) 5. Fix isssues v3: fix spelling issues, add rx buf size support v2: add more patches and add TM documentation Akhil Goyal (1): net/dpaa2: add support for raw pattern in dpdmux Apeksha Gupta (1): net/dpaa2: dpdmux skip reset Gagandeep Singh (1): net/dpaa2: add traffic management driver Hemant Agrawal (11): net/dpaa2: allocate SGT table from first segment net/dpaa: support external buffers in Tx net/dpaa2: add support to configure dpdmux max Rx frame len net/dpaa2: support dpdmux to not drop parse err pkts net/dpaa2: add device args for enable Tx confirmation net/dpaa2: change Tx queue congestion settings mempool/dpaa2: support stats for secondary process bus/dpaa: secondary process init support bus/dpaa: enhance checks for bus and device detection net/dpaa2: add Rx buf size support net/dpaa: add Rx buf size support Nipun Gupta (6): bus/dpaa: fix statistics reading net/dpaa2: support external buffers in Tx net/dpaa2: optionally enable error queues net/dpaa: do not release the cgr ranges net/dpaa: prevent multiple mp config on an device bus/dpaa: support shared ethernet MAC interface Rohit Raj (2): net/dpaa2: fix link get API implementation net/dpaa: fix link get API implementation Youri Querry (1): bus/fslmc: fix to use ci value for qbman 5.0 doc/guides/nics/dpaa2.rst | 130 ++++- drivers/bus/dpaa/base/fman/fman.c | 149 ++++-- drivers/bus/dpaa/base/fman/fman_hw.c | 33 +- drivers/bus/dpaa/dpaa_bus.c | 34 +- drivers/bus/dpaa/include/fsl_fman.h | 1 + drivers/bus/dpaa/version.map | 1 + drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 6 + drivers/bus/fslmc/qbman/qbman_portal.c | 14 +- drivers/mempool/dpaa/dpaa_mempool.c | 1 + drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 8 +- drivers/net/dpaa/dpaa_ethdev.c | 39 +- drivers/net/dpaa/dpaa_rxtx.c | 39 +- drivers/net/dpaa/dpaa_rxtx.h | 8 +- drivers/net/dpaa2/dpaa2_ethdev.c | 145 +++++- drivers/net/dpaa2/dpaa2_ethdev.h | 15 +- drivers/net/dpaa2/dpaa2_mux.c | 111 +++- drivers/net/dpaa2/dpaa2_rxtx.c | 204 +++++++- drivers/net/dpaa2/dpaa2_tm.c | 630 +++++++++++++++++++++++ drivers/net/dpaa2/dpaa2_tm.h | 32 ++ drivers/net/dpaa2/mc/dpdmux.c | 124 ++++- drivers/net/dpaa2/mc/dpni.c | 313 ++++++++++- drivers/net/dpaa2/mc/fsl_dpdmux.h | 157 +++++- drivers/net/dpaa2/mc/fsl_dpdmux_cmd.h | 51 +- drivers/net/dpaa2/mc/fsl_dpni.h | 210 +++++++- drivers/net/dpaa2/mc/fsl_dpni_cmd.h | 59 ++- drivers/net/dpaa2/meson.build | 3 +- drivers/net/dpaa2/rte_pmd_dpaa2.h | 18 +- drivers/net/dpaa2/version.map | 1 + 28 files changed, 2342 insertions(+), 194 deletions(-) create mode 100644 drivers/net/dpaa2/dpaa2_tm.c create mode 100644 drivers/net/dpaa2/dpaa2_tm.h -- 2.17.1