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 2614945A78; Tue, 15 Oct 2024 20:35:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2192040684; Tue, 15 Oct 2024 20:34:59 +0200 (CEST) Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2066.outbound.protection.outlook.com [40.107.241.66]) by mails.dpdk.org (Postfix) with ESMTP id 6C260402ED for ; Tue, 15 Oct 2024 20:34:46 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YklKHGzKtEkiNt8NLtWYr3MVD+S68dvTwZrOM4z7O3ZIy4ma6YKfJ6NS6xF6+cFE/RRkFsELG5GUekaFq/AUVac4L4TPF+ic0cikucNgeM1qeBVkbGGJrv74t2DN5cT/tqJdJcG/PTXjOAXDuIkYTfQbVsXTUTZc8BTgFlxSWozNvhSJKn1pLu3ZwDNc2fARkFe7chwt+9KuZWhko3oAJ08i06wxt3gE3XqzfNDfmcMWfyYZSumiVPAIx3LHsCeyx3eB2028r2B+bgLqNh9E5nH77Kb9PV99kAoby/5iIznfvsepL/BkRpVbp/NkqV/uzsS7IhcOnf8PgI32FchHQA== 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=IPPfKREUJLa1WcnobkDGcqvR5vj37RDacwUSVbUWa/Q=; b=uAScKpPqenfayjPpxOEygXC1VFkjtQptvFqC840Ho5q2eKNzWWaj++JW3g0SOajXSY6f7MGrnHtY5ACQ5cGlS3iRzz+BnPL8bEOnVYS4y6jIfbkv7FsjeDdTu0rOFeer3KY+nBXUHpatPPF9hjkbkO7I9rvC2fKO3jfdmgZlE+5apdUCVZc/eGHquVZLtgkSrrdnsgVv7KXnluhtW17gbLBezxlRP+J7DBHrXMCfzaXwunMN/wWtNypZSGExu7IOAvBMoWCtmpO290FZxxhHDWER0JrNZLnKtroZCE3qZqI7paqg+Bw2c4N+HmlfpEpJEglUYGw1QFooqOIJ4m0j1g== 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=IPPfKREUJLa1WcnobkDGcqvR5vj37RDacwUSVbUWa/Q=; b=PwGexXflNFPFEO4WtaBgxVik6SB6QrHI+osX5vD2GtW8bSqbSQA4AUk0v+n1ZgynPZA79MemisPIxHaCtStKsm4t3stqNp+sx8meWgOoTV2o1/0qDKZImGOVF3ooAy4ltazk8r8bgJEynny4YsRimBvr1r/fym72ABC/8Xi/SbFJ0HJX+IwnnBEFH5jYo21Loz50nrHygth3JZwnxSK4rAxwDBSRy+e+gA8tWmPFrnHGLYjSLEayeCp7WWtju+kd7InG3/+iSWNeL7TSQzDRicoK7NZ6Pwgek4+4iQilMrIlSi2NFGiCqXXikZasiTys+br9EGR09Jqjz5NZ4KRdgw== Received: from AM7PR03CA0014.eurprd03.prod.outlook.com (2603:10a6:20b:130::24) by PR3PR07MB8226.eurprd07.prod.outlook.com (2603:10a6:102:179::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.27; Tue, 15 Oct 2024 18:34:44 +0000 Received: from AM2PEPF0001C70F.eurprd05.prod.outlook.com (2603:10a6:20b:130:cafe::c3) by AM7PR03CA0014.outlook.office365.com (2603:10a6:20b:130::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.27 via Frontend Transport; Tue, 15 Oct 2024 18:34:44 +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 AM2PEPF0001C70F.mail.protection.outlook.com (10.167.16.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Tue, 15 Oct 2024 18:34:44 +0000 Received: from seliicinfr00050.seli.gic.ericsson.se (153.88.142.248) by smtp-central.internal.ericsson.com (100.87.178.63) with Microsoft SMTP Server id 15.2.1544.11; Tue, 15 Oct 2024 20:34:41 +0200 Received: from breslau.. (seliicwb00002.seli.gic.ericsson.se [10.156.25.100]) by seliicinfr00050.seli.gic.ericsson.se (Postfix) with ESMTP id 557E51C006D; Tue, 15 Oct 2024 20:34:41 +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 v2 09/10] event/skeleton: remove single event enqueue and dequeue Date: Tue, 15 Oct 2024 20:25:34 +0200 Message-ID: <20241015182535.825098-10-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241015182535.825098-1-mattias.ronnblom@ericsson.com> References: <20241015084943.823983-2-mattias.ronnblom@ericsson.com> <20241015182535.825098-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: AM2PEPF0001C70F:EE_|PR3PR07MB8226:EE_ X-MS-Office365-Filtering-Correlation-Id: 8ebd0e05-f159-4808-dabd-08dced480a1d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|7416014|376014|82310400026|36860700013|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?NDFXS0JVYTBRRFFBMXJMMDg3MDQ3aXFwcHRiUWR6QnhoVFByS2szaDl2S1B0?= =?utf-8?B?MnZJWXZoTFpvNkhnT0pBRjhjUFJtbmJBbjF2cVZoYmU1NzVOb3lVZitSWjk4?= =?utf-8?B?ZW05VVFMYnVUbXJ0TEhDcm5MNk1EendDM3ZrUlMyZDU1V1JEMDd4RktYUzdk?= =?utf-8?B?clJZVjN3cWpCdUQ3Nnh0cGJFN0crVW1pRWVlU3ltSjRyeXRjN3Y0bkZxRVJI?= =?utf-8?B?VXE4cFNSckFwTnNLYXNDelVMcldzYksxc2lEbTBFL3JTUTM5TFd2YXFBbnNN?= =?utf-8?B?ckpUbit0aWxONFZFMVVOZVYrSEE2ZzJqVTJEUU1uQ0ZFS01vSXprNjNYQmxE?= =?utf-8?B?SFBWMjBtZlUzMnJud3ZvR1pVWUFFTmdCM01mQmJyRnRkNHpHaWUvOU1JdFNs?= =?utf-8?B?N1VLb0ZySVByVFN4SEVRM2FId0hNVWR0UUd3aDRaaGNid0VWeUZFd0p4S2Na?= =?utf-8?B?T1d4bjR1YStCVVBqOUova1Q1Q1ZieFlBeUdXdWZBdGExWmtwcTF1YVlzNERK?= =?utf-8?B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KcU52blNGVHVkMHVB?= =?utf-8?B?ZnZGbHpZbitqRjdzSjl4MXpiMDdkTXhUSHFYREQxeXNxNitPK094WXVRVmlU?= =?utf-8?B?Kys3czVOMUtXZ0p6RENlS0ZKdTh1ajA0dVRUZ0JjVnlCczlzVWxaSXdXMXhp?= =?utf-8?B?U0hmd0JQdHhJcExqSWRUY2lLSmk0LzlTKzFZbjF4SjU2TnVBWXNxV1hzUm92?= =?utf-8?B?OHMvTmxxT0lzMkdCM0NKa0JwQjZaMmd3TXhlcWVMeGRtWUpPdHRUNDlGVHgw?= =?utf-8?B?MWxhbGEwNzcweEFTM2d4Y0xBR2twcXlRb2dwSUpMT21vaWtHa2dOcTlNUi9R?= =?utf-8?B?VW5EVGtxelZQYTVEMlk4L2lXdm9XUFk4SEJ5TFNyZ3VnYXFOeUxKOXc0eVFX?= =?utf-8?B?bnN1Nm5uOUw3L3JDdDVBVjB3K0I4WFRubDgvU0o0S3ZpbVBDMGxqMmhEb09X?= =?utf-8?Q?2sRnvYY5389eH?= 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)(82310400026)(36860700013)(1800799024); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2024 18:34:44.2456 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8ebd0e05-f159-4808-dabd-08dced480a1d 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: AM2PEPF0001C70F.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR07MB8226 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 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