[dpdk-dev] [PATCH] ethdev: remove the imissed deprecation tag
Stephen Hemminger
stephen at networkplumber.org
Tue Oct 13 17:53:15 CEST 2015
On Wed, 30 Sep 2015 09:20:56 +0100
Maryam Tahhan <maryam.tahhan at intel.com> wrote:
> diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
> index fa06554..78bd94d 100644
> --- a/lib/librte_ether/rte_ethdev.h
> +++ b/lib/librte_ether/rte_ethdev.h
> @@ -194,8 +194,7 @@ struct rte_eth_stats {
> uint64_t opackets; /**< Total number of successfully transmitted packets.*/
> 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). */
If you want to deprecate a structure field, it works better to mark
it with __attribute__((deprecated)) that way all use of that field in
code will be flagged.
Comments are advisory only and often never spotted.
More information about the dev
mailing list