Message ID | 20240926160158.3206321-1-ndabilpuram@marvell.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 F20B545A3A; Thu, 26 Sep 2024 18:02:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8D9FE40672; Thu, 26 Sep 2024 18:02:08 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id C0F0D4042E for <dev@dpdk.org>; Thu, 26 Sep 2024 18:02:07 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 48QAWb9U012420 for <dev@dpdk.org>; Thu, 26 Sep 2024 09:02:07 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pfpt0220; bh=o koBe+ipxSJ6bSCwpWL7l8i0Ql4joOI8ZPPhoYyA1/Y=; b=MMBedIm2xA6XcSpgG ujlKdFq/lo6P77B1/vGLXSoMZl7y+kfJbaJaHyvVBjvVRsXCInln20HO1928lWQK uCVSx8P53rHuJUvh57Q/49lfRc8yGXkZWeMGRb+QnCejf2VDcKJXMDF8oMdaZRwf jGdhrzKjvhuAS7QwT+NnfTNyeWL12QhFXbudF/rFAArHVB4AK5n+OhzNjs/q+HjK /203ylVKa8qPKCIxJu5H+x0/oI+8it72cCH04r43OAzfhyIHzH6ZIP843ytSUAwi WweZcr78+cGnsjWeVxrWu2IB6p1oWv636bMhY04IkGT8Xn1wdgZzw2iUAWF1Uiru dc+AQ== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 41w5xyscmg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <dev@dpdk.org>; Thu, 26 Sep 2024 09:02:06 -0700 (PDT) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Thu, 26 Sep 2024 09:02:05 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Thu, 26 Sep 2024 09:02:05 -0700 Received: from hyd1588t430.caveonetworks.com (unknown [10.29.52.204]) by maili.marvell.com (Postfix) with ESMTP id D7B703F7051; Thu, 26 Sep 2024 09:02:03 -0700 (PDT) From: Nithin Dabilpuram <ndabilpuram@marvell.com> To: <jerinj@marvell.com> CC: <dev@dpdk.org>, Nithin Dabilpuram <ndabilpuram@marvell.com> Subject: [PATCH v2 00/18] add Marvell cn20k SOC support for mempool and net Date: Thu, 26 Sep 2024 21:31:40 +0530 Message-ID: <20240926160158.3206321-1-ndabilpuram@marvell.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240910085909.1514457-1-ndabilpuram@marvell.com> References: <20240910085909.1514457-1-ndabilpuram@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: 4vI5BoLwEn6IbG0DTcSVvU1a6_bMEgEe X-Proofpoint-GUID: 4vI5BoLwEn6IbG0DTcSVvU1a6_bMEgEe X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 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 |
add Marvell cn20k SOC support for mempool and net
|
|
Message
Nithin Dabilpuram
Sept. 26, 2024, 4:01 p.m. UTC
This series adds support for Marvell cn20k SOC for mempool and net PMD's. This series also adds few net/cnxk PMD updates to expose IPsec features supported by HW that are very custom in nature and some enhancements for cn10k. Ashwin Sekhar T K (4): mempool/cnxk: add cn20k PCI device ids common/cnxk: accommodate change in aura field width common/cnxk: use new NPA aq enq mbox for cn20k mempool/cnxk: initialize mempool ops for cn20k Nithin Dabilpuram (9): net/cnxk: add cn20k base control path support net/cnxk: support Rx function select for cn20k net/cnxk: support Tx function select for cn20k net/cnxk: support Rx burst scalar for cn20k net/cnxk: support Rx burst vector for cn20k net/cnxk: support Tx burst scalar for cn20k net/cnxk: support Tx multi-seg in cn20k net/cnxk: support Tx burst vector for cn20k net/cnxk: support Tx multi-seg in vector for cn20k Satha Rao (5): common/cnxk: add cn20k NIX register definitions common/cnxk: support NIX queue config for cn20k common/cnxk: support bandwidth profile for cn20k common/cnxk: support NIX debug for cn20k common/cnxk: add RSS support for cn20k v2: - Moved out 15 patches to seperate series - Updated release notes doc/guides/rel_notes/release_24_11.rst | 8 + drivers/common/cnxk/cnxk_telemetry_nix.c | 260 +- drivers/common/cnxk/hw/nix.h | 524 ++- drivers/common/cnxk/hw/npa.h | 164 +- drivers/common/cnxk/hw/rvu.h | 7 +- drivers/common/cnxk/roc_mbox.h | 84 + drivers/common/cnxk/roc_nix.c | 15 +- drivers/common/cnxk/roc_nix_bpf.c | 528 ++- drivers/common/cnxk/roc_nix_debug.c | 243 +- drivers/common/cnxk/roc_nix_fc.c | 106 +- drivers/common/cnxk/roc_nix_inl.c | 2 + drivers/common/cnxk/roc_nix_priv.h | 4 +- drivers/common/cnxk/roc_nix_queue.c | 638 ++- drivers/common/cnxk/roc_nix_rss.c | 74 +- drivers/common/cnxk/roc_nix_stats.c | 55 +- drivers/common/cnxk/roc_nix_tm.c | 22 +- drivers/common/cnxk/roc_nix_tm_ops.c | 29 +- drivers/common/cnxk/roc_npa.c | 100 +- drivers/common/cnxk/roc_npa.h | 24 +- drivers/common/cnxk/roc_npa_debug.c | 17 +- drivers/mempool/cnxk/cnxk_mempool.c | 2 + drivers/mempool/cnxk/cnxk_mempool_ops.c | 2 +- drivers/net/cnxk/cn20k_ethdev.c | 943 +++++ drivers/net/cnxk/cn20k_ethdev.h | 15 + drivers/net/cnxk/cn20k_rx.h | 1100 ++++++ drivers/net/cnxk/cn20k_rx_select.c | 160 + drivers/net/cnxk/cn20k_rxtx.h | 245 ++ drivers/net/cnxk/cn20k_tx.h | 3471 +++++++++++++++++ drivers/net/cnxk/cn20k_tx_select.c | 122 + drivers/net/cnxk/cnxk_ethdev_dp.h | 3 + drivers/net/cnxk/meson.build | 92 +- drivers/net/cnxk/rx/cn20k/rx_0_15.c | 20 + drivers/net/cnxk/rx/cn20k/rx_0_15_mseg.c | 20 + drivers/net/cnxk/rx/cn20k/rx_0_15_vec.c | 20 + drivers/net/cnxk/rx/cn20k/rx_0_15_vec_mseg.c | 20 + drivers/net/cnxk/rx/cn20k/rx_112_127.c | 20 + drivers/net/cnxk/rx/cn20k/rx_112_127_mseg.c | 20 + drivers/net/cnxk/rx/cn20k/rx_112_127_vec.c | 20 + .../net/cnxk/rx/cn20k/rx_112_127_vec_mseg.c | 20 + drivers/net/cnxk/rx/cn20k/rx_16_31.c | 20 + drivers/net/cnxk/rx/cn20k/rx_16_31_mseg.c | 20 + drivers/net/cnxk/rx/cn20k/rx_16_31_vec.c | 20 + drivers/net/cnxk/rx/cn20k/rx_16_31_vec_mseg.c | 20 + drivers/net/cnxk/rx/cn20k/rx_32_47.c | 20 + drivers/net/cnxk/rx/cn20k/rx_32_47_mseg.c | 20 + drivers/net/cnxk/rx/cn20k/rx_32_47_vec.c | 20 + drivers/net/cnxk/rx/cn20k/rx_32_47_vec_mseg.c | 20 + drivers/net/cnxk/rx/cn20k/rx_48_63.c | 20 + drivers/net/cnxk/rx/cn20k/rx_48_63_mseg.c | 20 + drivers/net/cnxk/rx/cn20k/rx_48_63_vec.c | 20 + drivers/net/cnxk/rx/cn20k/rx_48_63_vec_mseg.c | 20 + drivers/net/cnxk/rx/cn20k/rx_64_79.c | 20 + drivers/net/cnxk/rx/cn20k/rx_64_79_mseg.c | 20 + drivers/net/cnxk/rx/cn20k/rx_64_79_vec.c | 20 + drivers/net/cnxk/rx/cn20k/rx_64_79_vec_mseg.c | 20 + drivers/net/cnxk/rx/cn20k/rx_80_95.c | 20 + drivers/net/cnxk/rx/cn20k/rx_80_95_mseg.c | 20 + drivers/net/cnxk/rx/cn20k/rx_80_95_vec.c | 20 + drivers/net/cnxk/rx/cn20k/rx_80_95_vec_mseg.c | 20 + drivers/net/cnxk/rx/cn20k/rx_96_111.c | 20 + drivers/net/cnxk/rx/cn20k/rx_96_111_mseg.c | 20 + drivers/net/cnxk/rx/cn20k/rx_96_111_vec.c | 20 + .../net/cnxk/rx/cn20k/rx_96_111_vec_mseg.c | 20 + drivers/net/cnxk/rx/cn20k/rx_all_offload.c | 57 + drivers/net/cnxk/tx/cn20k/tx_0_15.c | 18 + drivers/net/cnxk/tx/cn20k/tx_0_15_mseg.c | 18 + drivers/net/cnxk/tx/cn20k/tx_0_15_vec.c | 18 + drivers/net/cnxk/tx/cn20k/tx_0_15_vec_mseg.c | 18 + drivers/net/cnxk/tx/cn20k/tx_112_127.c | 18 + drivers/net/cnxk/tx/cn20k/tx_112_127_mseg.c | 18 + drivers/net/cnxk/tx/cn20k/tx_112_127_vec.c | 18 + .../net/cnxk/tx/cn20k/tx_112_127_vec_mseg.c | 18 + drivers/net/cnxk/tx/cn20k/tx_16_31.c | 18 + drivers/net/cnxk/tx/cn20k/tx_16_31_mseg.c | 18 + drivers/net/cnxk/tx/cn20k/tx_16_31_vec.c | 18 + drivers/net/cnxk/tx/cn20k/tx_16_31_vec_mseg.c | 18 + drivers/net/cnxk/tx/cn20k/tx_32_47.c | 18 + drivers/net/cnxk/tx/cn20k/tx_32_47_mseg.c | 18 + drivers/net/cnxk/tx/cn20k/tx_32_47_vec.c | 18 + drivers/net/cnxk/tx/cn20k/tx_32_47_vec_mseg.c | 18 + drivers/net/cnxk/tx/cn20k/tx_48_63.c | 18 + drivers/net/cnxk/tx/cn20k/tx_48_63_mseg.c | 18 + drivers/net/cnxk/tx/cn20k/tx_48_63_vec.c | 18 + drivers/net/cnxk/tx/cn20k/tx_48_63_vec_mseg.c | 18 + drivers/net/cnxk/tx/cn20k/tx_64_79.c | 18 + drivers/net/cnxk/tx/cn20k/tx_64_79_mseg.c | 18 + drivers/net/cnxk/tx/cn20k/tx_64_79_vec.c | 18 + drivers/net/cnxk/tx/cn20k/tx_64_79_vec_mseg.c | 18 + drivers/net/cnxk/tx/cn20k/tx_80_95.c | 18 + drivers/net/cnxk/tx/cn20k/tx_80_95_mseg.c | 18 + drivers/net/cnxk/tx/cn20k/tx_80_95_vec.c | 18 + drivers/net/cnxk/tx/cn20k/tx_80_95_vec_mseg.c | 18 + drivers/net/cnxk/tx/cn20k/tx_96_111.c | 18 + drivers/net/cnxk/tx/cn20k/tx_96_111_mseg.c | 18 + drivers/net/cnxk/tx/cn20k/tx_96_111_vec.c | 18 + .../net/cnxk/tx/cn20k/tx_96_111_vec_mseg.c | 18 + drivers/net/cnxk/tx/cn20k/tx_all_offload.c | 39 + 97 files changed, 9979 insertions(+), 392 deletions(-) create mode 100644 drivers/net/cnxk/cn20k_ethdev.c create mode 100644 drivers/net/cnxk/cn20k_ethdev.h create mode 100644 drivers/net/cnxk/cn20k_rx.h create mode 100644 drivers/net/cnxk/cn20k_rx_select.c create mode 100644 drivers/net/cnxk/cn20k_rxtx.h create mode 100644 drivers/net/cnxk/cn20k_tx.h create mode 100644 drivers/net/cnxk/cn20k_tx_select.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_0_15.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_0_15_mseg.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_0_15_vec.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_0_15_vec_mseg.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_112_127.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_112_127_mseg.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_112_127_vec.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_112_127_vec_mseg.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_16_31.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_16_31_mseg.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_16_31_vec.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_16_31_vec_mseg.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_32_47.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_32_47_mseg.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_32_47_vec.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_32_47_vec_mseg.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_48_63.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_48_63_mseg.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_48_63_vec.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_48_63_vec_mseg.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_64_79.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_64_79_mseg.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_64_79_vec.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_64_79_vec_mseg.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_80_95.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_80_95_mseg.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_80_95_vec.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_80_95_vec_mseg.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_96_111.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_96_111_mseg.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_96_111_vec.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_96_111_vec_mseg.c create mode 100644 drivers/net/cnxk/rx/cn20k/rx_all_offload.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_0_15.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_0_15_mseg.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_0_15_vec.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_0_15_vec_mseg.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_112_127.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_112_127_mseg.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_112_127_vec.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_112_127_vec_mseg.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_16_31.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_16_31_mseg.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_16_31_vec.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_16_31_vec_mseg.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_32_47.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_32_47_mseg.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_32_47_vec.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_32_47_vec_mseg.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_48_63.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_48_63_mseg.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_48_63_vec.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_48_63_vec_mseg.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_64_79.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_64_79_mseg.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_64_79_vec.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_64_79_vec_mseg.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_80_95.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_80_95_mseg.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_80_95_vec.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_80_95_vec_mseg.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_96_111.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_96_111_mseg.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_96_111_vec.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_96_111_vec_mseg.c create mode 100644 drivers/net/cnxk/tx/cn20k/tx_all_offload.c
Comments
On Fri, Sep 27, 2024 at 9:19 AM Nithin Dabilpuram <ndabilpuram@marvell.com> wrote: > > This series adds support for Marvell cn20k SOC for mempool and > net PMD's. > > This series also adds few net/cnxk PMD updates to expose IPsec > features supported by HW that are very custom in nature and > some enhancements for cn10k. > > > Ashwin Sekhar T K (4): > mempool/cnxk: add cn20k PCI device ids > common/cnxk: accommodate change in aura field width > common/cnxk: use new NPA aq enq mbox for cn20k > mempool/cnxk: initialize mempool ops for cn20k > > Nithin Dabilpuram (9): > net/cnxk: add cn20k base control path support > net/cnxk: support Rx function select for cn20k > net/cnxk: support Tx function select for cn20k > net/cnxk: support Rx burst scalar for cn20k > net/cnxk: support Rx burst vector for cn20k > net/cnxk: support Tx burst scalar for cn20k > net/cnxk: support Tx multi-seg in cn20k > net/cnxk: support Tx burst vector for cn20k > net/cnxk: support Tx multi-seg in vector for cn20k > > Satha Rao (5): > common/cnxk: add cn20k NIX register definitions > common/cnxk: support NIX queue config for cn20k > common/cnxk: support bandwidth profile for cn20k > common/cnxk: support NIX debug for cn20k > common/cnxk: add RSS support for cn20k > > v2: > - Moved out 15 patches to seperate series > - Updated release notes Good to merge next version. 1)Please consider changing release note update as following +* **Updated Marvell cnxk mempool driver.** + + * Added mempool driver support for CN20K SoC. + +* **Updated Marvell cnxk net driver.** + + * Added ethdev driver support for CN20K SoC. + 2) Please fix following genuine check path issues. CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #109: FILE: drivers/net/cnxk/cn20k_ethdev.c:75: + txq->tx_compl.ptr = (struct rte_mbuf **)plt_zmalloc( WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test #183: FILE: drivers/net/cnxk/cn20k_ethdev.c:149: + PLT_STATIC_ASSERT(ROC_NIX_INL_SA_BASE_ALIGN == BIT_ULL(16)); WARNING:MACRO_ARG_UNUSED: Argument 'flags' is not used in function-like macro #341: FILE: drivers/net/cnxk/cn20k_rx.h:219: +#define NIX_RX_RECV(fn, flags) \ + uint16_t __rte_noinline __rte_hot fn(void *rx_queue, struct rte_mbuf **rx_pkts, \ + uint16_t pkts) \ + { \ + RTE_SET_USED(rx_queue); \ + RTE_SET_USED(rx_pkts); \ + RTE_SET_USED(pkts); \ + return 0; \ + } WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #341: FILE: drivers/net/cnxk/cn20k_rx.h:219: +#define NIX_RX_RECV(fn, flags) \ + uint16_t __rte_noinline __rte_hot fn(void *rx_queue, struct rte_mbuf **rx_pkts, \ + uint16_t pkts) \ + { \ + RTE_SET_USED(rx_queue); \ + RTE_SET_USED(rx_pkts); \ + RTE_SET_USED(pkts); \ + return 0; \ + } CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'flags' may be better as '(flags)' to avoid precedence issues #351: FILE: drivers/net/cnxk/cn20k_rx.h:229: +#define NIX_RX_RECV_MSEG(fn, flags) NIX_RX_RECV(fn, flags | NIX_RX_MULTI_SEG_F) CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #1470: FILE: drivers/net/cnxk/rx/cn20k/rx_all_offload.c:27: + return cn20k_nix_recv_pkts_vector( CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #1482: FILE: drivers/net/cnxk/rx/cn20k/rx_all_offload.c:39: + return cn20k_nix_recv_pkts( CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #1492: FILE: drivers/net/cnxk/rx/cn20k/rx_all_offload.c:49: + return cn20k_nix_recv_pkts_vector( WARNING:MACRO_ARG_UNUSED: Argument 'sz' is not used in function-like macro #343: FILE: drivers/net/cnxk/cn20k_tx.h:211: +#define T(name, sz, flags) \ + uint16_t __rte_noinline __rte_hot cn20k_nix_xmit_pkts_##name( \ + void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t pkts); \ + uint16_t __rte_noinline __rte_hot cn20k_nix_xmit_pkts_mseg_##name( \ + void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t pkts); \ + uint16_t __rte_noinline __rte_hot cn20k_nix_xmit_pkts_vec_##name( \ + void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t pkts); \ + uint16_t __rte_noinline __rte_hot cn20k_nix_xmit_pkts_vec_mseg_##name( \ + void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t pkts); WARNING:MACRO_ARG_UNUSED: Argument 'flags' is not used in function-like macro #343: FILE: drivers/net/cnxk/cn20k_tx.h:211: +#define T(name, sz, flags) \ + uint16_t __rte_noinline __rte_hot cn20k_nix_xmit_pkts_##name( \ + void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t pkts); \ + uint16_t __rte_noinline __rte_hot cn20k_nix_xmit_pkts_mseg_##name( \ + void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t pkts); \ + uint16_t __rte_noinline __rte_hot cn20k_nix_xmit_pkts_vec_##name( \ + void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t pkts); \ + uint16_t __rte_noinline __rte_hot cn20k_nix_xmit_pkts_vec_mseg_##name( \ + void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t pkts); WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #343: FILE: drivers/net/cnxk/cn20k_tx.h:211: +#define T(name, sz, flags) \ + uint16_t __rte_noinline __rte_hot cn20k_nix_xmit_pkts_##name( \ + void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t pkts); \ + uint16_t __rte_noinline __rte_hot cn20k_nix_xmit_pkts_mseg_##name( \ + void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t pkts); \ + uint16_t __rte_noinline __rte_hot cn20k_nix_xmit_pkts_vec_##name( \ + void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t pkts); \ + uint16_t __rte_noinline __rte_hot cn20k_nix_xmit_pkts_vec_mseg_##name( \ + void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t pkts); WARNING:MACRO_ARG_UNUSED: Argument 'sz' is not used in function-like macro #356: FILE: drivers/net/cnxk/cn20k_tx.h:224: +#define NIX_TX_XMIT(fn, sz, flags) \ + uint16_t __rte_noinline __rte_hot fn(void *tx_queue, struct rte_mbuf **tx_pkts, \ + uint16_t pkts) \ + { \ + RTE_SET_USED(tx_queue); \ + RTE_SET_USED(tx_pkts); \ + RTE_SET_USED(pkts); \ + return 0; \ + } WARNING:MACRO_ARG_UNUSED: Argument 'flags' is not used in function-like macro #356: FILE: drivers/net/cnxk/cn20k_tx.h:224: +#define NIX_TX_XMIT(fn, sz, flags) \ + uint16_t __rte_noinline __rte_hot fn(void *tx_queue, struct rte_mbuf **tx_pkts, \ + uint16_t pkts) \ + { \ + RTE_SET_USED(tx_queue); \ + RTE_SET_USED(tx_pkts); \ + RTE_SET_USED(pkts); \ + return 0; \ + } CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #1382: FILE: drivers/net/cnxk/tx/cn20k/tx_all_offload.c:18: + return cn20k_nix_xmit_pkts_mseg( CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #1395: FILE: drivers/net/cnxk/tx/cn20k/tx_all_offload.c:31: + return cn20k_nix_xmit_pkts_vector( CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #145: FILE: drivers/net/cnxk/cn20k_rx.h:547: + rte_prefetch0( CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #147: FILE: drivers/net/cnxk/cn20k_rx.h:549: + rte_prefetch0( CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #149: FILE: drivers/net/cnxk/cn20k_rx.h:551: + rte_prefetch0( CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #151: FILE: drivers/net/cnxk/cn20k_rx.h:553: + rte_prefetch0( total: 0 errors, 0 warnings, 6 checks, 475 lines checked ### [PATCH] net/cnxk: support Tx burst scalar for cn20k CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #234: FILE: drivers/net/cnxk/cn20k_tx.h:543: + cmd23 = vsetq_lane_u64(