From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com [62.23.145.76]) by dpdk.org (Postfix) with ESMTP id A567A37A6 for ; Fri, 9 Sep 2016 10:15:55 +0200 (CEST) Received: from glumotte.dev.6wind.com (unknown [10.16.0.195]) by proxy.6wind.com (Postfix) with ESMTP id 70D1123DBD; Fri, 9 Sep 2016 10:15:55 +0200 (CEST) From: Olivier Matz To: dev@dpdk.org, thomas.monjalon@6wind.com Date: Fri, 9 Sep 2016 10:15:21 +0200 Message-Id: <1473408921-13036-1-git-send-email-olivier.matz@6wind.com> X-Mailer: git-send-email 2.8.1 Subject: [dpdk-dev] [PATCH] ethdev: clarify API comment for imissed stats X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2016 08:15:55 -0000 The "imissed" stats represent RX packets dropped by the HW, so we should not talk about mbufs as the hardware is not aware of this structure. Buffer seems to be a better word. Fixes: 4eadb8ba11b7 ("ethdev: do not deprecate imissed counter") Signed-off-by: Olivier Matz --- lib/librte_ether/rte_ethdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index b0fe033..f4bc272 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -198,7 +198,7 @@ struct rte_eth_stats { uint64_t obytes; /**< Total number of successfully transmitted bytes. */ uint64_t imissed; /**< Total of RX packets dropped by the HW, - * because there are no available mbufs (i.e. RX queues are full). + * because there are no available buffer (i.e. RX queues are full). */ uint64_t ierrors; /**< Total number of erroneous received packets. */ uint64_t oerrors; /**< Total number of failed transmitted packets. */ -- 2.8.1