ethdev: fix missing imissed counter in xstats
authorOlivier Matz <olivier.matz@6wind.com>
Thu, 14 Dec 2017 14:23:00 +0000 (15:23 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit831d94fdb6fc2bc1b658e81be5838f3ebe633785
tree9e074ad4e7e588b9dcc463d49e39f43f2f869d86
parent1883f4b8a5fa87f4d62992127012602c14c312e8
ethdev: fix missing imissed counter in xstats

imissed counter has been set as deprecated in commit 49f386542af4
("ethdev: remove driver specific stats") and removed from the
rte_eth_xstats_name_off structure.

The imissed counter has been restored few commits later but has not been
restored in the rte_eth_stats structure. Add it back.

Fixes: 4eadb8ba11b7 ("ethdev: do not deprecate imissed counter")
Cc: stable@dpdk.org
Signed-off-by: Thibaut Collet <thibaut.collet@6wind.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_ether/rte_ethdev.c