]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_ether/rte_ethdev.h
app/proc-info: support xstats by ID
[dpdk.git] / lib / librte_ether / rte_ethdev.h
index 2f4d2a80cfd031e252021ba7bf62d6c8d03e7cd6..cb6efb7060ad92d350f56895eb29dda5a0b6202f 100644 (file)
@@ -2330,6 +2330,7 @@ int rte_eth_xstats_get_id_by_name(uint8_t port_id, const char *xstat_name,
  *     shall not be used by the caller.
  *   - A negative value on error (invalid port id).
  */
+__rte_deprecated
 int rte_eth_xstats_get_all(uint8_t port_id, struct rte_eth_xstat *xstats,
        unsigned int n);
 
@@ -2353,6 +2354,7 @@ int rte_eth_xstats_get_all(uint8_t port_id, struct rte_eth_xstat *xstats,
  *     shall not be used by the caller.
  *   - A negative value on error (invalid port id).
  */
+__rte_deprecated
 int rte_eth_xstats_get_names_all(uint8_t port_id,
                struct rte_eth_xstat_name *xstats_names, unsigned int n);