From: Olivier Matz Date: Fri, 9 Sep 2016 08:15:21 +0000 (+0200) Subject: ethdev: clarify API comment for imissed stats X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=faaf69adb93e9a286e2506c448857c2dc2b7f225;p=dpdk.git ethdev: clarify API comment for imissed stats 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 --- diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 2b5f371e04..7218b6ffd0 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. */