raw/ioat: move xstats functions to common file
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 8 Oct 2020 09:51:30 +0000 (10:51 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 8 Oct 2020 12:33:20 +0000 (14:33 +0200)
commita32e194474064877959be54c1df572f3cf6d7b37
treeee06ed109451c5408cb24b3d9ae6918ca5c51b7c
parent8636b9a18e19a48fc7c133900b476ac581f02aaa
raw/ioat: move xstats functions to common file

The xstats functions can be used by all ioat devices so move them from the
ioat_rawdev.c file to ioat_common.c, and add the function prototypes to the
internal header file.

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/ioat_common.c
drivers/raw/ioat/ioat_private.h
drivers/raw/ioat/ioat_rawdev.c