From patchwork Fri Oct 20 13:05:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 133075 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1D46D431A1; Fri, 20 Oct 2023 15:06:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 987B340284; Fri, 20 Oct 2023 15:06:22 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id D56F340283; Fri, 20 Oct 2023 15:06:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697807181; x=1729343181; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=2kzO8wW5wNHXr68m0GMqv6IxzESod5LEsGsmSwwy1xc=; b=OMIIhV/wfXiaNhccodlxeGqRWyCaSxk9OfLW368wL5K948hsgNasPjup OOwE2xKtzGbDl9t2pe2xFlhYr3qE3y4BgmcY7cD/UstD0pHIG03eILwgV MUlPIj3aRmjEbGUpMcNg3CZCpydPaVMs2v0BZ9QdS/nuVPC7erTWiQlG1 tM0o0y7c59GoyZ1Yge9bJywilpC9Wrdu7jyDMHpoDIrvdngjLlqwJEAYx Gadh1qRvGs1INfALsjGm+VASOe2KLSPdW5ggs6hhCQbLIgdOqOZ5K3rw0 rPH+Ceb+NK3+Ivx4UcAJQYbKpRyOXbV9BMH1x3Sv13N4AXs0rUMeoYTCF g==; X-IronPort-AV: E=McAfee;i="6600,9927,10869"; a="417622904" X-IronPort-AV: E=Sophos;i="6.03,238,1694761200"; d="scan'208";a="417622904" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2023 06:06:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10869"; a="1004603595" X-IronPort-AV: E=Sophos;i="6.03,238,1694761200"; d="scan'208";a="1004603595" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.41]) by fmsmga006.fm.intel.com with ESMTP; 20 Oct 2023 06:06:02 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Ferruh Yigit , Bruce Richardson , stable@dpdk.org Subject: [PATCH] ethdev: fix incorrect function name in comment Date: Fri, 20 Oct 2023 14:05:56 +0100 Message-Id: <20231020130556.37242-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 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 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") Cc: stable@dpdk.org 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 85b9af7a02..2fd3cd808d 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); * 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