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 E2957A00C4; Sat, 22 Jan 2022 16:48:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 875314278F; Sat, 22 Jan 2022 16:48:41 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 1B1F4427A5 for ; Sat, 22 Jan 2022 16:48:39 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20MCsmi9006159 for ; Sat, 22 Jan 2022 07:48:39 -0800 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=3enipgfrc2RxEM/mJx5kJfY+zjalGfAHgUlI9NSxj5s=; b=PY2CGIpEnWp3wxT37gi6r1/Yb1dGCAY4ahiySkdcnm6vfm5rscOpAlSeiTD5ZuEQDzPE 7JJ1EDJk62MzTiY6pdk/ZLPd2SQ/kjJUaj1If1q07ID9UuYsiqpNj3FEqyP71opXL5R0 2VJUGhX5hSOLLpocVs6k/DfGPrSS/cnd/XE9JTsaVAqwMkCum7tL9V04qMdYMpXOwmxm 5KAljypm93C70wElLEKG2nc8zPv+OzI03yqawQC1mjr03nbMN+cgK2ryJF8OkZUM6chf Smb5PB9PA26swBRF3LaYLf+T4hQkoZiZ9dpFojw+gtkhhmHE1t60i5Q/InwPhjE4pYX+ +A== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3drg5srjn1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Sat, 22 Jan 2022 07:48:38 -0800 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.2; Sat, 22 Jan 2022 07:48:37 -0800 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.18 via Frontend Transport; Sat, 22 Jan 2022 07:48:37 -0800 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id 770DA3F70B6; Sat, 22 Jan 2022 07:48:34 -0800 (PST) From: To: , Pavan Nikhilesh , "Shijith Thotton" , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao CC: Subject: [PATCH v3 3/8] net/cnxk: add CN9K segregated Tx functions Date: Sat, 22 Jan 2022 21:18:14 +0530 Message-ID: <20220122154821.968-3-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220122154821.968-1-pbhagavatula@marvell.com> References: <20220120145136.7844-1-pbhagavatula@marvell.com> <20220122154821.968-1-pbhagavatula@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: 274raTIoo7I-SE3auEgFlqtslahvcIo_ X-Proofpoint-ORIG-GUID: 274raTIoo7I-SE3auEgFlqtslahvcIo_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-22_06,2022-01-21_01,2021-12-02_01 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 From: Pavan Nikhilesh Add CN9K segregated Rx and event Tx enqueue template functions, these help in parallelizing the build. Signed-off-by: Pavan Nikhilesh --- drivers/event/cnxk/tx/cn9k/tx_0_15.c | 10 ++++++++++ drivers/event/cnxk/tx/cn9k/tx_0_15_dual.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_0_15_dual_seg.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_0_15_seg.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_112_127.c | 10 ++++++++++ drivers/event/cnxk/tx/cn9k/tx_112_127_dual.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_112_127_dual_seg.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_112_127_seg.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_16_31.c | 10 ++++++++++ drivers/event/cnxk/tx/cn9k/tx_16_31_dual.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_16_31_dual_seg.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_16_31_seg.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_32_47.c | 10 ++++++++++ drivers/event/cnxk/tx/cn9k/tx_32_47_dual.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_32_47_dual_seg.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_32_47_seg.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_48_63.c | 10 ++++++++++ drivers/event/cnxk/tx/cn9k/tx_48_63_dual.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_48_63_dual_seg.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_48_63_seg.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_64_79.c | 10 ++++++++++ drivers/event/cnxk/tx/cn9k/tx_64_79_dual.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_64_79_dual_seg.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_64_79_seg.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_80_95.c | 10 ++++++++++ drivers/event/cnxk/tx/cn9k/tx_80_95_dual.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_80_95_dual_seg.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_80_95_seg.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_96_111.c | 10 ++++++++++ drivers/event/cnxk/tx/cn9k/tx_96_111_dual.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_96_111_dual_seg.c | 11 +++++++++++ drivers/event/cnxk/tx/cn9k/tx_96_111_seg.c | 11 +++++++++++ drivers/net/cnxk/tx/cn9k/tx_0_15.c | 11 +++++++++++ drivers/net/cnxk/tx/cn9k/tx_0_15_mseg.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_0_15_vec.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_0_15_vec_mseg.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_112_127.c | 11 +++++++++++ drivers/net/cnxk/tx/cn9k/tx_112_127_mseg.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_112_127_vec.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_112_127_vec_mseg.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_16_31.c | 11 +++++++++++ drivers/net/cnxk/tx/cn9k/tx_16_31_mseg.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_16_31_vec.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_16_31_vec_mseg.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_32_47.c | 11 +++++++++++ drivers/net/cnxk/tx/cn9k/tx_32_47_mseg.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_32_47_vec.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_32_47_vec_mseg.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_48_63.c | 11 +++++++++++ drivers/net/cnxk/tx/cn9k/tx_48_63_mseg.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_48_63_vec.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_48_63_vec_mseg.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_64_79.c | 11 +++++++++++ drivers/net/cnxk/tx/cn9k/tx_64_79_mseg.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_64_79_vec.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_64_79_vec_mseg.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_80_95.c | 11 +++++++++++ drivers/net/cnxk/tx/cn9k/tx_80_95_mseg.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_80_95_vec.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_80_95_vec_mseg.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_96_111.c | 11 +++++++++++ drivers/net/cnxk/tx/cn9k/tx_96_111_mseg.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_96_111_vec.c | 12 ++++++++++++ drivers/net/cnxk/tx/cn9k/tx_96_111_vec_mseg.c | 12 ++++++++++++ 64 files changed, 720 insertions(+) create mode 100644 drivers/event/cnxk/tx/cn9k/tx_0_15.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_0_15_dual.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_0_15_dual_seg.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_0_15_seg.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_112_127.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_112_127_dual.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_112_127_dual_seg.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_112_127_seg.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_16_31.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_16_31_dual.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_16_31_dual_seg.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_16_31_seg.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_32_47.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_32_47_dual.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_32_47_dual_seg.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_32_47_seg.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_48_63.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_48_63_dual.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_48_63_dual_seg.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_48_63_seg.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_64_79.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_64_79_dual.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_64_79_dual_seg.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_64_79_seg.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_80_95.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_80_95_dual.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_80_95_dual_seg.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_80_95_seg.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_96_111.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_96_111_dual.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_96_111_dual_seg.c create mode 100644 drivers/event/cnxk/tx/cn9k/tx_96_111_seg.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_0_15.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_0_15_mseg.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_0_15_vec.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_0_15_vec_mseg.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_112_127.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_112_127_mseg.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_112_127_vec.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_112_127_vec_mseg.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_16_31.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_16_31_mseg.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_16_31_vec.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_16_31_vec_mseg.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_32_47.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_32_47_mseg.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_32_47_vec.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_32_47_vec_mseg.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_48_63.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_48_63_mseg.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_48_63_vec.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_48_63_vec_mseg.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_64_79.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_64_79_mseg.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_64_79_vec.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_64_79_vec_mseg.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_80_95.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_80_95_mseg.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_80_95_vec.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_80_95_vec_mseg.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_96_111.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_96_111_mseg.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_96_111_vec.c create mode 100644 drivers/net/cnxk/tx/cn9k/tx_96_111_vec_mseg.c diff --git a/drivers/event/cnxk/tx/cn9k/tx_0_15.c b/drivers/event/cnxk/tx/cn9k/tx_0_15.c new file mode 100644 index 0000000000..085901ee55 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_0_15.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) SSO_TX(cn9k_sso_hws_tx_adptr_enq_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_0_15 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_0_15_dual.c b/drivers/event/cnxk/tx/cn9k/tx_0_15_dual.c new file mode 100644 index 0000000000..19514256e0 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_0_15_dual.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_DUAL_TX(cn9k_sso_hws_dual_tx_adptr_enq_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_0_15 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_0_15_dual_seg.c b/drivers/event/cnxk/tx/cn9k/tx_0_15_dual_seg.c new file mode 100644 index 0000000000..ed8c2e2b28 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_0_15_dual_seg.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_DUAL_TX_SEG(cn9k_sso_hws_dual_tx_adptr_enq_seg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_0_15 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_0_15_seg.c b/drivers/event/cnxk/tx/cn9k/tx_0_15_seg.c new file mode 100644 index 0000000000..ca0e4515b2 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_0_15_seg.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_TX_SEG(cn9k_sso_hws_tx_adptr_enq_seg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_0_15 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_112_127.c b/drivers/event/cnxk/tx/cn9k/tx_112_127.c new file mode 100644 index 0000000000..a46790c9ac --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_112_127.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) SSO_TX(cn9k_sso_hws_tx_adptr_enq_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_112_127 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_112_127_dual.c b/drivers/event/cnxk/tx/cn9k/tx_112_127_dual.c new file mode 100644 index 0000000000..1a8d74a4ff --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_112_127_dual.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_DUAL_TX(cn9k_sso_hws_dual_tx_adptr_enq_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_112_127 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_112_127_dual_seg.c b/drivers/event/cnxk/tx/cn9k/tx_112_127_dual_seg.c new file mode 100644 index 0000000000..f37db03318 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_112_127_dual_seg.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_DUAL_TX_SEG(cn9k_sso_hws_dual_tx_adptr_enq_seg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_112_127 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_112_127_seg.c b/drivers/event/cnxk/tx/cn9k/tx_112_127_seg.c new file mode 100644 index 0000000000..a52071817f --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_112_127_seg.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_TX_SEG(cn9k_sso_hws_tx_adptr_enq_seg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_112_127 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_16_31.c b/drivers/event/cnxk/tx/cn9k/tx_16_31.c new file mode 100644 index 0000000000..9165a472e4 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_16_31.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) SSO_TX(cn9k_sso_hws_tx_adptr_enq_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_16_31 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_16_31_dual.c b/drivers/event/cnxk/tx/cn9k/tx_16_31_dual.c new file mode 100644 index 0000000000..20356577c7 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_16_31_dual.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_DUAL_TX(cn9k_sso_hws_dual_tx_adptr_enq_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_16_31 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_16_31_dual_seg.c b/drivers/event/cnxk/tx/cn9k/tx_16_31_dual_seg.c new file mode 100644 index 0000000000..c23abf103f --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_16_31_dual_seg.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_DUAL_TX_SEG(cn9k_sso_hws_dual_tx_adptr_enq_seg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_16_31 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_16_31_seg.c b/drivers/event/cnxk/tx/cn9k/tx_16_31_seg.c new file mode 100644 index 0000000000..ceea07eb47 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_16_31_seg.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_TX_SEG(cn9k_sso_hws_tx_adptr_enq_seg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_16_31 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_32_47.c b/drivers/event/cnxk/tx/cn9k/tx_32_47.c new file mode 100644 index 0000000000..f44215bc0f --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_32_47.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) SSO_TX(cn9k_sso_hws_tx_adptr_enq_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_32_47 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_32_47_dual.c b/drivers/event/cnxk/tx/cn9k/tx_32_47_dual.c new file mode 100644 index 0000000000..6b57b6f307 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_32_47_dual.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_DUAL_TX(cn9k_sso_hws_dual_tx_adptr_enq_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_32_47 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_32_47_dual_seg.c b/drivers/event/cnxk/tx/cn9k/tx_32_47_dual_seg.c new file mode 100644 index 0000000000..a5ac3b05ac --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_32_47_dual_seg.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_DUAL_TX_SEG(cn9k_sso_hws_dual_tx_adptr_enq_seg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_32_47 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_32_47_seg.c b/drivers/event/cnxk/tx/cn9k/tx_32_47_seg.c new file mode 100644 index 0000000000..19693816d9 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_32_47_seg.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_TX_SEG(cn9k_sso_hws_tx_adptr_enq_seg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_32_47 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_48_63.c b/drivers/event/cnxk/tx/cn9k/tx_48_63.c new file mode 100644 index 0000000000..10efcb8190 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_48_63.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) SSO_TX(cn9k_sso_hws_tx_adptr_enq_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_48_63 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_48_63_dual.c b/drivers/event/cnxk/tx/cn9k/tx_48_63_dual.c new file mode 100644 index 0000000000..9fc4cffc33 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_48_63_dual.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_DUAL_TX(cn9k_sso_hws_dual_tx_adptr_enq_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_48_63 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_48_63_dual_seg.c b/drivers/event/cnxk/tx/cn9k/tx_48_63_dual_seg.c new file mode 100644 index 0000000000..885115ada4 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_48_63_dual_seg.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_DUAL_TX_SEG(cn9k_sso_hws_dual_tx_adptr_enq_seg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_48_63 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_48_63_seg.c b/drivers/event/cnxk/tx/cn9k/tx_48_63_seg.c new file mode 100644 index 0000000000..5a2a11c985 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_48_63_seg.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_TX_SEG(cn9k_sso_hws_tx_adptr_enq_seg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_48_63 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_64_79.c b/drivers/event/cnxk/tx/cn9k/tx_64_79.c new file mode 100644 index 0000000000..2820c01350 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_64_79.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) SSO_TX(cn9k_sso_hws_tx_adptr_enq_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_64_79 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_64_79_dual.c b/drivers/event/cnxk/tx/cn9k/tx_64_79_dual.c new file mode 100644 index 0000000000..b07b8b15d1 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_64_79_dual.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_DUAL_TX(cn9k_sso_hws_dual_tx_adptr_enq_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_64_79 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_64_79_dual_seg.c b/drivers/event/cnxk/tx/cn9k/tx_64_79_dual_seg.c new file mode 100644 index 0000000000..520c400543 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_64_79_dual_seg.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_DUAL_TX_SEG(cn9k_sso_hws_dual_tx_adptr_enq_seg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_64_79 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_64_79_seg.c b/drivers/event/cnxk/tx/cn9k/tx_64_79_seg.c new file mode 100644 index 0000000000..1360418e76 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_64_79_seg.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_TX_SEG(cn9k_sso_hws_tx_adptr_enq_seg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_64_79 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_80_95.c b/drivers/event/cnxk/tx/cn9k/tx_80_95.c new file mode 100644 index 0000000000..34f747f254 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_80_95.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) SSO_TX(cn9k_sso_hws_tx_adptr_enq_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_80_95 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_80_95_dual.c b/drivers/event/cnxk/tx/cn9k/tx_80_95_dual.c new file mode 100644 index 0000000000..babd25d698 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_80_95_dual.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_DUAL_TX(cn9k_sso_hws_dual_tx_adptr_enq_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_80_95 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_80_95_dual_seg.c b/drivers/event/cnxk/tx/cn9k/tx_80_95_dual_seg.c new file mode 100644 index 0000000000..da9348008e --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_80_95_dual_seg.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_DUAL_TX_SEG(cn9k_sso_hws_dual_tx_adptr_enq_seg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_80_95 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_80_95_seg.c b/drivers/event/cnxk/tx/cn9k/tx_80_95_seg.c new file mode 100644 index 0000000000..7c31a9d6f5 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_80_95_seg.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_TX_SEG(cn9k_sso_hws_tx_adptr_enq_seg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_80_95 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_96_111.c b/drivers/event/cnxk/tx/cn9k/tx_96_111.c new file mode 100644 index 0000000000..97f5630ba5 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_96_111.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) SSO_TX(cn9k_sso_hws_tx_adptr_enq_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_96_111 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_96_111_dual.c b/drivers/event/cnxk/tx/cn9k/tx_96_111_dual.c new file mode 100644 index 0000000000..ed3ec15fdd --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_96_111_dual.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_DUAL_TX(cn9k_sso_hws_dual_tx_adptr_enq_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_96_111 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_96_111_dual_seg.c b/drivers/event/cnxk/tx/cn9k/tx_96_111_dual_seg.c new file mode 100644 index 0000000000..c284247703 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_96_111_dual_seg.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_DUAL_TX_SEG(cn9k_sso_hws_dual_tx_adptr_enq_seg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_96_111 +#undef T diff --git a/drivers/event/cnxk/tx/cn9k/tx_96_111_seg.c b/drivers/event/cnxk/tx/cn9k/tx_96_111_seg.c new file mode 100644 index 0000000000..640bee0a00 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_96_111_seg.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_worker.h" + +#define T(name, sz, flags) \ + SSO_TX_SEG(cn9k_sso_hws_tx_adptr_enq_seg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_96_111 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_0_15.c b/drivers/net/cnxk/tx/cn9k/tx_0_15.c new file mode 100644 index 0000000000..6d6465b6cf --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_0_15.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) NIX_TX_XMIT(cn9k_nix_xmit_pkts_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_0_15 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_0_15_mseg.c b/drivers/net/cnxk/tx/cn9k/tx_0_15_mseg.c new file mode 100644 index 0000000000..3a807104bb --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_0_15_mseg.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_MSEG(cn9k_nix_xmit_pkts_mseg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_0_15 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_0_15_vec.c b/drivers/net/cnxk/tx/cn9k/tx_0_15_vec.c new file mode 100644 index 0000000000..ace5f43209 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_0_15_vec.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_VEC(cn9k_nix_xmit_pkts_vec_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_0_15 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_0_15_vec_mseg.c b/drivers/net/cnxk/tx/cn9k/tx_0_15_vec_mseg.c new file mode 100644 index 0000000000..23056214ca --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_0_15_vec_mseg.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_VEC_MSEG(cn9k_nix_xmit_pkts_vec_mseg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_0_15 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_112_127.c b/drivers/net/cnxk/tx/cn9k/tx_112_127.c new file mode 100644 index 0000000000..1882e72cb1 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_112_127.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) NIX_TX_XMIT(cn9k_nix_xmit_pkts_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_112_127 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_112_127_mseg.c b/drivers/net/cnxk/tx/cn9k/tx_112_127_mseg.c new file mode 100644 index 0000000000..b2d09e2074 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_112_127_mseg.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_MSEG(cn9k_nix_xmit_pkts_mseg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_112_127 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_112_127_vec.c b/drivers/net/cnxk/tx/cn9k/tx_112_127_vec.c new file mode 100644 index 0000000000..9ebb1bd82a --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_112_127_vec.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_VEC(cn9k_nix_xmit_pkts_vec_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_112_127 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_112_127_vec_mseg.c b/drivers/net/cnxk/tx/cn9k/tx_112_127_vec_mseg.c new file mode 100644 index 0000000000..e045b9eebc --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_112_127_vec_mseg.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_VEC_MSEG(cn9k_nix_xmit_pkts_vec_mseg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_112_127 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_16_31.c b/drivers/net/cnxk/tx/cn9k/tx_16_31.c new file mode 100644 index 0000000000..dd4d6db763 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_16_31.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) NIX_TX_XMIT(cn9k_nix_xmit_pkts_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_16_31 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_16_31_mseg.c b/drivers/net/cnxk/tx/cn9k/tx_16_31_mseg.c new file mode 100644 index 0000000000..0296e054cc --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_16_31_mseg.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_MSEG(cn9k_nix_xmit_pkts_mseg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_16_31 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_16_31_vec.c b/drivers/net/cnxk/tx/cn9k/tx_16_31_vec.c new file mode 100644 index 0000000000..aaff8ad7db --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_16_31_vec.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_VEC(cn9k_nix_xmit_pkts_vec_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_16_31 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_16_31_vec_mseg.c b/drivers/net/cnxk/tx/cn9k/tx_16_31_vec_mseg.c new file mode 100644 index 0000000000..056b0b11ec --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_16_31_vec_mseg.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_VEC_MSEG(cn9k_nix_xmit_pkts_vec_mseg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_16_31 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_32_47.c b/drivers/net/cnxk/tx/cn9k/tx_32_47.c new file mode 100644 index 0000000000..b9429a996d --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_32_47.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) NIX_TX_XMIT(cn9k_nix_xmit_pkts_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_32_47 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_32_47_mseg.c b/drivers/net/cnxk/tx/cn9k/tx_32_47_mseg.c new file mode 100644 index 0000000000..82252abdb1 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_32_47_mseg.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_MSEG(cn9k_nix_xmit_pkts_mseg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_32_47 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_32_47_vec.c b/drivers/net/cnxk/tx/cn9k/tx_32_47_vec.c new file mode 100644 index 0000000000..a19445dd91 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_32_47_vec.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_VEC(cn9k_nix_xmit_pkts_vec_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_32_47 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_32_47_vec_mseg.c b/drivers/net/cnxk/tx/cn9k/tx_32_47_vec_mseg.c new file mode 100644 index 0000000000..3f6a194394 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_32_47_vec_mseg.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_VEC_MSEG(cn9k_nix_xmit_pkts_vec_mseg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_32_47 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_48_63.c b/drivers/net/cnxk/tx/cn9k/tx_48_63.c new file mode 100644 index 0000000000..8510d09cc4 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_48_63.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) NIX_TX_XMIT(cn9k_nix_xmit_pkts_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_48_63 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_48_63_mseg.c b/drivers/net/cnxk/tx/cn9k/tx_48_63_mseg.c new file mode 100644 index 0000000000..5e65d12b2f --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_48_63_mseg.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_MSEG(cn9k_nix_xmit_pkts_mseg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_48_63 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_48_63_vec.c b/drivers/net/cnxk/tx/cn9k/tx_48_63_vec.c new file mode 100644 index 0000000000..d39acccb92 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_48_63_vec.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_VEC(cn9k_nix_xmit_pkts_vec_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_48_63 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_48_63_vec_mseg.c b/drivers/net/cnxk/tx/cn9k/tx_48_63_vec_mseg.c new file mode 100644 index 0000000000..3ffa9508b7 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_48_63_vec_mseg.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_VEC_MSEG(cn9k_nix_xmit_pkts_vec_mseg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_48_63 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_64_79.c b/drivers/net/cnxk/tx/cn9k/tx_64_79.c new file mode 100644 index 0000000000..0a972cf3e9 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_64_79.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) NIX_TX_XMIT(cn9k_nix_xmit_pkts_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_64_79 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_64_79_mseg.c b/drivers/net/cnxk/tx/cn9k/tx_64_79_mseg.c new file mode 100644 index 0000000000..610e3903b2 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_64_79_mseg.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_MSEG(cn9k_nix_xmit_pkts_mseg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_64_79 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_64_79_vec.c b/drivers/net/cnxk/tx/cn9k/tx_64_79_vec.c new file mode 100644 index 0000000000..863cc8e1ee --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_64_79_vec.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_VEC(cn9k_nix_xmit_pkts_vec_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_64_79 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_64_79_vec_mseg.c b/drivers/net/cnxk/tx/cn9k/tx_64_79_vec_mseg.c new file mode 100644 index 0000000000..c3b96cfadf --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_64_79_vec_mseg.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_VEC_MSEG(cn9k_nix_xmit_pkts_vec_mseg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_64_79 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_80_95.c b/drivers/net/cnxk/tx/cn9k/tx_80_95.c new file mode 100644 index 0000000000..3ae3da2962 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_80_95.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) NIX_TX_XMIT(cn9k_nix_xmit_pkts_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_80_95 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_80_95_mseg.c b/drivers/net/cnxk/tx/cn9k/tx_80_95_mseg.c new file mode 100644 index 0000000000..5e6933644b --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_80_95_mseg.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_MSEG(cn9k_nix_xmit_pkts_mseg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_80_95 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_80_95_vec.c b/drivers/net/cnxk/tx/cn9k/tx_80_95_vec.c new file mode 100644 index 0000000000..5bf2a32230 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_80_95_vec.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_VEC(cn9k_nix_xmit_pkts_vec_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_80_95 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_80_95_vec_mseg.c b/drivers/net/cnxk/tx/cn9k/tx_80_95_vec_mseg.c new file mode 100644 index 0000000000..684ebb03a9 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_80_95_vec_mseg.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_VEC_MSEG(cn9k_nix_xmit_pkts_vec_mseg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_80_95 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_96_111.c b/drivers/net/cnxk/tx/cn9k/tx_96_111.c new file mode 100644 index 0000000000..8484562dc3 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_96_111.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) NIX_TX_XMIT(cn9k_nix_xmit_pkts_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_96_111 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_96_111_mseg.c b/drivers/net/cnxk/tx/cn9k/tx_96_111_mseg.c new file mode 100644 index 0000000000..d006da6450 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_96_111_mseg.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_MSEG(cn9k_nix_xmit_pkts_mseg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_96_111 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_96_111_vec.c b/drivers/net/cnxk/tx/cn9k/tx_96_111_vec.c new file mode 100644 index 0000000000..a86e9fced5 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_96_111_vec.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_VEC(cn9k_nix_xmit_pkts_vec_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_96_111 +#undef T diff --git a/drivers/net/cnxk/tx/cn9k/tx_96_111_vec_mseg.c b/drivers/net/cnxk/tx/cn9k/tx_96_111_vec_mseg.c new file mode 100644 index 0000000000..8e0dbec518 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_96_111_vec_mseg.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2022 Marvell. + */ + +#include "cn9k_ethdev.h" +#include "cn9k_tx.h" + +#define T(name, sz, flags) \ + NIX_TX_XMIT_VEC_MSEG(cn9k_nix_xmit_pkts_vec_mseg_##name, sz, flags) + +NIX_TX_FASTPATH_MODES_96_111 +#undef T -- 2.17.1