ethdev: get xstats ID by name
authorKuba Kozak <kubax.kozak@intel.com>
Thu, 27 Apr 2017 14:42:37 +0000 (16:42 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 1 May 2017 21:48:37 +0000 (23:48 +0200)
commitf328ae2560505fda651d63a5fa1e0abbd38ab3af
tree0396a83128c48b1707f084b25d4ac74f13d4919d
parent79c913a42f0e9c0ca493d4ed8f91efa7cb92d68a
ethdev: get xstats ID by name

Introduced new function: rte_eth_xstats_get_id_by_name
to retrieve xstats ids by its names.

Signed-off-by: Kuba Kozak <kubax.kozak@intel.com>
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h
lib/librte_ether/rte_ether_version.map