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 8E81F45B5A; Thu, 17 Oct 2024 08:48:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7EBD540650; Thu, 17 Oct 2024 08:48:02 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2051.outbound.protection.outlook.com [40.107.20.51]) by mails.dpdk.org (Postfix) with ESMTP id 02DA0402DB 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=pICkSdhup8cRbfFGdn+iKMPkQZ4lw8JqcTNw/O6yJYQrfmfsWx0IwbmsDM7n36DjXuxn60nXZviBptxxQaV8qmPH2IiC+8i5fvTRMd4/vKNhDLMcpSQmxd/paJDM7JHExvIgTkSCtHrq4jOkkUFRRdu4R/xAq1skJ2XcMmuKR94rMyPmadbTM6bZb34d/zsSS6oHWR8ixPK7RDqVyIzp4iL3TejbdOzj1HZ0nIYDUyasE0huTtNu1SxnY5c3n0FX2r/Uu4kV10du7F5EulxV9hyf67luirmnl+4eeND0F1YJ6l38AUyiNnitQzOZuza67ZC1xGDe0aeZRgtLkMzwUw== 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=5CnLEsvi4mt7gkRFNlblY8G11Z4xyBUUaeoTCFYLkHA=; b=LG5pL+G6UpS+QVf7H56vwfLuYp/PKaVrG2RK7beX/PbUdBvGDWtpx7lqQpH0/Ny3tZsSRb3F3bLMqT+UQg9j7sGmfqNsebne1W+nP+u+tuE5pK5t4AKymzETsy4JpwSk5XfmqoOLDLwI2ozAOyxTPgCNa/eQHhRkFFOgYIboOITSNWpj9Ax3QMtos9of1Qnb9qHjLI5NjyYkiYApOImjPXBYmmNq1oxX9IEsSWMB31Fi6No/2DhUYmsQmtuYTKU+M9c0KCT1AQjlChZ1IN0G7kDULYTQTMOB6g1UCkLHl0n4YCDKYhbc6Ri4ohTRdQdWdWSx3jEUUsMvl2DttZjJ0Q== 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=5CnLEsvi4mt7gkRFNlblY8G11Z4xyBUUaeoTCFYLkHA=; b=J0hvkbP7GdErGwOd1L077hCFM5TLqp9lGOaL5Wx9ZUyr95//m/ONJiz3a3LkYndrDO+0pJ22Ab1Z9oapW/+ooAlVB2uws7ITPoFgfAO3cXA3LtSEUnpi5XUXEuTpKHFuU8AcAblgAAL8DZGu+u8BrOHEVIx+7xu/VoHgQjZeWFqsrOWbDTwlYTB1myFWpQ40u4lHBsqZzAPWJlmR+q+if3dJiExWIa5/32np+OdjXTXq+i3d20vyQ3JMECN6BVOj67LY5Fo7q7D12gEFadYFOdLwO7mh7fIlcugkYKJKdlHxsSgZvygYgfyQ1TWIIx0zO6Vv5EbjO4CNRIUOkR1gXg== Received: from DU7P250CA0003.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:54f::30) by AM7PR07MB6326.eurprd07.prod.outlook.com (2603:10a6:20b:132::13) 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::e2) by DU7P250CA0003.outlook.office365.com (2603:10a6:10:54f::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.20 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:52 +0200 Received: from breslau.. (seliicwb00002.seli.gic.ericsson.se [10.156.25.100]) by seliicinfr00050.seli.gic.ericsson.se (Postfix) with ESMTP id 18FA71C006D; Thu, 17 Oct 2024 08:47:52 +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 09/10] event/skeleton: remove single event enqueue and dequeue Date: Thu, 17 Oct 2024 08:38:41 +0200 Message-ID: <20241017063842.848360-10-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_|AM7PR07MB6326:EE_ X-MS-Office365-Filtering-Correlation-Id: 55652582-41ec-4bcc-82db-08dcee77a038 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|7416014|376014|36860700013|1800799024|82310400026; X-Microsoft-Antispam-Message-Info: =?utf-8?B?NWdiMkg1MHhvQTJ1VCtWWDVlbFJKczhzWjRxNmp0MjdTdnYrckdjYW8rZ1VD?= =?utf-8?B?Yk1ndUJIVUdNUFpnK3Rpd1JuUzNGL3RDVEJEWTZtQ253Tm8vakNuNWxBbGQ1?= =?utf-8?B?RGdhTEpjeFc3VVNoeEtJRFhWdUxqb0FGSWlxYmJxQ3Y0Z2hCbGlMYThTeVZ5?= =?utf-8?B?VTJFRmVrcWhrVVI5OGF5UE91c1hSR2tzbFlVQjNIUDh4OCtZTXpUTlpROUtK?= =?utf-8?B?dmh2N0VQV3hTeW5zSndZRm9FOWgraWZUOFdsaENJN2ZSWVNrb0NRaG11QkxG?= =?utf-8?B?eEhXeWFxNHhCeDRCUjFNM0FWcW5heVl2R2t2WGM1YkVrNU1qaVp4RjBnUEJv?= =?utf-8?B?SlQybnlNTzkraVhTc3dJYmVSVmJyOVVESVBROHY3WFRZemhlZWY2Kzd5ZWoy?= =?utf-8?B?T1l6R1FqeHg0bEdEMjFid3A0K250WXpjQllPTExxaitUVU85ZlJZeDh4Ukg5?= =?utf-8?B?ZEZOZE8yNW9zL0J4c2hsaCtTQWo1M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BBYW84OTJBUVNTVnRjeVpzbS9mL0JZYUpZclVDYVJPd0hvYy9z?= =?utf-8?B?TEJUbWNCaTk5UXFMc1NOYmM0Mmg0Tm5tQnFuR2VSNEMwWWVyTE5iS3ExL29I?= =?utf-8?B?OGtUR3hJYVRTMTFXQis5djMwNWora2NoVkc2TDhYRUJPbUpkdktYVFRmRlc2?= =?utf-8?B?UXZqWlRaVU1RNFJKUW1lclFpcWJVeGN5UXNXWTNYMkhNVjR1V2ZYbk1SQXNo?= =?utf-8?B?YWRCajlEcXBBWTBmejZlS2Z1T1FjYzRrRFhLZzVwRGpEYnIzcVNGZ1UrdTJG?= =?utf-8?B?Ry9iQ2lLTy9DbU0yOEhqQ1hvMmxnSVZIUEdTV1I5VmZhK2lPdm5FMXJsWnNt?= =?utf-8?B?aGhzOVEvRVpuNThaMVdVK2t5MkxseFRKaE9CVGdYcjRUWGFadkdUcWdidHBK?= =?utf-8?B?NkxXODFaOUNWcjJKdWl1U2ZSMlVKNVAxQ0drQXdWZFhKUlVFd20yMG5XM1Ew?= =?utf-8?B?c0pRRUtVbWptcWIxZWxGSHkzZ1lWdVRtT0hwVUVzeXAxOFE9PQ==?= 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)(36860700013)(1800799024)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2024 06:47:53.5563 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 55652582-41ec-4bcc-82db-08dcee77a038 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: AM7PR07MB6326 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/skeleton/skeleton_eventdev.c | 29 ---------------------- 1 file changed, 29 deletions(-) diff --git a/drivers/event/skeleton/skeleton_eventdev.c b/drivers/event/skeleton/skeleton_eventdev.c index 848b3be82c..73a1e4e008 100644 --- a/drivers/event/skeleton/skeleton_eventdev.c +++ b/drivers/event/skeleton/skeleton_eventdev.c @@ -25,18 +25,6 @@ #define EVENTDEV_NAME_SKELETON_PMD event_skeleton /**< Skeleton event device PMD name */ -static uint16_t -skeleton_eventdev_enqueue(void *port, const struct rte_event *ev) -{ - struct skeleton_port *sp = port; - - RTE_SET_USED(sp); - RTE_SET_USED(ev); - RTE_SET_USED(port); - - return 0; -} - static uint16_t skeleton_eventdev_enqueue_burst(void *port, const struct rte_event ev[], uint16_t nb_events) @@ -51,19 +39,6 @@ skeleton_eventdev_enqueue_burst(void *port, const struct rte_event ev[], return 0; } -static uint16_t -skeleton_eventdev_dequeue(void *port, struct rte_event *ev, - uint64_t timeout_ticks) -{ - struct skeleton_port *sp = port; - - RTE_SET_USED(sp); - RTE_SET_USED(ev); - RTE_SET_USED(timeout_ticks); - - return 0; -} - static uint16_t skeleton_eventdev_dequeue_burst(void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks) @@ -350,9 +325,7 @@ skeleton_eventdev_init(struct rte_eventdev *eventdev) PMD_DRV_FUNC_TRACE(); eventdev->dev_ops = &skeleton_eventdev_ops; - eventdev->enqueue = skeleton_eventdev_enqueue; eventdev->enqueue_burst = skeleton_eventdev_enqueue_burst; - eventdev->dequeue = skeleton_eventdev_dequeue; eventdev->dequeue_burst = skeleton_eventdev_dequeue_burst; /* For secondary processes, the primary has done all the work */ @@ -440,9 +413,7 @@ skeleton_eventdev_create(const char *name, int socket_id, struct rte_vdev_device } eventdev->dev_ops = &skeleton_eventdev_ops; - eventdev->enqueue = skeleton_eventdev_enqueue; eventdev->enqueue_burst = skeleton_eventdev_enqueue_burst; - eventdev->dequeue = skeleton_eventdev_dequeue; eventdev->dequeue_burst = skeleton_eventdev_dequeue_burst; event_dev_probing_finish(eventdev); -- 2.43.0