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 E2099433D8 for ; Mon, 11 Dec 2023 11:13:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DA1B440ED9; Mon, 11 Dec 2023 11:13:00 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2048.outbound.protection.outlook.com [40.107.96.48]) by mails.dpdk.org (Postfix) with ESMTP id 24860402E9 for ; Mon, 11 Dec 2023 11:13:00 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=duezIf396of5YueA0BCGtfDbpIECOcFEvRvjP8YykGhlOOKpaIzKkydMW+pnkx2zB9RrExRk5HQoArLYth38Tcb5HkAAZuDNH0r9hL/9DWFleXFgnt5aXakowFNakLQ/1pK1ytYKNjhrxXQhUecsIoxuU4Qo+y/SvruuqkbsydXDw9l4VO31VGcpo2yrhWs84WfJUwxbwpEM3C/UJ0q5x30sKAh1bbDV/1C12OXmvV2XIcY1jHbkmuooES9VWG0yzwnKiTJQHVQo8FH3a7qr4apPm4C4XACM7J+LX/dfwLzgsiZxoZ9UMnoFrndn6MSnqdPN47cc9pmoI4L4lr1XCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=hbx5zEktWtE9fUoj7WU1/+ajJsPmug4dTjNKoNxcxIw=; b=TBMCOhX/C3imyTN73tFjmHoyYVhwaNsn4nePFUCMHff1y9VWgcj19xp6qCzINPUine0o0N/Fpvx3o8v1+W93kqQrnN90AzOe8Uv5det5vx3or7EMpY2zT74PEiWiotBrPt/XPxiDm19YAvzpjB1RD6VvoR/k33Jaia50at0E+TC8bUIp1DCBFldud+fmuHywJM6WnVO7VblR3qHFzlgyFYC9HFyvlt+EtY5g1zsfpyW+x2/at9LrtBVmZqM7dI+VSq7ltad1Q1agjdroHZRvW3r1cXxn/xCVMCyGEuXx0z4Okesu905/9i2qj+DwHj8xIFxFCjhRD+I7FN4ZTUo0DA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hbx5zEktWtE9fUoj7WU1/+ajJsPmug4dTjNKoNxcxIw=; b=ZVDJ+dwjdmYt9xKqDG6oDuFWQm+SLqYh+MgIeClqtDPhyIay5R5JF8ambk1zUJKs26f9Eay86d8PT8E+FJRC0CmRb3tC6XP+2xJ/rIT2ZRBMNvihdQb4x/ewiWSc09TOUo8dY+ECL3Xh40g+nYmr2LALC+hyAp+4l6OB+bzLHxftiNsiE5+QYWN1smHwnbLOKwQct1CJKy585iWTjNWf02v3KT9XEcMqH6U+HkopNowctjaBYOjoqy1uCqydJz/cKzDuHVt7hrAcWkkqRW+zCoyT3FzDPRss+hCppeuZy/7neGBPuqHtXCMLe/1E6KlW3h/bi8C3+zKNNWU8B0LDuQ== Received: from DM6PR13CA0023.namprd13.prod.outlook.com (2603:10b6:5:bc::36) by SJ0PR12MB5422.namprd12.prod.outlook.com (2603:10b6:a03:3ac::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.32; Mon, 11 Dec 2023 10:12:57 +0000 Received: from DS1PEPF0001709C.namprd05.prod.outlook.com (2603:10b6:5:bc:cafe::5b) by DM6PR13CA0023.outlook.office365.com (2603:10b6:5:bc::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.21 via Frontend Transport; Mon, 11 Dec 2023 10:12:57 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by DS1PEPF0001709C.mail.protection.outlook.com (10.167.18.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.18 via Frontend Transport; Mon, 11 Dec 2023 10:12:56 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Mon, 11 Dec 2023 02:12:47 -0800 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Mon, 11 Dec 2023 02:12:46 -0800 From: Xueming Li To: Bruce Richardson CC: David Marchand , dpdk stable Subject: patch 'eventdev: fix missing driver names in info struct' has been queued to stable release 22.11.4 Date: Mon, 11 Dec 2023 18:10:29 +0800 Message-ID: <20231211101226.2122-5-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231211101226.2122-1-xuemingl@nvidia.com> References: <20231022142250.10324-1-xuemingl@nvidia.com> <20231211101226.2122-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0001709C:EE_|SJ0PR12MB5422:EE_ X-MS-Office365-Filtering-Correlation-Id: bdffa2bc-77c2-4668-06a8-08dbfa31bf21 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +xOv/WqHoUScBXeWUd/8jFUsVEjOSHOF2PSfYtlccH0QzPppVSTkG5bWX9c76ehQNGAZPUTcS8F5bVUlFNIS1efIZdQcco/4PlzSYKUSAPDMZTUAoAfZr73mK0sTXsqts0qPWOwShKjPvlWce+sQob/qLnnEbxxKvj6YPyds5yxr49mWKkqPoBoJONfxvvsbBLQd1h7EUh+IROIDg+MqS9/Vp7fcXPYgh6yOvJmBBhIy0AI6jWFqstvxGrJjYigFw6gUhZtuoaEFxkM6YblZCTCZROOOj2MsvM65HYvvhymUY/+kH93dtwLasuqYKVHK8E15J+TsuFi2pYE40edO8os00FWMhtZ3AnpdS+EAQPJPFl8pqlpM7NvjsZbVWNW1zDi5965QdNFbCRbSzdDinLnJKec+RVk6uwDFS1rDEHqB/KkqBWnT8LuuFwz5fp6joxcy6VFE8U6tMAaq6SYsZPs3Wb07NBpNz1ekWcD92iC5+br3b+BKLABSYH0y+VXEAL5amd/lF5oLaWx0ZRVpSOXkBeI3Tf+msuQpkx8EttGluzxPtgzIjUqWHC6ahJVuHlnRVlYfQtU+RIgYV3t3/Hvt3kM+Womynh3/SsXsx95XQxLdIdtFXPodM1ptmlzWnKBD+QTz5g2iho05vGcfywfJa/RvNIBhMhcsCL5wdubcMAAGqOCe0af9MUEwpm5EzeSkh7Cb0/eIO0dHzXmNqGittzayspmjSIPuQ7IyymHPQ9WqcFUbKHUv8+36jkxsgOOLtJb0NexJfNhNJ2K/1sj2Sd6osqKy1KFJJ1Wrkh0= X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(4636009)(136003)(396003)(376002)(39860400002)(346002)(230922051799003)(64100799003)(82310400011)(451199024)(186009)(1800799012)(40470700004)(46966006)(36840700001)(2616005)(53546011)(1076003)(7696005)(36756003)(6666004)(966005)(478600001)(70206006)(316002)(6916009)(54906003)(70586007)(8676002)(40460700003)(86362001)(4326008)(7636003)(356005)(82740400003)(47076005)(55016003)(36860700001)(8936002)(40480700001)(26005)(336012)(426003)(6286002)(16526019)(5660300002)(41300700001)(2906002)(4001150100001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2023 10:12:56.8605 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bdffa2bc-77c2-4668-06a8-08dbfa31bf21 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0001709C.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB5422 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 22.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/13/23. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=51205657f12ea43eec8805101d6f91aeb0e3b5bb Thanks. Xueming Li --- >From 51205657f12ea43eec8805101d6f91aeb0e3b5bb Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Wed, 18 Oct 2023 14:39:33 +0100 Subject: [PATCH] eventdev: fix missing driver names in info struct Cc: Xueming Li [ upstream commit cbbba8b87e03a028a2ac2f3542f1927ba4edc598 ] Rather than relying on the individual drivers to always populated the driver name field in the info structure - something missed by some drivers, we can do so in the eventdev rte_event_dev_info_get() function. This fixes issues Fixes: bbbb929da5e6 ("event/skeleton: add skeleton eventdev driver") Fixes: 0ce3ce7c275c ("event/dpaa2: add configuration functions") Suggested-by: David Marchand Signed-off-by: Bruce Richardson --- lib/eventdev/rte_eventdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/eventdev/rte_eventdev.c b/lib/eventdev/rte_eventdev.c index 78336faa6a..04eeb76d4f 100644 --- a/lib/eventdev/rte_eventdev.c +++ b/lib/eventdev/rte_eventdev.c @@ -99,6 +99,8 @@ rte_event_dev_info_get(uint8_t dev_id, struct rte_event_dev_info *dev_info) dev_info->dequeue_timeout_ns = dev->data->dev_conf.dequeue_timeout_ns; dev_info->dev = dev->dev; + if (dev->dev != NULL && dev->dev->driver != NULL) + dev_info->driver_name = dev->dev->driver->name; return 0; } -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-12-11 17:56:23.395726200 +0800 +++ 0004-eventdev-fix-missing-driver-names-in-info-struct.patch 2023-12-11 17:56:22.877652300 +0800 @@ -1 +1 @@ -From cbbba8b87e03a028a2ac2f3542f1927ba4edc598 Mon Sep 17 00:00:00 2001 +From 51205657f12ea43eec8805101d6f91aeb0e3b5bb Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit cbbba8b87e03a028a2ac2f3542f1927ba4edc598 ] @@ -13 +15,0 @@ -Cc: stable@dpdk.org @@ -22 +24 @@ -index 95373bbaad..0ca32d6721 100644 +index 78336faa6a..04eeb76d4f 100644 @@ -25 +27 @@ -@@ -104,6 +104,8 @@ rte_event_dev_info_get(uint8_t dev_id, struct rte_event_dev_info *dev_info) +@@ -99,6 +99,8 @@ rte_event_dev_info_get(uint8_t dev_id, struct rte_event_dev_info *dev_info) @@ -31,2 +33,2 @@ - - rte_eventdev_trace_info_get(dev_id, dev_info, dev_info->dev); + return 0; + }