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 76C00433D8 for ; Mon, 11 Dec 2023 11:14:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 70FA840ED2; Mon, 11 Dec 2023 11:14:17 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2059.outbound.protection.outlook.com [40.107.92.59]) by mails.dpdk.org (Postfix) with ESMTP id 97DA440E0F for ; Mon, 11 Dec 2023 11:14:15 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EcPCc4kl4R5F5RL7DOwWYmNLspPrI/GvbBMWxy4cbRYxH/3yX88dAnLwyugy75o0IQJuSimopkgASZUpdMQLBjQzXpFoNHp0iKVK6DOJnk4Un4sq4dmZFHlNeukvq3CDyYwAfUu7jgLYycjRZ1jbLytUlxAaAgDvI26Z73YPdYlatHBcpwDiiXei0SK6haK4tEhbCRNocVfyASb62bitwRIBwL36WwZ07vQBjXA4O2zJOO4jmmrcvO64lo9RrheT+e9f4B8OymAXCD8stwdcFQgWAC6qIqvPFXcJM5LgtjIZL9CgEQ6GNkHv6MsQ5F0JHApRR3dlkU5f/eDQ7JrvaQ== 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=3g01+gFsUm/pFbb/n4H+l+J8wfn4D/ap3HAcFKDrc+4=; b=RAn7XXpwyEnXIfU/SKltvHYorRVuoqVVei1GCGCiCTHsiefZrjzHHfxcRkk9KNKvDNJuaCpRKcL4SaLb8crr8gHXS2EYRKHS7ZZdAMCqsGBXAnQDKMPygI2a551pB0zQg3fpw20ylrQ3r3LyiQze5/uUHuh18dQ+oXbHU5IZbCyFVGQIYoISThjKtRJdNNFylHp8d8ptmk7M5v35v2ax/Bhu6m38Cn13IXqs+ygrUVCn1Om842Vtgg28/wyBB6XpynYySJlXKs0QDLu+zXt7bDqiEklAtTCq8xOqZoV32QLJOLzuY0xwavFoyJfLULgrdE92IwwFUXHrCFqM1QXTsg== 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=3g01+gFsUm/pFbb/n4H+l+J8wfn4D/ap3HAcFKDrc+4=; b=YqykXFw4SesuhwDFS8LsR3ucMYZojBhxVwlmi4FI7e3WzB49ZJBBhAM0tFKFnnp3MGH+7ssLZIb8Sv/hosCO81pLljIA+y5L7AeqtdChcx0kafiuVapipfVx4S4AyEQTWkEHzKrpikwRurjB+I+vMUcK3kvrqPCbRviEmA1kny35QNeWKuWOFvlVw67GwSU/73QM/dvqukQFUJPzs1z1SIENLGVBeV4l2fuGrTduH4n1+HOfaU5Dq49nUEyumZHmkM1o/Tzb2/mC7fAgF0qTknaPae9mycHy1HnIk8giyuy2o6gjiTQffyd4UXqUunKGqJhLYcLNCETGKv/eWAZwkg== Received: from DM6PR10CA0007.namprd10.prod.outlook.com (2603:10b6:5:60::20) by DM6PR12MB5021.namprd12.prod.outlook.com (2603:10b6:5:208::17) 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:14:13 +0000 Received: from DS3PEPF000099E1.namprd04.prod.outlook.com (2603:10b6:5:60:cafe::c6) by DM6PR10CA0007.outlook.office365.com (2603:10b6:5:60::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.32 via Frontend Transport; Mon, 11 Dec 2023 10:14:13 +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 DS3PEPF000099E1.mail.protection.outlook.com (10.167.17.196) 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:14:12 +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:14:00 -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:13:59 -0800 From: Xueming Li To: Bruce Richardson CC: Ferruh Yigit , Huisong Li , dpdk stable Subject: patch 'ethdev: fix function name in comment' has been queued to stable release 22.11.4 Date: Mon, 11 Dec 2023 18:10:41 +0800 Message-ID: <20231211101226.2122-17-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: DS3PEPF000099E1:EE_|DM6PR12MB5021:EE_ X-MS-Office365-Filtering-Correlation-Id: 8ff7c887-f9f3-4b8e-498e-08dbfa31ec71 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zhcbvqzKghlQOP7OlkwPj54xm+LEWCeJrMOK0Np6SzGZjz/cFnvDlqOxsMuAjdFZbPhX4nKJhVsI6uRaQm0H+FNBKPnIdYw0qkz02u88uFjjojYgi1777lKwNooChQtw2wPgdQ5p5KAZrVNjIGWR4+YPbw4v0gHgK31ktY6w9CJMtsY9c1x8fDpvSkiSjttnuWJSogrrB8SlC527zWlFppOcGp0lgaZT5bNNiUzokanUQOV2dRa7zY+e9qlHGwwr+YzDgVFMTtl3sdOLo8YVrxgI898McQecKwWwaJyBhjeAhIKSyiLZOFEY2HVKGskemwx+z2gdFNCMMgVgK1tcd/w/XumbzFgJMKCThpsAQsq0jrlo78Lc2wCQozXLlFIqzbIL4Ud3jQPS5Co+MEIgVlJu+2V2kA0PvcPloSMRiD97KZAcgUj+7UNz5ItE31aczjTCnI4g3wHwc9I7fp4W414n4T6vBBSeOFOFFB/LY1ONI5yVg+bb3fGMgtaOh7cBoH6ypepz6aol65/5aonwZa7nVgW4T3ilgXpGm6pJLeFJI+fwd8AswQ1vpNbRcCUuERr7zp36sMrDTLCJCqrCyi+MpcgCXqBkQy1ypfSjUL3OiV8bLCcAUqdH+J0xh0u/q6rWRsIh6fb6ra1+9aWWGfXny+EDtsB+jdS9gtuxCHvQZ4padF+IKkwOwTz+K/vpVVItFZo/voK5tA3SozD3wsJMKe0tYillhBbXWdTQ9XJ28qE7jNi91oBmk/5sTgkqs16NwYll4AQ+GzcfQQ5um9PkjoEDH9Su2N6+DFlVQxs= 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)(346002)(39860400002)(376002)(396003)(230922051799003)(64100799003)(451199024)(82310400011)(1800799012)(186009)(36840700001)(40470700004)(46966006)(55016003)(40480700001)(41300700001)(4001150100001)(40460700003)(2906002)(5660300002)(316002)(4326008)(6916009)(8936002)(8676002)(70586007)(54906003)(70206006)(356005)(82740400003)(7636003)(2616005)(86362001)(36756003)(36860700001)(47076005)(966005)(83380400001)(426003)(26005)(478600001)(6666004)(6286002)(336012)(1076003)(16526019)(7696005)(53546011); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2023 10:14:12.8839 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8ff7c887-f9f3-4b8e-498e-08dbfa31ec71 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: DS3PEPF000099E1.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB5021 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=6f78b589c58a182459d8253ba66f6cd256258742 Thanks. Xueming Li --- >From 6f78b589c58a182459d8253ba66f6cd256258742 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Fri, 20 Oct 2023 14:05:56 +0100 Subject: [PATCH] ethdev: fix function name in comment Cc: Xueming Li [ upstream commit 4b98bef701c0bf39752031dd8943326945e2b5d1 ] For those using the function comments as a guide, provide the name of the correct callback function to use when wanting to count dropped packets from the ethdev Tx buffering system. Fixes: d6c99e62c852 ("ethdev: add buffered Tx") Signed-off-by: Bruce Richardson Acked-by: Ferruh Yigit Acked-by: Huisong Li --- lib/ethdev/rte_ethdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h index 5f187131e2..e73244822a 100644 --- a/lib/ethdev/rte_ethdev.h +++ b/lib/ethdev/rte_ethdev.h @@ -3637,7 +3637,7 @@ rte_eth_tx_buffer_init(struct rte_eth_dev_tx_buffer *buffer, uint16_t size); * for example, to count dropped packets, or to retry transmission of packets * which cannot be sent, this function should be used to register a suitable * callback function to implement the desired behaviour. - * The example callback "rte_eth_count_unsent_packet_callback()" is also + * The example callback "rte_eth_tx_buffer_count_callback()" is also * provided as reference. * * @param buffer -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-12-11 17:56:23.722310100 +0800 +++ 0016-ethdev-fix-function-name-in-comment.patch 2023-12-11 17:56:22.897652300 +0800 @@ -1 +1 @@ -From 4b98bef701c0bf39752031dd8943326945e2b5d1 Mon Sep 17 00:00:00 2001 +From 6f78b589c58a182459d8253ba66f6cd256258742 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 4b98bef701c0bf39752031dd8943326945e2b5d1 ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org @@ -21 +23 @@ -index d1c10f2bbf..a53dd5a1ef 100644 +index 5f187131e2..e73244822a 100644 @@ -24 +26 @@ -@@ -3732,7 +3732,7 @@ rte_eth_tx_buffer_init(struct rte_eth_dev_tx_buffer *buffer, uint16_t size); +@@ -3637,7 +3637,7 @@ rte_eth_tx_buffer_init(struct rte_eth_dev_tx_buffer *buffer, uint16_t size);