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 2989A45B42; Tue, 15 Oct 2024 10:59:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4EA9240684; Tue, 15 Oct 2024 10:59:06 +0200 (CEST) Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2068.outbound.protection.outlook.com [40.107.249.68]) by mails.dpdk.org (Postfix) with ESMTP id 8F976400D7 for ; Tue, 15 Oct 2024 10:58:53 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ko1Zv8lKCXw64ijCl1fTB0MttLmyg59jFPYfC+3PV+83SH7pWj41eDFPtYtQCmdP6c+m2KsJEIxIlt/J+5k9PfEXO72rgAs4vCePIdOfKGlg/t2728+2BhGRnfcUvgcOxKK+JiPMPVnyz0ZZUZ9PgorH49SUsJoHKAcL1tAzu83YcKkl+O7AvIU7Xz5TIRxsh2NOV8w+WaaJOM6uusvPNSrOzHidZFdLjKXthm+kdM3ORlplKaifhZejc2T/o5eD9Peqe3kOzmq9lAn09vihnXTcsz1GcX7fdVrSa8xH5tnVqOsPm6zPNMUCB90sHYCHyqAkczVevpHZ6IROXHmUKQ== 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=wgne08Jw6ayOA2mEghbPGI1gmb0JdN8v4xt9mHAO5kVc4diiissNleMDb39Mna+DraedE7Zs0uX9N8+qA1kkCkJeWGFfgnsawrk8Ae1oDh1ehzI5EBy/Z3FHavynQnou1FeJDtZJnzz6FT5JWGFiogp1heKzR4TxeObazAVRc1gvg+RV3dG8bZYRAN4BKs8/jThTJIjM0X3nU1DUjTO+N2QDhdLeZeFlt7LpRMc6H8jL2Lu0/8rLoCJTJ9WNirFvuISPVf61n804uS2jN0uTfAxlrUJuYHd6xYhoT4GGOS99t1NiuY6fltRfjhljiws8g2FML4rAWeNIAdKNHWHNVA== 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=KanRxnGoUU1zEqPzfhP8dxvGnAOhWXLELM61yE7eMj3Y9YfHlwrqrJM3Yio2fqxvh+WybWcsECxCijEv+YZRB+pkPlMHg9v6SgUuO6UKilvjcio4pT44ZhMqMgf8bTXLOVPGBVnghErJcgJbZ0trBBpZE/vs4lMqUh1KAIpeIszcOb62dRs13s4+yp4n+YBgL/Fb5EOOgjHfD5ojfleFnE1xqq0atwfpIqt7SOAqCiWPU+kFWvNqPa1u4J6bCS/FAxexdDk195IBdJ7K3lKbNk2TIRcxpcJIt0AgJXt0+86duk0Hoxg0rnjCNG8CPVAb+8EMj68HrCO9Tl6F5bYa0g== Received: from AS9PR06CA0500.eurprd06.prod.outlook.com (2603:10a6:20b:49b::25) by DB9PR07MB7289.eurprd07.prod.outlook.com (2603:10a6:10:1f9::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.27; Tue, 15 Oct 2024 08:58:49 +0000 Received: from AM4PEPF00025F96.EURPRD83.prod.outlook.com (2603:10a6:20b:49b:cafe::d5) by AS9PR06CA0500.outlook.office365.com (2603:10a6:20b:49b::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.27 via Frontend Transport; Tue, 15 Oct 2024 08:58:49 +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 AM4PEPF00025F96.mail.protection.outlook.com (10.167.16.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.1 via Frontend Transport; Tue, 15 Oct 2024 08:58:49 +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 10:58:48 +0200 Received: from breslau.. (seliicwb00002.seli.gic.ericsson.se [10.156.25.100]) by seliicinfr00050.seli.gic.ericsson.se (Postfix) with ESMTP id BF1E71C0073; Tue, 15 Oct 2024 10:58:48 +0200 (CEST) From: =?UTF-8?q?Mattias=20R=C3=B6nnblom?= To: Jerin Jacob CC: , =?UTF-8?q?Mattias=20R=C3=B6nnblom?= , David Marchand , =?UTF-8?q?Mattias=20R=C3=B6nnblom?= Subject: [RFC 03/10] event/cnxk: remove single event enqueue and dequeue Date: Tue, 15 Oct 2024 10:49:36 +0200 Message-ID: <20241015084943.823983-4-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241015084943.823983-1-mattias.ronnblom@ericsson.com> References: <20241015084943.823983-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: AM4PEPF00025F96:EE_|DB9PR07MB7289:EE_ X-MS-Office365-Filtering-Correlation-Id: 3ef6cbb4-90ce-4b63-71b9-08dcecf795bc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|1800799024|376014|82310400026; X-Microsoft-Antispam-Message-Info: =?utf-8?B?enhxSUt5NTd0RzZrY3hJVGh5eGo1LzFUQlR3NWRWSkptS29MT3krdC9SWXFl?= =?utf-8?B?ZWFGdTVsQzhaRm96bHVKSjFCcVY2UG9rVE1ibzB5Zy9nOGt2Qi9DVWh5WDhi?= =?utf-8?B?NEo3OXMyYVNzVHc0VEQ4MmtXU0VOM0hGc1ZsQnd2V0h5aCtwOVhDS1lURXJ2?= =?utf-8?B?MDM1aVFkMlp5a2prYUQrelA1VFZaWGJOS0xGRVVwbjJVVG54MjRZU1FRNFBn?= =?utf-8?B?b3VoVkdVMzNRMDh2V2UvS1liQ0IwR1cvc3dWdng0UFo3MzdYSXBvQlplbE9W?= =?utf-8?B?SlNvb2NPdGxtVTBVOFpUVElGYU8rMU1xaU9JcjU0eDZoeEswSHRybXdCR3RH?= =?utf-8?B?aVNaYkNzcFpYYVdSNmlsN2RnaUJ5T1A0Uno2b1BIcVU0V0ZoRTlsU0NKaS8y?= =?utf-8?B?LzcrSy8wNGo5L1NVV3FNN2E4elVIU2hGdUVMekNIRlVJUVRKMGptMVBBWUdD?= =?utf-8?B?NVRDUWcycXZBaGhhNDNyMDczYnNjRGwvQlZsRjNLWDZMT05UV2xCK3lubjJL?= =?utf-8?B?UTRRdm9IaTlBeFZVS2FJbm0xb3ZVZnZ0Rk5POGQzVG12R3J3dE9iSTNERkZR?= =?utf-8?B?b29panVKR1VVaXR5TXAxSENuemlqWm45cDMrQkErQSswSUtjc1FpUjJUU3VP?= =?utf-8?B?ZHZGQ29Oa0RhR3FwWGJvWnhnVXAvUG5TUStRWXNIb1hYanlvVStyUk0vbmpV?= =?utf-8?B?V1lLcTltN2lhTTRYWDVzdFhFZFBRZW8raFVsSlVKNkpqUzNFdEZPYXZUZDlt?= =?utf-8?B?ay9CaStyTTVWTHhUNUJDSWdJUEFvbkVPZ3d4SER1cndnOFlhV1NObFlxb01s?= =?utf-8?B?Ym9rM1FVakVBMmlwSmhldXIxZlVYQkxPaWVnSGRTd2o4WnpGdDJQTnEwRFB3?= =?utf-8?B?VjMxSWtPWFN3cVNXcEdWMHFxYkswNVFMa2ExRFErdmZHSTNYS0ZLRFNlKzYz?= =?utf-8?B?ZWxaREwxenJpaHVaSDU2OWV0WmNPVEJkWXZPK3hYQTArdTVqRlVnVStrVVlF?= =?utf-8?B?eDQ4TjUyZFVHZ1UvQTMvVk9PWnNySlBYeEU1TnB6WU41a3Y2QUVZMk1pZE96?= =?utf-8?B?Z1R6OUhmWEgwNU5rWTAyUThoR2lzUjZHVlo2ZnY1emJNdmp5SkxDV0pJVHBW?= =?utf-8?B?aFRLMWtSQlZTc1NuTHFQTUdrZTdoUTBTaTdkZmNpT2JuaWoxS0lRdjIvNWJh?= =?utf-8?B?NWt0d2cvM1VKMy9CWWswZXo5ejBYaVJrUUFZeGNVSk5OS1EzSDIzSkdYNU1T?= =?utf-8?B?QWxvZHFVU1lKVjhZam9UNHVNRU5KblAvdjFLOXhpSHBVd2lvUld1eXpuNVUr?= =?utf-8?B?Z2dTOGlJNkcwdXRSbnJMQTJUc1U2dHJVbWtrS3g4S1ZUUFpPV0dtMUdUTjFp?= =?utf-8?B?di84c0Iyak5WZ1pUNDVNUFg4MEVwNGNHaCtiUmJXTms1TGdQOFBEanA2MWFC?= =?utf-8?B?NU5vR3V2djB0VUFEa0E1dTE4TTdUOFRWSFBqd0JaN2l0dUFYVjY4UHcwSGhT?= =?utf-8?B?UkE0UTZoSFNtcDBHK0RYbFdxU0RjaWNVaVloc1hPeXJvak0xQUgzQkswZzNE?= =?utf-8?B?WjlvNGhzeTBnT1RxTXppRjdOU3o4SVhvMHZpUUphbjBkQmRmN2NtemVHWllV?= =?utf-8?B?QldvQnNDamxBU2JRazRuaURXdjBoZ0tHNFVEMU1KbHRJMmtKZDJQRklad1lC?= =?utf-8?B?ZlF5WlIxaGV0QTFVb0Vmd3JzUlZCVGhoUFV5UEx3NHo3VTBuMmp6RkRnRUZZ?= =?utf-8?B?WU0zTGVwSXVyWW4veHFlK2pvRnZKWGEzSnJmL1hXMFJHbTJZU3Z0NG9qeFlH?= =?utf-8?B?djMweFhvNFVYMDhuT1FyNUxlNTBMRHdMVWlUMjYyL2hXdUlRS1NGK1g1L0hl?= =?utf-8?Q?vSD6uhp3S6bvm?= 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)(36860700013)(1800799024)(376014)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2024 08:58:49.2375 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3ef6cbb4-90ce-4b63-71b9-08dcecf795bc 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: AM4PEPF00025F96.EURPRD83.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR07MB7289 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