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 A7B8245B90; Mon, 21 Oct 2024 11:16:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5BCD04060F; Mon, 21 Oct 2024 11:16:06 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2070.outbound.protection.outlook.com [40.107.20.70]) by mails.dpdk.org (Postfix) with ESMTP id 35F514060F for ; Mon, 21 Oct 2024 11:16:04 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=C8UJVloBjLunOgupq3vw/AWt2E5Z1f8vzLNzScUDweYmo7QNjVtxMxh3Be47AWqReXDMp2OlfoFYoobKoNKI3VxvBzu/UZKY09BvhVLsngC7kqdJaapTZ4kpBMqNlA+rBX3TdIB++p1wyyDOt85NMcP2OTFzVjqNQHSyZsXBiP81mEVgWUobgyzkhHhcT2cCEoqapnAGDK1a+OUttoPAMFhorHZInwcaoX1RzwKxcfnDWd4OWOv3XCEYAwZPWzs5ufC/32guZ7vsnMJKKjqL6mhPU/rh67oxCB8u08DACQsRB6+BoixupEnX8vynF0KdhjFebs/m78QALwE3UB3Y7A== 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=DFD2F9Emgz/SBhfKHmTtGljQ+9ukOJhX22XO4XtjBMamGj7irdJYuDvndaBgHNROZnaTcq4vuKGXcfvn7XGyFTsWN5e68sZbUw0KUCOqWVUksqJP5fGre8qKqrWmUZh3lkwwNjG5LNu5yVqAFJOpuTnLZAq4WD8oXejmS+vVp6Z/mpqt0h84jyO0PR0LFbosgT7+64woC8nEvFBwA2rE7Wm3Igi43lbZLrixXge8mCxKAQB1qX6lpP7u8+cyxmPovsOYYm5tcd4IT4rVJc5V5/IIJxnB1lSzQJD2dt2FUSQh3Qo19oEee4govIz/NxECUKSdpmHWDbylvwXdV2UrLA== 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=h/XGGgUw24U891o/Cyjd0yTPUEFgSwEkHbQYmiA43ngu2zn5aHliKpNukVvYWU66oMgkseciIYC4w8WiN4nag72kd+fDnVsI9DH/+WPXXRo1qD0JKHsyEkbc/QvpB90IQmlc76HqHQPMrYGQqvhW3CwLfybq7lEKsBBoNXDosITU+A2FRv8LR2aWN41jWUsF+L9WtKsTbLVNwpuaJ0cmtE5FfR37piEd8BO0uW2/7VOxclPKhgaidCNOLmMtwo2ZIItATpAtVK2U2j+yIxNBAXX0iGDN1DgaQ2/ipvoyUm2qfz9VxviODfD8RUy0eV/+hZmkHHMsZD0p2jhLoqMfEQ== Received: from MW4P221CA0013.NAMP221.PROD.OUTLOOK.COM (2603:10b6:303:8b::18) by DB9PR07MB9127.eurprd07.prod.outlook.com (2603:10a6:10:3d5::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:16:01 +0000 Received: from DU6PEPF00009523.eurprd02.prod.outlook.com (2603:10b6:303:8b:cafe::25) by MW4P221CA0013.outlook.office365.com (2603:10b6:303:8b::18) 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:16:00 +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:16:00 +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:56 +0200 Received: from breslau.. (seliicwb00002.seli.gic.ericsson.se [10.156.25.100]) by seliicinfr00050.seli.gic.ericsson.se (Postfix) with ESMTP id 208911C0096; Mon, 21 Oct 2024 11:15:56 +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 09/10] event/skeleton: remove single event enqueue and dequeue Date: Mon, 21 Oct 2024 11:06:52 +0200 Message-ID: <20241021090653.864237-10-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_|DB9PR07MB9127:EE_ X-MS-Office365-Filtering-Correlation-Id: d14aac86-3bde-4140-2629-08dcf1b0faab X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|1800799024|36860700013|7416014|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?eFREVEIwazlBSGJqeTBsVUxIK1loNTQvbnhQY1RibVl6Z3UveE9HRXYvcmpE?= =?utf-8?B?VnA5czdqZGdQeThtRVhFbnRsTzQ5ZmJsajdpVm9BbTVOQ3Y2KzBCMHY4YlMr?= =?utf-8?B?Wjh4Uk1PNVlXdXZGbTlpak9FbjJ1cy9KSHJVNlp3RlpoTXo0SFBmRnY3VFRT?= =?utf-8?B?RnlQSmtLdmpFQ0QwTzRPZG12QW1Td0ROVWxEK2MrbzJnV2xrelF6NktZcVpj?= =?utf-8?B?Tk5LYjF5dmlpNEw3alBaSFVPZ3J3LzJHWlJPSUpLb3N0NEJ2OGJ5R1l6VW5G?= =?utf-8?B?OG1JTzZ5K1hFVzJhNXJtQk1xSmpJTGF1am9iMURleXp0d3FDT2ZLSCtuL2x4?= =?utf-8?B?aE9MMWQybzBzL0R4WkZNVXBocFA5amVnTThSMUpkRlJVSFRQK1NsaWpaaWEx?= =?utf-8?B?TEFLVkVMSkhrYlk3WjQrUDdCL3lyY0laSjV2UU5IOWVQZGdTbmpWMThCUzR5?= =?utf-8?B?RGR6MEE0aCtab2dFajh2SWhIeW5sZlBSRWUvVUc1UnRHdFR4bGdTbk9yUWdI?=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3VGTlBZVnZXc1E5?= =?utf-8?B?QlYrdlNCclU5a1ZpZjhOZnpvVFlmSGxicDh5dlo2K1hzc3hvNnlLSWdyTG5S?= =?utf-8?B?OHhLU09jcWREMFhrYmp6Q1JOcjNhaU9DVzJVV09iRDEvK04xMG05S0RqWml3?= =?utf-8?B?cE1lUUxhSkxBSklmN2VWR1JseHhQTEU4REs5MEEvSjZObDg2bWVhcDd5V1ZM?= =?utf-8?B?L1A4NEEwUU1BZmtiRitBek5YN2cxelJOZzZnK09CTzRNK3ZzTUk3Q3ZzYkVu?= =?utf-8?B?d3A0VkcyTk5TMUp1OUlUQmNqNmlqN2JEMnhuaVZCdWxRcGRuSE5udVE4VTg5?= =?utf-8?B?QmhwMWNNTk8yMW9VTGl2eUdXeThlZVc4SG9TVDFPcmpNZ3MyaEExZ0c3NTJC?= =?utf-8?B?SDg5Qk81SmN5RFlHUy82K1laK0dWY2JLQ1l1OTd4M3M1N2VHV2gvMmt6VHBS?= =?utf-8?B?dDU2bTlrZThoRklXZ0xEdEREWmsydHpFZTFReFJ6TmI4dWc9PQ==?= 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)(82310400026)(1800799024)(36860700013)(7416014)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2024 09:16:00.1045 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d14aac86-3bde-4140-2629-08dcf1b0faab 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: DB9PR07MB9127 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