raw/ioat: add xstats tracking for idxd device
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 8 Oct 2020 09:51:31 +0000 (10:51 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 8 Oct 2020 12:33:20 +0000 (14:33 +0200)
commit60927cc650575e25f06e890a21ead2c1001a6bb1
tree55b9584d264abc913ed7459aa8a6f441843734b2
parenta32e194474064877959be54c1df572f3cf6d7b37
raw/ioat: add xstats tracking for idxd device

Add update of the relevant stats for the data path functions and point the
overall device struct xstats function pointers to the existing ioat
functions.

At this point, all necessary hooks for supporting the existing unit tests
are in place so call them for each device.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
drivers/raw/ioat/idxd_pci.c
drivers/raw/ioat/idxd_vdev.c
drivers/raw/ioat/ioat_rawdev_test.c
drivers/raw/ioat/rte_ioat_rawdev_fns.h