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 23D9C45B90; Mon, 21 Oct 2024 11:16:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 104B54066A; Mon, 21 Oct 2024 11:16:05 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2085.outbound.protection.outlook.com [40.107.20.85]) by mails.dpdk.org (Postfix) with ESMTP id C061A4060F for ; Mon, 21 Oct 2024 11:16:03 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=iSbqpAzxI/7E8XUjW2GrJzAHcO3TgLIKrI3DjLfc8wd21E+wC4mqqBp7B/YWiuC7Q4tJpapMgVuiisO5KFArRntUDB2u7RbZprZM+xsTHaGUnnKCN7sUhEJxhTLwe9A4Pi5yiDAJObWtkRJgW1YweU1gZhjLPHZe/i6g9yDWlLI02rRPN3En5uZtSU7rTiNlBhXEaMY+egGJ9598JjoZcRO+De6MbtvKSD9MRDIIQRNW3YYnf8VWikF4t3ExiRRzncT3LeHZPuunwJXvEC3TJlvZ+R3XfAmHKnTmitIAmNeVLmY1tVYKqTHFrJvI+hftUhBme2PK/mhZbOBEfoThtA== 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=hDgqVlaImqflnMJcHoDP53R7t3oEHuPnJwVybN1Cgi5231Lx61OOozmuk2ZH7gl4KgbO9pxFOBnJTzHYZ/ZIalDdbe0CuIuRpAPY0bRgpq8CNyNma+fBJ8JQF13Y90TW1wPvqDLncxaqLzXW3GXzDT6xb8qs67B3oA7rsPXi4bzZ442HNnlwaDM6zYqs2vuqxQcoCx1PsY/lASz+YofvyObR7qr7D+6ur3AW7ezvx7iEyWjiyWNiIhQcCf+E0xoaNTfNUHjO62vjGq5Hb2zXQubji/54RNT7N3g35V5DUKHrfPj1kTOgrvBieZ6DBF55hS5Rxak827bhefMpMdFImQ== 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=O3nL2TYNddzUAol9zQ2A6d4P2e3i5FzY9iZByvzKJzEDUl7aZPo2h/Cxez8YT4bLqPQLpoj6+JDyCZS57nwC7FHQUwsbrhS5j1FAALjxEiNCgbVmUS1/RfYnngSEfa3ffgGvKv6Vjz7vTc2/2YvKaFY/YUH5JrQ8JWA/r2QjomUU0G1uktZptkoDmOHVMXKgKu7lgodqfd8rG/wE+Nlne4mPES6T8R8gkhiu+FWeICTBSKRDjXCAs2IcsbI/J/inVu1PH72GKe9qdKHWaBFSB9UTMPto11BjQrDJUjUD+ja2UtWse8bEt/Yc2e4hi9wiRRwrJBdoWr/iwnFli4zvyQ== Received: from MW4P221CA0025.NAMP221.PROD.OUTLOOK.COM (2603:10b6:303:8b::30) by DB9PR07MB9366.eurprd07.prod.outlook.com (2603:10a6:10:454::19) 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:15:59 +0000 Received: from DU6PEPF00009523.eurprd02.prod.outlook.com (2603:10b6:303:8b:cafe::c4) by MW4P221CA0025.outlook.office365.com (2603:10b6:303:8b::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.29 via Frontend Transport; Mon, 21 Oct 2024 09:15:56 +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 DU6PEPF00009523.mail.protection.outlook.com (10.167.8.4) 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:15:56 +0000 Received: from seliicinfr00050.seli.gic.ericsson.se (153.88.142.248) by smtp-central.internal.ericsson.com (100.87.178.60) with Microsoft SMTP Server id 15.2.1544.11; Mon, 21 Oct 2024 11:15:55 +0200 Received: from breslau.. (seliicwb00002.seli.gic.ericsson.se [10.156.25.100]) by seliicinfr00050.seli.gic.ericsson.se (Postfix) with ESMTP id DE0F41C0096; Mon, 21 Oct 2024 11:15:55 +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 11:06:49 +0200 Message-ID: <20241021090653.864237-7-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241021090653.864237-1-mattias.ronnblom@ericsson.com> References: <20241017063842.848360-1-mattias.ronnblom@ericsson.com> <20241021090653.864237-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: DU6PEPF00009523:EE_|DB9PR07MB9366:EE_ X-MS-Office365-Filtering-Correlation-Id: be7c5c69-0e02-495a-dd1f-08dcf1b0f87a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|7416014|376014|1800799024|82310400026|36860700013; X-Microsoft-Antispam-Message-Info: =?utf-8?B?S08rMmo1SWRGaEl4UTVOYkNNNlFtQXp2cVFTMzhMZk53VFNiZzJndllsc01k?= =?utf-8?B?UGxHR0Z2c0UvTkRlUWVPbkdiWHI5UUE1bHdWSG5iNlhVR0hRbDRncFQ5SnBi?= =?utf-8?B?dnFVdTF2VlZNTmxMc0F5dzBsTDhZdVVFRDJWR1FwZzdicnlpV0phQWZlTkl0?= =?utf-8?B?NEdBVGZlVzdMWGIzeXlSMzl1UjY4M0ZEQytXR3JrL1YybEVuOE5xa1Z2bmNy?= =?utf-8?B?TDFhaXlqOUIxY3J4c1RQamwrTkhGWmVVVmp3WDVvNDZkUUIyeDJodnUrQjNp?= =?utf-8?B?TGUralBOZ3lmalRsYjhjbldPL01SdDZBT3R4RTdBYVZvM2F3NkVtSHh4b0N3?= =?utf-8?B?allYa0tscTF6QzN6NGN4VU1sN3hiVG1mc21sOUpHMEVHc2ZHbHZDQ3IzTitq?= =?utf-8?B?dUVLUWFvTDF5YWV4ZUEzUjJyNmg1eDhCanVPdG0yK1BZOG9BbWpRYUpXRDBQ?= =?utf-8?B?VG9qaEMrN1F0UW1GSVJNYkVXZ1h1TWoxZm9KSjZtMGE3aVFNNWxC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HRwWXljaGhkR01KT1lZNkhMSW5kcnp2?= =?utf-8?B?WGVwcmFyTGZ3OVV6QW40T1pEMEN6NkRyYmhVOUdqU0JVdU91eHhWbi9SS2Fp?= =?utf-8?B?NEQ4am1aU1ZxdktQRVNhKzRvZFpNaytPS1R0aE9iRHVGM3Fhd29ndFVMcG9p?= =?utf-8?B?MFlBOGMwMmVhUVAxSVl4WVFpc01palJnRmZzNWR5cXdGUEVZMTRGUnRFd1Nl?= =?utf-8?B?MGV3MExEN1NwVnM0SkJTODNJYWR4UmcwN1U4YmpZSmpScTViQmVld1JrbXFp?= =?utf-8?B?R0J6djFFYWIzVFhMdGMzTHdobkRnVWJZMG1wclRtWC9WNlZJSXVwb2pqYzNs?= =?utf-8?B?b05mSUZsNlFPclphTy9sODhiNVkwTDRLSHR0TWRRaHl2ZHZHQW54dG1mQ3B6?= =?utf-8?B?WmlzU1hMV3hkMFFDcWs3UjliaTlXYWN1UWNMVkxNTllSdXZrNUY2U0dNZDFn?= =?utf-8?B?aDdmUHJ3UVdVSm9TWm9XZXY3Vk1mZENHUEI0U0pFcHIyK1E9PQ==?= 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)(376014)(1800799024)(82310400026)(36860700013); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2024 09:15:56.4326 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: be7c5c69-0e02-495a-dd1f-08dcf1b0f87a 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: DU6PEPF00009523.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR07MB9366 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