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 7D62545B5A; Thu, 17 Oct 2024 08:48:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6BFC040671; Thu, 17 Oct 2024 08:48:05 +0200 (CEST) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2043.outbound.protection.outlook.com [40.107.22.43]) by mails.dpdk.org (Postfix) with ESMTP id 7ED6E402DB for ; Thu, 17 Oct 2024 08:47:57 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EGWZ8PNe+hZmzbr+OUz+2rUV08UZUei47lpyKwu1grhOOCFlB/eLGvRe7vwDT7dFAdFSRYyui2uEd+LnCAMGdyGmUN+tcWuL6cYbN+7/KsxJHnPyO2n2MuNM1gQQT3lhX2HmwjyIRcmToo9Fv21Z7wWw7876OX5Cl5dJTXj8ER1ppMkhSegGN5Koiw352e1Lc9eWRT/SQihxmSJYexAGbIUTm4805KrRtzqgQI53Gpj2RE81MwyfdWTzcM/g5xgHXiLPvmkA2cjB6kf8SCACx+3xYjzLn++q/1ZPtQE2XwSfYT9bSiDwNXbLC59JwknPEy+L2gDLROaXBs4WyT7Jmw== 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=TaIZvr0L94tC/nDnh3c3VUl87HglGb27yxgQVpb969V4ndQDgf4TAPHsZ6YFI6So7A0B1sMO5nKouVegKEg8IfqH2EfFMQ8X75SaZ1GMrQV7caAmDtWW2N0qILPnbb66+0cuEWWWuqO4+vUhKliRxyW4pleipocW6y11MJXQhnucJDtavcDg8mX8BSIWiPkMgVM4mgn7U1eclrhnP97/k1sPyebx3/bIcQRO1pSe7gABO2vVSHmy9aZ30sSEbZXLjlZTmhUgLoYdsLyvF6AucJRLW2xUU1L0GB7SswqJ1rpnVm9e6HRRp+MDR5blSnA2gdnuIWji5EHDiP84ASKJ1g== 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=QEM//9runwidTopGJ7ovjIvdiHgoQea+aQidGw1LQ93fgmyKaQiJHM1WDhgfYjqWzoFtbpWUkBpXUUQBIZsuZQEAlHfvKL+FV9ajIdTNRKLbAOuLWn4AluiaiCacvbQwjhcyo73/hV0Ks4hXmehfWc17BeIumE+g+buOupaG9eOOx4wJC4Y0o+rOYZvfnfvD+YiuKaKkJbeP9RrnlW0TolTajsQ07h3oKqivXGyc1RgOXr7nG47ylABLwVm6EeragV1JKvsXpjuWqDwS/NkvqRwWSUefhJkWEfaaOYVa8jIjA9rKQtmgNpy36TUQgoM6KGA421McuBAdrooueyi/+Q== Received: from DU7P250CA0006.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:54f::21) by DB9PR07MB9073.eurprd07.prod.outlook.com (2603:10a6:10:3da::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Thu, 17 Oct 2024 06:47:53 +0000 Received: from DB5PEPF00014B92.eurprd02.prod.outlook.com (2603:10a6:10:54f:cafe::f9) by DU7P250CA0006.outlook.office365.com (2603:10a6:10:54f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18 via Frontend Transport; Thu, 17 Oct 2024 06:47:53 +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 DB5PEPF00014B92.mail.protection.outlook.com (10.167.8.230) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.17 via Frontend Transport; Thu, 17 Oct 2024 06:47:53 +0000 Received: from seliicinfr00050.seli.gic.ericsson.se (153.88.142.248) by smtp-central.internal.ericsson.com (100.87.178.64) with Microsoft SMTP Server id 15.2.1544.11; Thu, 17 Oct 2024 08:47:51 +0200 Received: from breslau.. (seliicwb00002.seli.gic.ericsson.se [10.156.25.100]) by seliicinfr00050.seli.gic.ericsson.se (Postfix) with ESMTP id D95C31C0070; Thu, 17 Oct 2024 08:47:51 +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 v3 06/10] event/dpaa2: remove single event enqueue and dequeue Date: Thu, 17 Oct 2024 08:38:38 +0200 Message-ID: <20241017063842.848360-7-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241017063842.848360-1-mattias.ronnblom@ericsson.com> References: <20241015182535.825098-2-mattias.ronnblom@ericsson.com> <20241017063842.848360-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: DB5PEPF00014B92:EE_|DB9PR07MB9073:EE_ X-MS-Office365-Filtering-Correlation-Id: 608bd5b7-e7dc-472d-2392-08dcee779ff8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|36860700013|7416014|376014|82310400026; X-Microsoft-Antispam-Message-Info: =?utf-8?B?TDRidUlhQzNzSDdFdjl2WnY5TnlQYmVEQUNHVkthS3hUWmRDdGRJajcrdzFZ?= =?utf-8?B?WjhzNndNZE9PTUFpL3FjaWdacEVoUzQzSFVndHZ2MWVZbkI2S2ZXck9qYTZl?= =?utf-8?B?c3NVQURralNXZWZGUGNqZzIyNmoyUG5EejdIQXNtUkZGWUdOM1ZLWlZmTHlX?= =?utf-8?B?RFBrbTdROWhtR1F1MGp4ZlNzampNU2w2dE5rZ0FwaitaMlJBc2RXWG9vZUly?= =?utf-8?B?c2gyTnFkSkVaQkxkMTNsOHlxZ1FmeTdwZGlnNnJabGlpa0dJWnU3c2EvdGxk?= =?utf-8?B?UjdHYVlLc2JGZ1hDV0ZSYitIa1BUYkJPT3BqZ1hwM2szVVNxb2JhNVFXL3hj?= =?utf-8?B?UlhqYy9iYS9wQjR4MVk2dzhpNmZtSmYzczBkV2hVSzFqOGlLWGpDN0pzbWNE?= =?utf-8?B?SFNyU2lNU2lzRjV2M2ZrWktNRVhnSkh0aHc2blJsU25IRkY0R29zQ0NoRjgv?= =?utf-8?B?WjFmYXpDYjIzVmdJMnFYSHN0d3BGRUZnYzlUcytGVHhmOGZkY241eDhuZzV5?= =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HF3c0JKVmsrWWRpVWlaNUVv?= =?utf-8?B?VW4wVzVCdUQ4Vnd1TnVocVUxWm5FNGxIVEZveFI3K1kwSVdMOWZZVXJmK3Va?= =?utf-8?B?c2ttbWhTaks1U1gveGFWdm5ORzI3RHhVcWNGU0dDNnQranNiVUpadE1Rd2Rl?= =?utf-8?B?OW9LQ2tDOUdFdnU1eldBbG8wblRGUmN4Nmg0YTZ5RkE0OHMzTlpZWDhUZ0Nk?= =?utf-8?B?MG9BeUxxaW5nZzhJTDFxSHFNUEpvMERUUUNjeENYeGtrR3M4bzV4MVdDQjNC?= =?utf-8?B?VmlJZDFMU2hzZHdWMDVseDNMa1FPYXYwWmhhWTFkWERKd2xwWWdZb3JRYk5j?= =?utf-8?B?UkR0T0tYUW43VGJVamx4Z0ZUeVhkaFJveVFXaFVTdVgxeUQ2TnczRk55TmdF?= =?utf-8?B?QmpCNGN3ZVBUZW1tbkR6S2lMSzhGYm9KWm9sdmhueG1XTFAvRHhXdERzTEVU?= =?utf-8?B?NEMyUE9qQjR0cXpFSHJWNkxTMGtiSU1aV3craTFoMjIzV1E9PQ==?= 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)(36860700013)(7416014)(376014)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2024 06:47:53.1344 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 608bd5b7-e7dc-472d-2392-08dcee779ff8 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: DB5PEPF00014B92.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR07MB9073 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