]> git.droids-corp.org - dpdk.git/commitdiff
ethdev: do not deprecate imissed counter
authorMaryam Tahhan <maryam.tahhan@intel.com>
Tue, 20 Oct 2015 10:34:18 +0000 (11:34 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 2 Nov 2015 23:39:45 +0000 (00:39 +0100)
Remove the deprecation tag and notice for imissed as it is a generic
register that accounts for packets that were dropped by the HW,
because there are no available mbufs (RX queues are full). imissed is
different to ierrors and can help with general debug.

Fixes: 49f386542af4 ("ethdev: remove driver specific stats")
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
doc/guides/rel_notes/deprecation.rst
lib/librte_ether/rte_ethdev.h

index a391ff091dbb477a3126e94a48a1b208167243d4..f099ac0333a080fd32d5484f995a4f7c814902e5 100644 (file)
@@ -14,7 +14,7 @@ Deprecation Notices
   All binaries will need to be rebuilt from release 2.2.
 
 * The following fields have been deprecated in rte_eth_stats:
-  imissed, ibadcrc, ibadlen, imcasts, fdirmatch, fdirmiss,
+  ibadcrc, ibadlen, imcasts, fdirmatch, fdirmiss,
   tx_pause_xon, rx_pause_xon, tx_pause_xoff, rx_pause_xoff
 
 * ABI changes are planned for struct rte_eth_fdir_flow_ext in order to support
index c835a2f5652b1283715d060d7008207659ae347c..7cf4af86345c265c9b144d57ce8a79b323054928 100644 (file)
@@ -195,7 +195,9 @@ struct rte_eth_stats {
        uint64_t ibytes;    /**< Total number of successfully received bytes. */
        uint64_t obytes;    /**< Total number of successfully transmitted bytes. */
        uint64_t imissed;
-       /**< Deprecated; Total of RX missed packets (e.g full FIFO). */
+       /**< Total of RX packets dropped by the HW,
+        * because there are no available mbufs (i.e. RX queues are full).
+        */
        uint64_t ibadcrc;
        /**< Deprecated; Total of RX packets with CRC error. */
        uint64_t ibadlen;