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 BF1FF45A78; Tue, 15 Oct 2024 20:34:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 78F8E402C4; Tue, 15 Oct 2024 20:34:50 +0200 (CEST) Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2076.outbound.protection.outlook.com [40.107.247.76]) by mails.dpdk.org (Postfix) with ESMTP id A83E1400D7 for ; Tue, 15 Oct 2024 20:34:44 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=eFGbYKZK1N6aRMMkJleidJPzahh7KRsF71Aj9MsKcw6BszD4PzvxmmGnYI3t/3m4HSnzGInn65V3Ntny7SDjFhvAZKUVpfiXqWFA1ndkIWww3Kqf3q2V/A+lZ5U2RhHNhI3WnEdfnKMrXFsG47eKzXd/Flzlf0Wif6gfYpC0ELEbNvb4zLw/J3o40WijBK8wBPru09yYoZDRNlmCePSrKZdx7KD3QAcbuxGamlCA7gpOlv4nsORcblbgZu6QEh7p6OXeKVwCIScbQIDE3JlN8ozWXmLm+IM9i4rAPPDFpo6KjvzGYSJe2d0+chhrL4p5fXnSRW31kTC9VaV/ELZkmw== 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=JSt4RlIQqhYWVi+biHygp5iwzs5dH6cz1VPEQmJKoIc=; b=YSXZ1jXUZn0TyDenRvQdD/oW82Jf074HLx3jV2RSF/cjyv08yHpMm5syjVmVZ4uXLJbF3xQeIbc2Z4bxITfLlJ82Je8xL+3B9Gim4iaj8+AvVmQPi2WAB50LHz5EHqXlOS7yL+E8vbctxRA/wkkx/YVRJLQqusmhzNe0NnVTdujzFq9IVzrWmS7vznEttG5uwl8XE9n0hEqEgIRdesiCztfAIK6KsgNEte0oyRm9w/vQ3WkBM540Ovd7AGY+ShBYwJby7CBV3M0IB/H+BDQajO02kgnaEyvT5tpwNDWdoHnss/MP9f+Iye9Rmb2QE/0XCghqtJym/4t5naZMo//Ukg== 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=JSt4RlIQqhYWVi+biHygp5iwzs5dH6cz1VPEQmJKoIc=; b=rwYzu0ej9hbPiRsFw2tpU3JrGnnXYAxNCAvxRUHH8PWqV19ZBg30KBzXbl2pJv21tsH7w+WUbAEyBDnXC19cMtkjVFTwYTwd1sUmQ+MWzBsnYWnrNNgesrhnO1C7qdNHGGXHioirJayLd0nb389HYpu+aWt8CiK9KnFnXepVQ2zc0vN5gKMwk8HPIs9BxEojye8Rtzz8KUU3Tq5QqoQWglwZ7x+A07dTeSZv88UdHNofHe5nwfNtBBNY6FbbyoP8fcvBSlH6CqwoT/++2XDHWDLvJsJow/U9klNwvw3GCqBBiTTh/jpNTFUpsSY4wzQb2BXKCd5sbjXlA+dV3Zkj3g== Received: from AM0PR08CA0031.eurprd08.prod.outlook.com (2603:10a6:208:d2::44) by VI1PR07MB9543.eurprd07.prod.outlook.com (2603:10a6:800:1cf::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 18:34:42 +0000 Received: from AMS0EPF000001A3.eurprd05.prod.outlook.com (2603:10a6:208:d2:cafe::cd) by AM0PR08CA0031.outlook.office365.com (2603:10a6:208:d2::44) 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:42 +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 AMS0EPF000001A3.mail.protection.outlook.com (10.167.16.228) 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:42 +0000 Received: from seliicinfr00050.seli.gic.ericsson.se (153.88.142.248) by smtp-central.internal.ericsson.com (100.87.178.68) 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 337771C0073; Tue, 15 Oct 2024 20:34:41 +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 07/10] event/dpaa2: remove single event enqueue and dequeue Date: Tue, 15 Oct 2024 20:25:32 +0200 Message-ID: <20241015182535.825098-8-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: AMS0EPF000001A3:EE_|VI1PR07MB9543:EE_ X-MS-Office365-Filtering-Correlation-Id: f862a6af-043f-4cef-a02b-08dced4808eb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|376014|36860700013|7416014|82310400026; X-Microsoft-Antispam-Message-Info: =?utf-8?B?SHFjZnowSzZLMlVCT2VCMkZZTkMxUVlGUEJublpXSjVFbFN3QnI1NVREZStL?= =?utf-8?B?bDhLYnA4ZTc5SldIbVV3NXd6NlQ5VlEvSjBCT3RnZ1hJVXVEQUZMYUtqUnlQ?= =?utf-8?B?M1prdHN5QlluUlNMTnZ2Z1VwL0FxZ09Fa1pUSzlyUDRqU3VoOVZBcHRma0Vv?= =?utf-8?B?SUZ6Q2Q4S2ZnT0lCNTB1eG0rVVB3c0o0UjA0Qk04YnExTldESnFhV1ZzMXdR?= =?utf-8?B?L2lZbWZkOXg2MmxzalliN1M0RUliUkVmdjlGNVF1M1AvT3hFV3Q3b1kvNFBY?= =?utf-8?B?SnBGaWVCOTAyd001QlZnc1kxNkZ1dkJZY3F2b3BmQWV6bzZCSFJKQWE1WGtV?= =?utf-8?B?K2didmFZYWlyeER0TFlpZVRvYnl1TG9udFBRdVFoMEowWmptMmYzZTZFbGN6?= =?utf-8?B?bXphTlhQdWZ2b2RDWkpyVlNXNHRpNEhadWxzN28ybE53Z2E5VGRqQTBHV211?= =?utf-8?B?dEhzRHJQTUlaYzJsc1UxYTFySDJtU2Z1bytjWlBJSVdoaT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naExGUkQrVkVSZGFOMjNrMldjcUVmQ2YyWnRD?= =?utf-8?B?MWc4N1MrUkdsVTBhMUUrUmFFbFExdlFTNUhRM052a2Qrcjl4U3hQOUo1YjdL?= =?utf-8?B?QTJvNjNteS9KWHZNNDErbngvdnpvQUlOVGVpazRaMnBGNThrcmo2c2hvMGI5?= =?utf-8?B?NDJrczhKTENwcW5nSzlQTWNvMG9nZzk3VGt0bHM5S0x0V082MFZuU1hIVnYw?= =?utf-8?B?NkpJR01rU2hPMVpISE1LOVpqT3RDYnFHL3hXZjdMaGNxU09LKzNadnZ6UjBD?= =?utf-8?B?M0NOMjY2cFBVc1pBaFNuc1NQbTUyS3JKYUtuaTN2ZnIvaFp2QytDUTkyTFE4?= =?utf-8?B?SkJtTWtkemdrSVd5V3VOM1RIdWNkZ1F0a2JWaFVuclM3QWlkRXdxWUFLY2NI?= =?utf-8?Q?b3oWUTxUkLnK7iotz8QMiyauaZs3waoQgFneI=3D?= 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)(1800799024)(376014)(36860700013)(7416014)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2024 18:34:42.2386 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f862a6af-043f-4cef-a02b-08dced4808eb 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: AMS0EPF000001A3.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB9543 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 -- RFC v2: * Remove unused functions. --- drivers/event/dpaa2/dpaa2_eventdev.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index f0b2c7de99..6c8ed3ff6b 100644 --- a/drivers/event/dpaa2/dpaa2_eventdev.c +++ b/drivers/event/dpaa2/dpaa2_eventdev.c @@ -202,12 +202,6 @@ dpaa2_eventdev_enqueue_burst(void *port, const struct rte_event ev[], } -static uint16_t -dpaa2_eventdev_enqueue(void *port, const struct rte_event *ev) -{ - return dpaa2_eventdev_enqueue_burst(port, ev, 1); -} - static void dpaa2_eventdev_dequeue_wait(uint64_t timeout_ticks) { struct epoll_event epoll_ev; @@ -363,13 +357,6 @@ dpaa2_eventdev_dequeue_burst(void *port, struct rte_event ev[], return 0; } -static uint16_t -dpaa2_eventdev_dequeue(void *port, struct rte_event *ev, - uint64_t timeout_ticks) -{ - return dpaa2_eventdev_dequeue_burst(port, ev, 1, timeout_ticks); -} - static void dpaa2_eventdev_info_get(struct rte_eventdev *dev, struct rte_event_dev_info *dev_info) @@ -1105,11 +1092,9 @@ dpaa2_eventdev_create(const char *name, struct rte_vdev_device *vdev) } eventdev->dev_ops = &dpaa2_eventdev_ops; - eventdev->enqueue = dpaa2_eventdev_enqueue; eventdev->enqueue_burst = dpaa2_eventdev_enqueue_burst; eventdev->enqueue_new_burst = dpaa2_eventdev_enqueue_burst; eventdev->enqueue_forward_burst = dpaa2_eventdev_enqueue_burst; - eventdev->dequeue = dpaa2_eventdev_dequeue; eventdev->dequeue_burst = dpaa2_eventdev_dequeue_burst; eventdev->txa_enqueue = dpaa2_eventdev_txa_enqueue; eventdev->txa_enqueue_same_dest = dpaa2_eventdev_txa_enqueue_same_dest; -- 2.43.0