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 8227045A78; Tue, 15 Oct 2024 20:35:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 667B6406B8; Tue, 15 Oct 2024 20:35:00 +0200 (CEST) Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2083.outbound.protection.outlook.com [40.107.103.83]) by mails.dpdk.org (Postfix) with ESMTP id BAE364064C for ; Tue, 15 Oct 2024 20:34:46 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mLs2CcjUayPj429LeSvRv8i+VFfiT+9dX7D2SYJUg5/eO8eIMc201d84t10umBM961aB4vwoaQowUoucRCabY0xnEBw+toN8/3KBCWekcQxZ2X1YQssXXdLrxM5ftI73/2i8e1oCvnHQzY+YXgydBDDfpqg7G1FLd/3m9MURlxgx+JEGQ8JYUbq1RRa9LTs0TX2RXNjYqCPgmVERri0rulbDYMjpjUOV90SotgoEP5wzJ9dvSWU6GrJI0lSYwCZdKISNGpUELG8TkUcfPSARRPwwf0kjGXHLUfzYFrRhIxaNOYawRRN0bysf5JV/tq/FDQzsyuRkjSRl98BgrvViIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3EGe3ekBhqnA/7RTCu90bs0AhFct3tRuAWf2fFMswsE=; b=wlQZp3QoE9lCav//4GeKn7wpAzDAE0Z2Nuif/k7ib5uJLR8tiKDJ3LwVs+Fiu/XQv9+8ZJ3n8coV7Y+rU4d4OcyLV/xhLS+k/AgI8onYtkcoFCQyP8j/CvrvlcI2CPfKzSbf3LvkVWPzRtZPRYsmfNx/AOPKquobr0t7OS4i25iYfPg1UBs/G3KChL8Y1A7ESyC8OzInLyHnqmEC6t7XJHaFxdNEFwU6OB2bTO94f1T6RkOVAHimCK5Z82EuHy4OYqbbYYalKwtEqYcgP0bKqUZZvQmrfzC13ACD8LP0jnGVNhqG5BKNMC/0XEyGz2MCA15kRfjPXXoLvX6AY/8PNg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 192.176.1.74) smtp.rcpttodomain=dpdk.org smtp.mailfrom=ericsson.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ericsson.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3EGe3ekBhqnA/7RTCu90bs0AhFct3tRuAWf2fFMswsE=; b=D7RXs6F+HWCRlR7H8yeHGnIMws0XsT//c9QcCi5SNjfbansEiOUB09kVe8L9/Re04c4BbXKlEAy4pZ09qbjS0wvQKKw0mwsvHnL6/BAs67FzVloeeaTeaKhfEooPXvjTOPNBGgiCnVCuLThsqaGWxNzPJ8g0PacMHy/+7exgRvUBbuLMnP1/NcWyJSgo6rFUTuSBI47YZ8h8Mndyrj4RITIA48vblHWg5JLBSRZKttmgDYMIjrrLJaic2Csu/47kwBzhhF2xwUdeMA+kQbT27vx2hNGesFRW4kgukq4v/ohOvgyduWHvdzhcqslNFgc6CRaE6sNIScTaP/57MhYJGQ== Received: from AM7PR03CA0012.eurprd03.prod.outlook.com (2603:10a6:20b:130::22) by AS8PR07MB9474.eurprd07.prod.outlook.com (2603:10a6:20b:633::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.26; Tue, 15 Oct 2024 18:34:43 +0000 Received: from AM2PEPF0001C70F.eurprd05.prod.outlook.com (2603:10a6:20b:130:cafe::c4) by AM7PR03CA0012.outlook.office365.com (2603:10a6:20b:130::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.17 via Frontend Transport; Tue, 15 Oct 2024 18:34:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 192.176.1.74) smtp.mailfrom=ericsson.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ericsson.com; Received-SPF: Pass (protection.outlook.com: domain of ericsson.com designates 192.176.1.74 as permitted sender) receiver=protection.outlook.com; client-ip=192.176.1.74; helo=oa.msg.ericsson.com; pr=C Received: from oa.msg.ericsson.com (192.176.1.74) by AM2PEPF0001C70F.mail.protection.outlook.com (10.167.16.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Tue, 15 Oct 2024 18:34:43 +0000 Received: from seliicinfr00050.seli.gic.ericsson.se (153.88.142.248) by smtp-central.internal.ericsson.com (100.87.178.63) with Microsoft SMTP Server id 15.2.1544.11; Tue, 15 Oct 2024 20:34:41 +0200 Received: from breslau.. (seliicwb00002.seli.gic.ericsson.se [10.156.25.100]) by seliicinfr00050.seli.gic.ericsson.se (Postfix) with ESMTP id E282F1C0073; Tue, 15 Oct 2024 20:34:40 +0200 (CEST) From: =?UTF-8?q?Mattias=20R=C3=B6nnblom?= To: Jerin Jacob CC: , =?UTF-8?q?Mattias=20R=C3=B6nnblom?= , David Marchand , "Stephen Hemminger" , Anoob Joseph , Hemant Agrawal , Sachin Saxena , Abdullah Sevincer , Pavan Nikhilesh , Shijith Thotton , Harry van Haaren , =?UTF-8?q?Mattias=20R=C3=B6nnblom?= Subject: [RFC v2 03/10] event/cnxk: remove single event enqueue and dequeue Date: Tue, 15 Oct 2024 20:25:28 +0200 Message-ID: <20241015182535.825098-4-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241015182535.825098-1-mattias.ronnblom@ericsson.com> References: <20241015084943.823983-2-mattias.ronnblom@ericsson.com> <20241015182535.825098-1-mattias.ronnblom@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM2PEPF0001C70F:EE_|AS8PR07MB9474:EE_ X-MS-Office365-Filtering-Correlation-Id: 66ad2a2f-e718-4848-9118-08dced4809b2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|1800799024|36860700013|376014|7416014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?U3Q2MTJlVEdTbEJsY1hwZ2Y2NHUwNjJVN1EzSGJNYjEwZmN4OWd6clBtYmJy?= =?utf-8?B?SzhuTS9wbVdxNlR0TkNBd1Zjc2ZHSk9OUXJWdkZmTWcxLzgxOUF2cWV3dHhq?= =?utf-8?B?RnByY1lYbVRFdVFzZXFjaFpEamlnMnQzRENPb0FwYjRiMUc4S1d4VEJ0S2NG?= =?utf-8?B?RGtVbTY0aHdFS2RTdGpFbTJUREtIL0NSVjB5UFkvZS8vOUlQM0dOdmhZVU83?= =?utf-8?B?TFlrbHV6alhEU1BZRTVqMk1vWE16SXowU2lxTDdoUzNOeGl0Qy8vUzF3VnVO?= =?utf-8?B?RytHYktHVHFlMHBBOENoamVYTFZub0FFeTFURmhQZnVYZmdkalFWNEFhaCtM?= =?utf-8?B?RHJWanU1TW80bDdYOW9KajBHVWI2b01sbDRKYkROSUNUZ2F6QUlHT01IaGl1?= =?utf-8?B?UGZudVhqNnFlbTJsSGVlNWsxTnVwZmQvVlFUWThzMHNaWUw5MkxaRG8wUlJ4?= =?utf-8?B?S3B1VWFxT1ZMdGMxWVh0b0IrdWhuRkRqVy8xTTFwL3ROdG1nM0s5YlgxcHNw?= =?utf-8?B?MzBRejIrUC9GNU9kK3pmcDNLUTlFMjBzaFE4enBOcnYxRkppVC9uRXFpK2lp?= =?utf-8?B?OWpFOWc4eUp2Uyt3V2xpZkZLT1B3R3RjTENheGVMaEcwcDdjcXdDbGRDbEo5?= =?utf-8?B?UXBORWRvZEk5RTl5SFBNTmdrcTRobWFTbjJldkUxcFQydTIreVRNTVBOTjlI?= =?utf-8?B?bnU5ckFBaitwSTVFL3N6TXhDTDVzTzBhTGZjejdvSFhGamRUWU12NFVuZXVL?= =?utf-8?B?VkJpTUI5YXN5Um5DLzRJUGg4cVZQRG5tWUFlSTVDTVFERUd5Z3h3aEtxK1VK?= =?utf-8?B?Y1JIWWk5ak9vaEZaVmNSRmREc0RtTktDMTJWOEw1OUlZQVpOZldUZStzUW9R?= =?utf-8?B?end5Z1FYTnQxc2lIYWdMWkFDckdOekR4TlAxUVI2aUgvaHV4Kzk4a2wzZlJj?= =?utf-8?B?cExjekhJQktuYm5MSjZqMzJ2MHQ2b2dWRFpINjhycVYxUGpZVVR1dVo2UVFh?= =?utf-8?B?UkZiVWF5aVA3MlU1b2JKS0pXaXBIYUpJZ1lKNFlJajl0YUxNZmRoMXF2RnFB?= =?utf-8?B?VkRhd1daZFVEUE5jSnNrWlJDZjRaRkdrT1RKcVF0NGVCdDlicXc0YTRRN3Mw?= =?utf-8?B?bGtzZHRBWGNxRDFpOWVRTnFGUEF5UlZMdHVQQkM2VzIxSmQ0N0dKcEtKRFpj?= =?utf-8?B?S2wvSFlHZFR1SDN5UThXQXFMZVJsVy8xbU9iVzN3bGpUcGJCaUgyb2tkaWd2?= =?utf-8?B?YzNqUndyUlYrNTMwRTlUdEg4U1FFbVlheXRET1RvMDBtQ2V2RGU5UnltMXZO?= =?utf-8?B?cFRIMjY0a1VGWnBKeW5UQ05heFdzc3d6cEFaMU9tVzUyemZ0THZzOGw3Tzhl?= =?utf-8?B?T1FjV0xVMk1vYjErVHJlYkRaUkdXK2w1SjIzUU1NQ1hmdkhoQ3lpeDJwYy9x?= =?utf-8?B?clBMSnFmMlZtemRPdGU4RytvNm5jcTdTK3c2ZTFyNTdFOHpjbDZ3a3B0Z1NX?= =?utf-8?B?U3M2R0VvVVdIdWlXVk9NMGdBVEJ0NjcyRjZaRzBzYU16YzY3YVkwQXdPb05N?= =?utf-8?B?TnFRTFhtMXEvTXJQQTBibnlxV1RmRTB6bmcxUnYwUHViemVnQW1Ha2RVUmJ2?= =?utf-8?B?aWJ3eDdVbm1yUWhzSDA1eThWaGJWbEk0R213MCtOZVIyejR6Z25USlNTdEZG?= =?utf-8?B?NzBxdVMzQVVVWEFUOTdHRG5IYTkxS0F4NlRKVUVmSnBXeXdUN2Y0VTFxL25Q?= =?utf-8?B?RmNVckYrdUxodjNjZ09kM0tjQmdqQ3lXZHVyMDdVKzc3azliaXlXMXV6ZVY2?= =?utf-8?B?TEd4YVFGNE9WenNENXZnTXk4N2pxZzBSWHRIVk9QYjVONWJuNm1OOGxja0Iy?= =?utf-8?Q?MQP/KwweALPi/?= X-Forefront-Antispam-Report: CIP:192.176.1.74; CTRY:SE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:oa.msg.ericsson.com; PTR:office365.se.ericsson.net; CAT:NONE; SFS:(13230040)(82310400026)(1800799024)(36860700013)(376014)(7416014); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2024 18:34:43.5424 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 66ad2a2f-e718-4848-9118-08dced4809b2 X-MS-Exchange-CrossTenant-Id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=92e84ceb-fbfd-47ab-be52-080c6b87953f; Ip=[192.176.1.74]; Helo=[oa.msg.ericsson.com] X-MS-Exchange-CrossTenant-AuthSource: AM2PEPF0001C70F.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR07MB9474 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 Signed-off-by: Mattias Rönnblom --- drivers/event/cnxk/cn10k_eventdev.c | 2 -- drivers/event/cnxk/cn10k_worker.c | 49 +++++++++++++---------------- drivers/event/cnxk/cn10k_worker.h | 9 ------ drivers/event/cnxk/cn9k_eventdev.c | 1 - drivers/event/cnxk/cn9k_worker.c | 26 +++++---------- drivers/event/cnxk/cn9k_worker.h | 17 ---------- 6 files changed, 30 insertions(+), 74 deletions(-) diff --git a/drivers/event/cnxk/cn10k_eventdev.c b/drivers/event/cnxk/cn10k_eventdev.c index 531c489172..13efe7b50c 100644 --- a/drivers/event/cnxk/cn10k_eventdev.c +++ b/drivers/event/cnxk/cn10k_eventdev.c @@ -514,7 +514,6 @@ cn10k_sso_fp_fns_set(struct rte_eventdev *event_dev) cn10k_sso_fp_blk_fns_set(event_dev); cn10k_sso_fp_tmplt_fns_set(event_dev); - event_dev->enqueue = cn10k_sso_hws_enq; event_dev->enqueue_burst = cn10k_sso_hws_enq_burst; event_dev->enqueue_new_burst = cn10k_sso_hws_enq_new_burst; event_dev->enqueue_forward_burst = cn10k_sso_hws_enq_fwd_burst; @@ -848,7 +847,6 @@ eventdev_fops_update(struct rte_eventdev *event_dev) struct rte_event_fp_ops *fp_op = rte_event_fp_ops + event_dev->data->dev_id; - fp_op->dequeue = event_dev->dequeue; fp_op->dequeue_burst = event_dev->dequeue_burst; } diff --git a/drivers/event/cnxk/cn10k_worker.c b/drivers/event/cnxk/cn10k_worker.c index a0e85face1..c49138316c 100644 --- a/drivers/event/cnxk/cn10k_worker.c +++ b/drivers/event/cnxk/cn10k_worker.c @@ -107,32 +107,6 @@ sso_lmt_aw_wait_fc(struct cn10k_sso_hws *ws, int64_t req) } } -uint16_t __rte_hot -cn10k_sso_hws_enq(void *port, const struct rte_event *ev) -{ - struct cn10k_sso_hws *ws = port; - - switch (ev->op) { - case RTE_EVENT_OP_NEW: - return cn10k_sso_hws_new_event(ws, ev); - case RTE_EVENT_OP_FORWARD: - cn10k_sso_hws_forward_event(ws, ev); - break; - case RTE_EVENT_OP_RELEASE: - if (ws->swtag_req) { - cnxk_sso_hws_desched(ev->u64, ws->base); - ws->swtag_req = 0; - break; - } - cnxk_sso_hws_swtag_flush(ws->base); - break; - default: - return 0; - } - - return 1; -} - #define VECTOR_SIZE_BITS 0xFFFFFFFFFFF80000ULL #define VECTOR_GET_LINE_OFFSET(line) (19 + (3 * line)) @@ -384,8 +358,29 @@ uint16_t __rte_hot cn10k_sso_hws_enq_burst(void *port, const struct rte_event ev[], uint16_t nb_events) { + struct cn10k_sso_hws *ws = port; + RTE_SET_USED(nb_events); - return cn10k_sso_hws_enq(port, ev); + + switch (ev->op) { + case RTE_EVENT_OP_NEW: + return cn10k_sso_hws_new_event(ws, ev); + case RTE_EVENT_OP_FORWARD: + cn10k_sso_hws_forward_event(ws, ev); + break; + case RTE_EVENT_OP_RELEASE: + if (ws->swtag_req) { + cnxk_sso_hws_desched(ev->u64, ws->base); + ws->swtag_req = 0; + break; + } + cnxk_sso_hws_swtag_flush(ws->base); + break; + default: + return 0; + } + + return 1; } uint16_t __rte_hot diff --git a/drivers/event/cnxk/cn10k_worker.h b/drivers/event/cnxk/cn10k_worker.h index 4785cc6575..4c4ba632f5 100644 --- a/drivers/event/cnxk/cn10k_worker.h +++ b/drivers/event/cnxk/cn10k_worker.h @@ -366,7 +366,6 @@ cn10k_sso_hws_get_work_empty(struct cn10k_sso_hws *ws, struct rte_event *ev, } /* CN10K Fastpath functions. */ -uint16_t __rte_hot cn10k_sso_hws_enq(void *port, const struct rte_event *ev); uint16_t __rte_hot cn10k_sso_hws_enq_burst(void *port, const struct rte_event ev[], uint16_t nb_events); @@ -381,8 +380,6 @@ int __rte_hot cn10k_sso_hws_preschedule_modify(void *port, enum rte_event_dev_preschedule_type type); #define R(name, flags) \ - uint16_t __rte_hot cn10k_sso_hws_deq_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_deq_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ @@ -421,8 +418,6 @@ int __rte_hot cn10k_sso_hws_preschedule_modify(void *port, uint16_t __rte_hot cn10k_sso_hws_deq_tmo_ca_seg_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn10k_sso_hws_reas_deq_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_reas_deq_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ @@ -519,12 +514,8 @@ NIX_RX_FASTPATH_MODES return fn(port, ev, timeout_ticks); \ } -uint16_t __rte_hot cn10k_sso_hws_deq_all_offload(void *port, struct rte_event *ev, - uint64_t timeout_ticks); uint16_t __rte_hot cn10k_sso_hws_deq_burst_all_offload(void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); -uint16_t __rte_hot cn10k_sso_hws_deq_all_offload_tst(void *port, struct rte_event *ev, - uint64_t timeout_ticks); uint16_t __rte_hot cn10k_sso_hws_deq_burst_all_offload_tst(void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); diff --git a/drivers/event/cnxk/cn9k_eventdev.c b/drivers/event/cnxk/cn9k_eventdev.c index 377e910837..8422f452d2 100644 --- a/drivers/event/cnxk/cn9k_eventdev.c +++ b/drivers/event/cnxk/cn9k_eventdev.c @@ -917,7 +917,6 @@ eventdev_fops_tstamp_update(struct rte_eventdev *event_dev) struct rte_event_fp_ops *fp_op = rte_event_fp_ops + event_dev->data->dev_id; - fp_op->dequeue = event_dev->dequeue; fp_op->dequeue_burst = event_dev->dequeue_burst; } diff --git a/drivers/event/cnxk/cn9k_worker.c b/drivers/event/cnxk/cn9k_worker.c index a9ac49a5a7..86aa3f1c30 100644 --- a/drivers/event/cnxk/cn9k_worker.c +++ b/drivers/event/cnxk/cn9k_worker.c @@ -8,10 +8,13 @@ #include "cn9k_cryptodev_ops.h" uint16_t __rte_hot -cn9k_sso_hws_enq(void *port, const struct rte_event *ev) +cn9k_sso_hws_enq_burst(void *port, const struct rte_event ev[], + uint16_t nb_events) { struct cn9k_sso_hws *ws = port; + RTE_SET_USED(nb_events); + switch (ev->op) { case RTE_EVENT_OP_NEW: return cn9k_sso_hws_new_event(ws, ev); @@ -33,14 +36,6 @@ cn9k_sso_hws_enq(void *port, const struct rte_event *ev) return 1; } -uint16_t __rte_hot -cn9k_sso_hws_enq_burst(void *port, const struct rte_event ev[], - uint16_t nb_events) -{ - RTE_SET_USED(nb_events); - return cn9k_sso_hws_enq(port, ev); -} - uint16_t __rte_hot cn9k_sso_hws_enq_new_burst(void *port, const struct rte_event ev[], uint16_t nb_events) @@ -80,11 +75,14 @@ cn9k_sso_hws_profile_switch(void *port, uint8_t profile) /* Dual ws ops. */ uint16_t __rte_hot -cn9k_sso_hws_dual_enq(void *port, const struct rte_event *ev) +cn9k_sso_hws_dual_enq_burst(void *port, const struct rte_event ev[], + uint16_t nb_events) { struct cn9k_sso_hws_dual *dws = port; uint64_t base; + RTE_SET_USED(nb_events); + base = dws->base[!dws->vws]; switch (ev->op) { case RTE_EVENT_OP_NEW: @@ -107,14 +105,6 @@ cn9k_sso_hws_dual_enq(void *port, const struct rte_event *ev) return 1; } -uint16_t __rte_hot -cn9k_sso_hws_dual_enq_burst(void *port, const struct rte_event ev[], - uint16_t nb_events) -{ - RTE_SET_USED(nb_events); - return cn9k_sso_hws_dual_enq(port, ev); -} - uint16_t __rte_hot cn9k_sso_hws_dual_enq_new_burst(void *port, const struct rte_event ev[], uint16_t nb_events) diff --git a/drivers/event/cnxk/cn9k_worker.h b/drivers/event/cnxk/cn9k_worker.h index c92fa72f11..dfbd1de99f 100644 --- a/drivers/event/cnxk/cn9k_worker.h +++ b/drivers/event/cnxk/cn9k_worker.h @@ -359,7 +359,6 @@ cn9k_sso_hws_get_work_empty(uint64_t base, struct rte_event *ev, } /* CN9K Fastpath functions. */ -uint16_t __rte_hot cn9k_sso_hws_enq(void *port, const struct rte_event *ev); uint16_t __rte_hot cn9k_sso_hws_enq_burst(void *port, const struct rte_event ev[], uint16_t nb_events); @@ -371,8 +370,6 @@ uint16_t __rte_hot cn9k_sso_hws_enq_fwd_burst(void *port, uint16_t nb_events); int __rte_hot cn9k_sso_hws_profile_switch(void *port, uint8_t profile); -uint16_t __rte_hot cn9k_sso_hws_dual_enq(void *port, - const struct rte_event *ev); uint16_t __rte_hot cn9k_sso_hws_dual_enq_burst(void *port, const struct rte_event ev[], uint16_t nb_events); @@ -451,8 +448,6 @@ NIX_RX_FASTPATH_MODES #define SSO_DEQ_TMO_SEG(fn, flags) SSO_DEQ_TMO(fn, flags | NIX_RX_MULTI_SEG_F) #define R(name, flags) \ - uint16_t __rte_hot cn9k_sso_hws_dual_deq_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn9k_sso_hws_dual_deq_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ @@ -542,12 +537,6 @@ NIX_RX_FASTPATH_MODES return fn(port, ev, timeout_ticks); \ } -uint16_t __rte_hot cn9k_sso_hws_deq_all_offload(void *port, struct rte_event *ev, - uint64_t timeout_ticks); - -uint16_t __rte_hot cn9k_sso_hws_deq_dual_all_offload(void *port, struct rte_event *ev, - uint64_t timeout_ticks); - uint16_t __rte_hot cn9k_sso_hws_deq_burst_all_offload(void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); @@ -555,12 +544,6 @@ uint16_t __rte_hot cn9k_sso_hws_deq_dual_burst_all_offload(void *port, struct rt uint16_t nb_events, uint64_t timeout_ticks); -uint16_t __rte_hot cn9k_sso_hws_deq_all_offload_tst(void *port, struct rte_event *ev, - uint64_t timeout_ticks); - -uint16_t __rte_hot cn9k_sso_hws_deq_dual_all_offload_tst(void *port, struct rte_event *ev, - uint64_t timeout_ticks); - uint16_t __rte_hot cn9k_sso_hws_deq_burst_all_offload_tst(void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); -- 2.43.0