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 1E799A034E; Thu, 20 Jan 2022 15:52:14 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D7850426FB; Thu, 20 Jan 2022 15:51:56 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id B708F426F7 for ; Thu, 20 Jan 2022 15:51:54 +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 20KAAYaN026995 for ; Thu, 20 Jan 2022 06:51:54 -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=K6V7OT/wI5uqVE7+vTxifN8a4iDIzQ9Ci3LlhFLDidI=; b=ULAK2c2URFMWr5rMTW+ZLS9ShBw+X7W8g4aXXwGyXHj8u0+kz0Volmv06/q0bayTP+Nh lkzuegwYnvEXHmYVaOyeHrhS/8nF5E0nmgdHWJd5ck1uY7jvMMFQwmD78mbURiWd2qpa 4ikKr4dWJ+CFKGKdqnmwWR52k6eS805sL9pogdzL1Hv0mv8KlhlL+QJmh1Yw6DjyG3Li dpNxbC0IjIYaZgbAV+d0MCfUpTdrH++dlGFTWhEK+28MQryx2WZFsKZUo6lbSQYrXzcr nlM693qOR6V0BB/mOSjztNTrWlqjuVKj17NPe4nnR2n3F1I1KZ1ojYWkXGU1a5OzOZ06 xQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3dq5re0w76-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 20 Jan 2022 06:51:53 -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; Thu, 20 Jan 2022 06:51:51 -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; Thu, 20 Jan 2022 06:51:51 -0800 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id 02FF23F7048; Thu, 20 Jan 2022 06:51:48 -0800 (PST) From: To: , Pavan Nikhilesh , "Shijith Thotton" , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao CC: Subject: [PATCH v2 3/8] net/cnxk: add CN9K segregated Tx functions Date: Thu, 20 Jan 2022 20:21:28 +0530 Message-ID: <20220120145136.7844-3-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220120145136.7844-1-pbhagavatula@marvell.com> References: <20220120145136.7844-1-pbhagavatula@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: Nr-bHB6teVbVeMzUb1o5ajzpeprvOiQF X-Proofpoint-ORIG-GUID: Nr-bHB6teVbVeMzUb1o5ajzpeprvOiQF 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-20_04,2022-01-20_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..3fd3b69cbf --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_0_15.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2021 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..5ef91b9aad --- /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) 2021 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..5df202b230 --- /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) 2021 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..8999ab231a --- /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) 2021 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..b56ab7eb84 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_112_127.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2021 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..2651eacbfa --- /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) 2021 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..6c3ad45773 --- /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) 2021 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..d060f7f8bb --- /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) 2021 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..f404275120 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_16_31.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2021 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..aac71bbfcc --- /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) 2021 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..9ae00624a9 --- /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) 2021 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..2ce606991f --- /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) 2021 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..98d95f3524 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_32_47.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2021 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..c66fa9b6c7 --- /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) 2021 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..9ae47b4d62 --- /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) 2021 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..77983871c9 --- /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) 2021 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..c585947397 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_48_63.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2021 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..6ff2d978d6 --- /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) 2021 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..c251ffd35c --- /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) 2021 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..34554d6c90 --- /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) 2021 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..d0a00bba05 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_64_79.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2021 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..8aaea58dee --- /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) 2021 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..9b9ef59b9e --- /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) 2021 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..42e1d44906 --- /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) 2021 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..47b6808689 --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_80_95.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2021 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..f37427a91b --- /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) 2021 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..231dc03c19 --- /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) 2021 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..4bf3fa9142 --- /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) 2021 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..d2ad48908b --- /dev/null +++ b/drivers/event/cnxk/tx/cn9k/tx_96_111.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2021 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..dc0289ce32 --- /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) 2021 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..910a0c7d49 --- /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) 2021 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..96f129a34e --- /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) 2021 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..13d97e70dc --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_0_15.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2021 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..c278716561 --- /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) 2021 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..33c60ab051 --- /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) 2021 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..86b91d9203 --- /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) 2021 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..f3b4dd23af --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_112_127.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2021 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..d3e3b38639 --- /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) 2021 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..96b7a7b29b --- /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) 2021 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..f940fc6f32 --- /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) 2021 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..3c21035e64 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_16_31.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2021 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..95c8409824 --- /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) 2021 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..652b118d29 --- /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) 2021 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..2d605e1b4c --- /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) 2021 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..9041cc8628 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_32_47.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2021 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..c14cecc837 --- /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) 2021 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..94c7a1ac8e --- /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) 2021 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..2e787391ef --- /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) 2021 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..df0f935319 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_48_63.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2021 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..663e19f5bc --- /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) 2021 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..2ac8ab01fb --- /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) 2021 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..e1808fd0ff --- /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) 2021 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..2d202ef7a7 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_64_79.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2021 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..ff9657819e --- /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) 2021 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..ad5fb44421 --- /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) 2021 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..1da905c717 --- /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) 2021 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..3090207ec4 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_80_95.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2021 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..ea59d546b7 --- /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) 2021 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..617ae6468b --- /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) 2021 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..6d7c219a72 --- /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) 2021 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..7a5c55de73 --- /dev/null +++ b/drivers/net/cnxk/tx/cn9k/tx_96_111.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2021 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..9268544a39 --- /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) 2021 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..842bf336d5 --- /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) 2021 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..5fad1baea7 --- /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) 2021 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