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 B614345B90; Mon, 21 Oct 2024 11:01:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1899940A84; Mon, 21 Oct 2024 11:01:14 +0200 (CEST) Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2048.outbound.protection.outlook.com [40.107.247.48]) by mails.dpdk.org (Postfix) with ESMTP id 1856E4067A for ; Mon, 21 Oct 2024 11:01:10 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CrycGhUp/iRdZv/rZrR6lC1tp2jPlo+04E+Gci+qikwbFmURr01daR3YiOb0d13UKuhslwxnGSyEC5HFA3vYOJUF5AQNSVCD4AS7BvTAIxKWFK3Ou5uDgnvURz0wyxHHbXdsIpHdqHVEYbCk+16zIjJJ4PiSvo4BPiSCsJhj5PYZF8BSEycO/LK4C04jU9qDUom6eCg1Pkzw8kp52GvPQfYGa+hZRPUDwclBw0oKK140ex4G33tUOnswiILJcLwSaLhLNLJaY8a7D0NPlGaqUhc7Ngk4JgyyEfTK42hyZklrOv6MnPuTkkLHCIIl1LE/iU8viUYwhROFaowk0lSNbw== 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=fitKtXOpulHAuvsbUePIYIeyFiUua11ILzA3b4l0qpU=; b=UdP4ZigvTvV8QVEtw9lhz9pRm0j+afWDDToUGkvzScAc1aframroe8QjqRDLYcRba7SHL9yxdsMwQmouc4VCWmhuFQ2ROQ/OxqAIltLVlfnCnUHWFMJBwbl5OssX3C3Zk7ZWQFh2V3w/BxrsRVab7PJkpTUI8Xu1rpIv6GKqAkIx809Iq1sIpJx56g7M1w6oY30Y7tKCzZWsAfIYqCOUwfBShF79SFzZSLpIG8geds/uCN3JOW0tLeagE3CScVDXkGxYuKLMMFC9P2hqXlLLeJPYUVmhxpN/utpuEUqw0YH+PONYB0pZUvPyS0iLHdWdVvauSyDkT2N8OMYnb3ZmYA== 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=fitKtXOpulHAuvsbUePIYIeyFiUua11ILzA3b4l0qpU=; b=XYJIwBOIh8U2yPF07kRVU9l+6zaZJX6m1T14vr1ELRccmwyLCa4dOag7dO/zjUq/i2ZldwlwlAF7Q5lUrmi0NdzPeZXK0z6cntPkYACrGtJXHqteNW/sDafpgeACbvjF0Zq5RfJxmZG8czUpvdueeU/vEAXkE2s5CqRty1W4dgl3LOqK3g0TxJ5mglS6rsY5XWBtEhPFkmZFT7NUddf8A1fkcOA77jsV70qhLrJy9gj1/f2/o7qurHyMz9cmIvk+kg1ssco8LHqgAaYGZdb0iFXIzRvak25aVAI40y9Jcf2kpQVh5wJVMrZR8R7GuAnXxRI1tKtmvCmPK6oCGJts7w== Received: from AS9PR05CA0359.eurprd05.prod.outlook.com (2603:10a6:20b:490::20) by GV1PR07MB8975.eurprd07.prod.outlook.com (2603:10a6:150:a4::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Mon, 21 Oct 2024 09:01:06 +0000 Received: from AMS1EPF00000047.eurprd04.prod.outlook.com (2603:10a6:20b:490:cafe::34) by AS9PR05CA0359.outlook.office365.com (2603:10a6:20b:490::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28 via Frontend Transport; Mon, 21 Oct 2024 09:01:06 +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 AMS1EPF00000047.mail.protection.outlook.com (10.167.16.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.14 via Frontend Transport; Mon, 21 Oct 2024 09:01:06 +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; Mon, 21 Oct 2024 11:00:22 +0200 Received: from breslau.. (unknown [10.156.25.100]) by seliicinfr00050.seli.gic.ericsson.se (Postfix) with ESMTP id 308861C0090; Mon, 21 Oct 2024 11:00:22 +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: [PATCH 06/10] event/dpaa2: remove single event enqueue and dequeue Date: Mon, 21 Oct 2024 10:51:11 +0200 Message-ID: <20241021085115.864114-7-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241021085115.864114-1-mattias.ronnblom@ericsson.com> References: <20241017063842.848360-1-mattias.ronnblom@ericsson.com> <20241021085115.864114-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: AMS1EPF00000047:EE_|GV1PR07MB8975:EE_ X-MS-Office365-Filtering-Correlation-Id: ca6eda38-03b7-4960-09f4-08dcf1aee60e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|7416014|1800799024|376014|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: =?utf-8?B?aTRUUnFjNmlha3N3Wk1raVErNDJrS1lNSTBNZ3VCT0YwV3Nzb2hLek1uclVG?= =?utf-8?B?Mzd4RGgwSnJIdnlJVnRYeHovMmtwRytNRGQvbW51NkRvdTNHTHJBK2o4REh6?= =?utf-8?B?RWx6MFRRanY1MHRxK2xrUks2WUZXczlUNzNxSkswaE14R2hLU1BDUGUyNlhU?= =?utf-8?B?RSsyTi84R1dKMktORzNPdEl6azJDNTNsa3ptVE9KSktBYUtFS1cxWDBVRlI2?= =?utf-8?B?Qit4QlVxZ3o3SmtYVy9xeUNEK0RlUDNLWjFoZUFCSFA5ZVAwRUdGVkxkbzFE?= =?utf-8?B?QURxdnp0azY0MmUweCs4V1l0M3ZUYk9FSlhwQi91N1o0dnJyR3RFTEUvbzJw?= =?utf-8?B?ZzI4R3g3aGZ2QTFoaDNRV0ZHeHZUODNQanRnQjNrcExrTXNGV3JEbkoxbmxv?= =?utf-8?B?OGxnRFIra3owU3Foc25SVlZkSnFHK3NGVVZ0TWxnTWFzSEhYa0pFYzFpdXpB?= =?utf-8?B?OWlHMndqSUhMdVNNTjZqc2pVTzdNYzhNb0F6NmJpNC9kc1NMekRmd2VQbXJL?= =?utf-8?B?MDk3MG5YQXJnNzNXZ2pCU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B?QmljWDdZM1NjdUEyL2ZQaUNoeGkzNGxvNnpBSHppeCtlRFArL3BhYUM3Mlk4?= =?utf-8?B?cm1DNXg3VmRqc3hvQTFheUNES1d0MmVBeHpuOEJmSXRKVUJvQURmVGZ2bEN2?= =?utf-8?B?UFFaajdHMWZKNFc3U1QrSXAzMkM2YUI1WnRyVFJ4WjA1ZnVSaVBmak9CTGpO?= =?utf-8?B?clczTUd5RmE5L1NzSGwrVUtJb29IR0czWjNRLy9hU01HNzlSZWUyLzNDRUl0?= =?utf-8?B?WitQUXM2ek5wSncxRnJhbzhzaTVhT3pqbUswa1JBVDNmV1FIWHpKTjZVNllQ?= =?utf-8?B?czhENVJOQkt2b3pwVVJabkIzcXA1VzhaOUJpTkRZNHdrQ3pya3JWVkhRYmgz?= =?utf-8?B?anpYazZkcXE3d3VmWlN5T3IvaWtDTkE0dTFLaEg2SW5NWGNSZnMwMitRVG1t?= =?utf-8?B?aFR0emlTMG1NY2U1VVA2UVlkemdOWjIzRzEyVSt3dkh1QlE9PQ==?= 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)(7416014)(1800799024)(376014)(36860700013)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2024 09:01:06.5582 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ca6eda38-03b7-4960-09f4-08dcf1aee60e 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: AMS1EPF00000047.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR07MB8975 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 Provide only burst enqueue and dequeue. 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