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 749DC45B90; Mon, 21 Oct 2024 11:01:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8041940697; Mon, 21 Oct 2024 11:01:03 +0200 (CEST) Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2059.outbound.protection.outlook.com [40.107.103.59]) by mails.dpdk.org (Postfix) with ESMTP id 358DD4065C for ; Mon, 21 Oct 2024 11:01:01 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hCQ7SJi2LWMfYqeEp4/dUVd2gMYY1hiGlK9AwgCqp9CUKSYn6CQoQUQnQeNJxB+n3VnMvtGvISJUCzNH4jr5h2c0LIA7MZy/lUIpvhB5prnJZ8GrdMzxOGxQ0FF6URuwan586DgS3U8xNLcAYyY+T6ooQUpZ1wxIdGz8orWaj1a8F/TgExLh1OpnSGZGjduQ81CJFphhENVRabuAkulUXAxlXnTwdJ2Z+NQixOCF9YdNQlf/6UKGL5/lyQXN9s65729v0SXOjRThNCeWE/jk57A2BCedxKVWGoLXlWIlcy/gMVDQfkK2Cm2adQSmZa4PwUlBJQwdMzKuRFFmd1llmQ== 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=dyGmWIN+JRmkgjT1ojjH/id4IqeqxMpLWngMvuCgTvknxxuLQX4xBBwjEYFpGlzqfA/tqKehB9jB1KqMPcOa3WobSHZ0p1U4amWxjpLyAqYHO7PX/EkjWS1wmCMEwVNYPhFKpp06/GejykSpgqhZdovV5bTOryEuVerz8JJ9sQmwN+4wHgADzjdbNB89CyHZwqQu0A0DIuk4SB0G9xs0kMkor+dfxfQ75P8wbFDj9n+02PthMfgDYTdU+YPBEGc2dKES0WZWJc+yVzZKerdX5HI4vZtpQF/MntuNgHOxy5W44ZiJuea62DEGCqLiQId+FX5pif0HhTvZUlZ2PAAVOw== 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=frZMx4IEPqnrP8HaPU+Gpcs4s0AadRv/S+RfTwhz4IuTaSSwliI1KVEc8cZbB3Mctb1flyIn4C2LPf9QGAJ9VeTH+seMFD8VH1wNQCobfK9MMMoy6laOH0TV1iLMnw7kv06U+2rjJpaJ6lbYnkaV2kmtwvSD6aYXIJ/9s/YZcUraHHJfKLed+dJGmtDamRhadydzAZeJEEymATSE+3WTlelZWK7yYEzK83MUEWb1lQrWRQBXNo+M7sqaILKXidtm69lhKO3hvbV9532Qy8V0Us/5uZc6xiRsU7ftGX1mUw40rRUyqQKuBZw/Ab5G2V8iHY3NhtWDXBcMPz6meIy24w== Received: from DUZPR01CA0055.eurprd01.prod.exchangelabs.com (2603:10a6:10:469::19) by AS4PR07MB9632.eurprd07.prod.outlook.com (2603:10a6:20b:4f6::22) 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:00:58 +0000 Received: from DU2PEPF00028D10.eurprd03.prod.outlook.com (2603:10a6:10:469:cafe::cf) by DUZPR01CA0055.outlook.office365.com (2603:10a6:10:469::19) 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:00:58 +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 DU2PEPF00028D10.mail.protection.outlook.com (10.167.242.24) 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:00:57 +0000 Received: from seliicinfr00050.seli.gic.ericsson.se (153.88.142.248) by smtp-central.internal.ericsson.com (100.87.178.67) 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 6619F1C0090; 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 09/10] event/skeleton: remove single event enqueue and dequeue Date: Mon, 21 Oct 2024 10:51:14 +0200 Message-ID: <20241021085115.864114-10-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: DU2PEPF00028D10:EE_|AS4PR07MB9632:EE_ X-MS-Office365-Filtering-Correlation-Id: d342e2c3-86c0-4a8b-65a9-08dcf1aee0f8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|7416014|376014|1800799024|82310400026; X-Microsoft-Antispam-Message-Info: =?utf-8?B?UFFIQVd6Tm5Yc1NzK1BCYktxdkZFSERIR0s3TXIwK01Gc25mSTZwcDBITTFW?= =?utf-8?B?SnFUWmVMaEhWZ1RtSFlFaUhkaGxmVWttVG1YQzNWc00vR3UvM1krK1MyV2RT?= =?utf-8?B?RkcvQ0E3Q0pkcC9qQUtxN3dhUEJYbXlvZlkvNktUTTg1a1JiUUtYZWtxOVho?= =?utf-8?B?QlV1bDBuMUdXdGN3ak95R3ZTYUdsK3hjT0hYRHQ3S1prWDlHUmlmSXJub0VM?= =?utf-8?B?QTZWNzZwRXJBYWw0ZkRCN2s0N1FxeGZsWGdCT0ZvUS9xZkZDUTFwTnN0OWNs?= =?utf-8?B?T1MyT3lsbTVCY2tSeGdXcHhCUXR5Mk4vOXVscVYyTXFvT05VMENtaktnN3l6?= =?utf-8?B?ZzVxdjN3Y0NYTFdUNUFPbWZVaFJOdURrZ2pHVjZaaHI0ejJNRE1QRmtnZXk3?= =?utf-8?B?N0FpdWhRWDdsTU1vU1dEM3g2Z1pyYi9KS2luT252N21GZU1mamtLcXBEK2lr?= =?utf-8?B?bHZoY2dFYnpiQlcvczlpcnYra29seTYwcG8ydDArejNDNy9CZzI1TFZHNEt2?= =?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MydlRsakZyTW9n?= =?utf-8?B?NlIzd2xsY0o3QjZqWWJBZnNKYXdDdERheW14NmVBMitkUWJBU2UrdDNLa1dV?= =?utf-8?B?aHRXVDdwZWFjcXYvTk1IQ0JtUXlZRlBvbHRvTjJmdG1hMmlZdEtoOWRjanZZ?= =?utf-8?B?T0FmcU01bEl4OUlPRDQ3cTkrUEpyOEVGS01aczlOVzBmQ1FIR1FMUm5FSHZr?= =?utf-8?B?RzE5UDdRTGRpTEt2ODArSHc3UkJ2T21qcHRQemI4ZWNrOTIweEtPZlBtSSsr?= =?utf-8?B?RTM1ekM0WHBQRVZrOGR1R2pSYWtxbkFoWWFXS2hDT1ZUeXFKdkg4TlF1TWRi?= =?utf-8?B?TWRWR0VxenpjcU5rUGljK1lJdGNtMGxTeWxLTVc1ZUlsQkNwRnVHdTlsc0NQ?= =?utf-8?B?WUdDS2UxWUpkY0hyM1krTU80V0FvNXVod2VRRjZkSG5CVVNHS0V2OWo0cjRX?= =?utf-8?B?Tm1Xci9wOVJlbTkzWk02cGZqT2xJVFVnR00rQkQ0QWdkMVE9PQ==?= 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)(36860700013)(7416014)(376014)(1800799024)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2024 09:00:57.9965 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d342e2c3-86c0-4a8b-65a9-08dcf1aee0f8 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: DU2PEPF00028D10.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR07MB9632 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