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 AB18043345 for ; Thu, 16 Nov 2023 14:24:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A4106406B4; Thu, 16 Nov 2023 14:24:16 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 88918402DD for ; Thu, 16 Nov 2023 14:24:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700141055; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EyV3s72QEBI9qGtubRKVzUJ4kgXwKkMQQQIpgkX0UTA=; b=WEAb9ZJXP17S0kk+VDmWfnezVuhi21Wb0k1A/ycpitbKn/GK7NxIWPDQHsFBV0heZSDBOE gNF+7rQbWlv7AWN3U+SfPWvmT6HP9qY0+RWcV60f2AN4rF5kN3q61h6Rg4jVLcB4jcVSQy gaENTTpmzvL/q1vh83Gt2URJohy+2Vs= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-689-6qmRO-nMMCaJIJCZF9QcCA-1; Thu, 16 Nov 2023 08:24:13 -0500 X-MC-Unique: 6qmRO-nMMCaJIJCZF9QcCA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B340929ABA3C; Thu, 16 Nov 2023 13:24:12 +0000 (UTC) Received: from rh.Home (unknown [10.39.194.169]) by smtp.corp.redhat.com (Postfix) with ESMTP id A2F232166B27; Thu, 16 Nov 2023 13:24:11 +0000 (UTC) From: Kevin Traynor To: Bruce Richardson Cc: Ferruh Yigit , Huisong Li , dpdk stable Subject: patch 'ethdev: fix function name in comment' has been queued to stable release 21.11.6 Date: Thu, 16 Nov 2023 13:22:52 +0000 Message-ID: <20231116132348.557257-10-ktraynor@redhat.com> In-Reply-To: <20231116132348.557257-1-ktraynor@redhat.com> References: <20231116132348.557257-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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 21.11.6 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/21/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/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/0aaa1f61468e7d8fe07e4b7a0463802181f8fdf6 Thanks. Kevin --- >From 0aaa1f61468e7d8fe07e4b7a0463802181f8fdf6 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/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 4da4baf2a1..083f324a46 100644 --- a/lib/ethdev/rte_ethdev.h +++ b/lib/ethdev/rte_ethdev.h @@ -3650,5 +3650,5 @@ rte_eth_tx_buffer_init(struct rte_eth_dev_tx_buffer *buffer, uint16_t size); * 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. * -- 2.41.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-11-16 13:21:52.818955992 +0000 +++ 0010-ethdev-fix-function-name-in-comment.patch 2023-11-16 13:21:52.408946253 +0000 @@ -1 +1 @@ -From 4b98bef701c0bf39752031dd8943326945e2b5d1 Mon Sep 17 00:00:00 2001 +From 0aaa1f61468e7d8fe07e4b7a0463802181f8fdf6 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 4b98bef701c0bf39752031dd8943326945e2b5d1 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index d1c10f2bbf..a53dd5a1ef 100644 +index 4da4baf2a1..083f324a46 100644 @@ -24 +25 @@ -@@ -3733,5 +3733,5 @@ rte_eth_tx_buffer_init(struct rte_eth_dev_tx_buffer *buffer, uint16_t size); +@@ -3650,5 +3650,5 @@ rte_eth_tx_buffer_init(struct rte_eth_dev_tx_buffer *buffer, uint16_t size);