DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2 1/1] ethdev: remove the imissed deprecation tag
@ 2015-10-20 10:34 Maryam Tahhan
  2015-11-02 23:41 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Maryam Tahhan @ 2015-10-20 10:34 UTC (permalink / raw)
  To: dev

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>
---
v2:
 - Clarify why imissed is no longer deprecated.
 - Improve definition of imissed in the documentation.
---
 doc/guides/rel_notes/deprecation.rst | 2 +-
 lib/librte_ether/rte_ethdev.h        | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index fa55117..c4babbd 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -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
diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index 8a8c82b..d404f85 100644
--- a/lib/librte_ether/rte_ethdev.h
+++ b/lib/librte_ether/rte_ethdev.h
@@ -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 missed packets (packets that were 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;
-- 
2.4.3

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH v2 1/1] ethdev: remove the imissed deprecation tag
  2015-10-20 10:34 [dpdk-dev] [PATCH v2 1/1] ethdev: remove the imissed deprecation tag Maryam Tahhan
@ 2015-11-02 23:41 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2015-11-02 23:41 UTC (permalink / raw)
  To: Maryam Tahhan; +Cc: dev

2015-10-20 11:34, Maryam Tahhan:
> 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>
> ---
> v2:
>  - Clarify why imissed is no longer deprecated.
>  - Improve definition of imissed in the documentation.
> ---

Applied, thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-02 23:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-20 10:34 [dpdk-dev] [PATCH v2 1/1] ethdev: remove the imissed deprecation tag Maryam Tahhan
2015-11-02 23:41 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).