ethdev: fix missing imissed counter in xstats
authorOlivier Matz <olivier.matz@6wind.com>
Mon, 11 Dec 2017 10:26:08 +0000 (11:26 +0100)
committerOlivier Matz <olivier.matz@6wind.com>
Mon, 11 Dec 2017 10:28:22 +0000 (11:28 +0100)
commitc31117cdd60c9efbaf9d7f8a1d172ae8e0c572e9
tree9e948601b2e4b2067f0cd511911026896989e042
parent329d9b7855d1385d0d2f49386535aa8b4e044aa5
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 again.

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>
lib/librte_ether/rte_ethdev.c