rawdev: add extended stats
authorShreyansh Jain <shreyansh.jain@nxp.com>
Wed, 31 Jan 2018 09:13:12 +0000 (14:43 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 31 Jan 2018 14:35:37 +0000 (15:35 +0100)
commit4d4fdc142bde73444ce330e5e1f16799815774ae
treec9c6ba27a9d071ea7b934464f14a5628c57957e4
parenteaf12cccca963a664ff75a8c28454935e237886d
rawdev: add extended stats

Generic rawdev library cannot define a pre-defined set of stats
for devices which are yet to be defined.

This patch introduces the xstats support for rawdev so that any
implementation can create its own statistics.

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
lib/librte_rawdev/rte_rawdev.c
lib/librte_rawdev/rte_rawdev.h
lib/librte_rawdev/rte_rawdev_pmd.h
lib/librte_rawdev/rte_rawdev_version.map