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 62A81432DA for ; Wed, 8 Nov 2023 20:25:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D50442DFD; Wed, 8 Nov 2023 20:25:57 +0100 (CET) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mails.dpdk.org (Postfix) with ESMTP id D464340395 for ; Wed, 8 Nov 2023 20:25:56 +0100 (CET) Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-32db188e254so25694f8f.0 for ; Wed, 08 Nov 2023 11:25:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699471556; x=1700076356; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=r4DdvNQ1KbjwPQO60NlmbAWfNM4ra5k6yWrE6E736bw=; b=OX1GqtUI0ZG7TpvB54Agbe2QN1hC9xgZcaDMSPgq9GO5WFknzhD5Xx25EIF84hM+Rn zIaflo7mJXrQ1oJYhDFLhy2XYVwtli4R7pA4ECSl0kMgZW5sirNMxnZI8kVY0kX8V0On rWc1TJGi1w9Eo9T6xwCLB+jYfc5Z0Y56Lss8LQ4zaPwKuvPSWfCo1YCGS16qOYKdOltx +7J7xvY5lEJqsUcBvLZYWOikAJNAEAVb/ExOCml5EIX/cDZf8ILF3gj7LHBJNniqmNc3 l46EtZ+WmDvzZ8HoxsZ/uRh3tWQFrXC+J9tWX+uVPRkvsP3TaPLX6ox3XEDgUCguzdMM K/Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699471556; x=1700076356; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=r4DdvNQ1KbjwPQO60NlmbAWfNM4ra5k6yWrE6E736bw=; b=YoJLy+sOzrVAToQrMXoRKmBEmdpTkGbGEVcl1Mw25vruCnFsGuwj09OK/urgShccjt R0q7Os9zZGXrlda6B7PspzqDN02AiSzOGZuhSHe32Syc86aJMFuUQHnU7FmD1/7KwIAj zq5LYjhRaw5xi00hD4jzPIbUGyPy0ooZj8pkjCNX/RLBwGRi10400pX16EtO6YoD1OsW vz/ESnGWhifhnnx1fwV/9FEy2QS0CrXPXGSMhD2WcX2gYR+2IhlcTE6PN8RCybps13GJ siL22nPz9r2/rxbFH2cXqDd2W//hLbDqqGI9Ifm1WpLx5YI776eEJtRwBlc5Y+j9AO+p SZqA== X-Gm-Message-State: AOJu0YxSt88OloqDTmxhHHBO2+BnAbyx/xXx4o24k1jmKuWZ8KutBIi9 PekNg8Yw7CHeB0h6x2NLsIJ+12p8EDyOnA== X-Google-Smtp-Source: AGHT+IENDqytLp322BGjrCQVKDe7G5JXTiWt3FCVwSUil6V8XcpNnFXwwMrWYQjB8dRMvsuskyVpVw== X-Received: by 2002:a05:6000:1ac7:b0:32d:e478:9d70 with SMTP id i7-20020a0560001ac700b0032de4789d70mr2403983wry.14.1699471556233; Wed, 08 Nov 2023 11:25:56 -0800 (PST) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id z2-20020adfec82000000b003232380ffd5sm5634204wrn.106.2023.11.08.11.25.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Nov 2023 11:25:55 -0800 (PST) From: luca.boccassi@gmail.com To: Bruce Richardson Cc: Ferruh Yigit , Huisong Li , dpdk stable Subject: patch 'ethdev: fix function name in comment' has been queued to stable release 20.11.10 Date: Wed, 8 Nov 2023 19:25:06 +0000 Message-Id: <20231108192535.922238-8-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231108192535.922238-1-luca.boccassi@gmail.com> References: <20231018235930.3144-41-luca.boccassi@gmail.com> <20231108192535.922238-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 20.11.10 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/10/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://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/6821f2a66caf7c772f0050d346df27e8c3af0c18 Thanks. Luca Boccassi --- >From 6821f2a66caf7c772f0050d346df27e8c3af0c18 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 [ 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/librte_ethdev/rte_ethdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index 4ea5ad445a..58599e19a7 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -3325,7 +3325,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.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-11-08 19:23:52.328632200 +0000 +++ 0008-ethdev-fix-function-name-in-comment.patch 2023-11-08 19:23:51.741395630 +0000 @@ -1 +1 @@ -From 4b98bef701c0bf39752031dd8943326945e2b5d1 Mon Sep 17 00:00:00 2001 +From 6821f2a66caf7c772f0050d346df27e8c3af0c18 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 4b98bef701c0bf39752031dd8943326945e2b5d1 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -17 +18 @@ - lib/ethdev/rte_ethdev.h | 2 +- + lib/librte_ethdev/rte_ethdev.h | 2 +- @@ -20,5 +21,5 @@ -diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h -index d1c10f2bbf..a53dd5a1ef 100644 ---- a/lib/ethdev/rte_ethdev.h -+++ b/lib/ethdev/rte_ethdev.h -@@ -3732,7 +3732,7 @@ rte_eth_tx_buffer_init(struct rte_eth_dev_tx_buffer *buffer, uint16_t size); +diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h +index 4ea5ad445a..58599e19a7 100644 +--- a/lib/librte_ethdev/rte_ethdev.h ++++ b/lib/librte_ethdev/rte_ethdev.h +@@ -3325,7 +3325,7 @@ rte_eth_tx_buffer_init(struct rte_eth_dev_tx_buffer *buffer, uint16_t size);