From patchwork Wed Oct 18 11:14:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vamsi Krishna Attunuru X-Patchwork-Id: 278 Return-Path: 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 9B4DD43199; Wed, 18 Oct 2023 13:14:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6A657402DC; Wed, 18 Oct 2023 13:14:14 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id A837940297 for ; Wed, 18 Oct 2023 13:14:12 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39I7P8xY012051 for ; Wed, 18 Oct 2023 04:14:11 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=arKpM8YGgnVM4Z9BLAbfnntqPeE8h9vrNSXxkzFchcw=; b=T5QQesaZfyojN90kAHCmb2/YaY27jp7y/sQOJLU7B65FZZOcAfgpUZ7W+VurWbdmCuMV o441vvEBt5WNUyEC0t4m420Q3zMjwSgBCgDPzmYyAUzJsfx+yg0aeDQY4QTg6cFeR9z4 39nVtu9MJdTRiSfQqxRr3zdX/tWWz50cda+7R/v7de381JGRJ2B29GxcKWeeVJlMmkTO BKkxTucW+i8E3oKUN5RUvpZ1hRuNFAZe+fEQgQ9ku7rYOrCB97Zh8Elgm3JWvqMLeth2 GaPM4XZweDso8OQ8VaFNqtBvFO5kHbxCaXu60psQd956Yl1AUbYbA+uXHWI0gMkCX470 5w== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3tt1482jnh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Wed, 18 Oct 2023 04:14:11 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 18 Oct 2023 04:14:09 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Wed, 18 Oct 2023 04:14:09 -0700 Received: from localhost.localdomain (unknown [10.28.36.156]) by maili.marvell.com (Postfix) with ESMTP id 6A2383F7068; Wed, 18 Oct 2023 04:14:08 -0700 (PDT) From: Vamsi Attunuru To: , CC: , Vamsi Attunuru Subject: [PATCH v6 0/3] rewrite fastpath routines Date: Wed, 18 Oct 2023 04:14:01 -0700 Message-ID: <20231018111404.686147-1-vattunuru@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231018080725.613579-1-vattunuru@marvell.com> References: <20231018080725.613579-1-vattunuru@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: bSjJBihRdESuhpedaXXb6qe_2_eqLm-z X-Proofpoint-ORIG-GUID: bSjJBihRdESuhpedaXXb6qe_2_eqLm-z X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-18_09,2023-10-18_01,2023-05-22_02 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 series adds new fastpath routines for cn10k & cn9k endpoint devices and supports 32B Tx descriptor format which improves the performance. V6 changes: - Use __atomic_xxx built-ins to fix CI build V5 changes: - Series rebased v4 changes: - Use rte_atomic_xxx instead of __atomic_xxx built-ins v2 & v3 changes: - Fixed CI Shijith Thotton (1): net/octeon_ep: support 32B IQ descriptor size Vamsi Attunuru (2): net/octeon_ep: clean up receive routine net/octeon_ep: add new fastpath routines drivers/net/octeon_ep/cnxk_ep_rx.c | 309 ++++++++++++++++++++++++++ drivers/net/octeon_ep/cnxk_ep_tx.c | 209 +++++++++++++++++ drivers/net/octeon_ep/cnxk_ep_vf.c | 12 +- drivers/net/octeon_ep/cnxk_ep_vf.h | 13 ++ drivers/net/octeon_ep/meson.build | 2 + drivers/net/octeon_ep/otx2_ep_vf.c | 11 +- drivers/net/octeon_ep/otx_ep_common.h | 127 ++++++----- drivers/net/octeon_ep/otx_ep_ethdev.c | 69 +++++- drivers/net/octeon_ep/otx_ep_rxtx.c | 255 +++++++-------------- drivers/net/octeon_ep/otx_ep_rxtx.h | 38 +++- drivers/net/octeon_ep/otx_ep_vf.c | 8 + 11 files changed, 801 insertions(+), 252 deletions(-) create mode 100644 drivers/net/octeon_ep/cnxk_ep_rx.c create mode 100644 drivers/net/octeon_ep/cnxk_ep_tx.c