raw/ioat: support xstats reset
authorCiara Power <ciara.power@intel.com>
Tue, 29 Oct 2019 13:41:47 +0000 (13:41 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 30 Oct 2019 09:07:44 +0000 (10:07 +0100)
commitfe084d35cd4a589b0366eab6dfebf59a6d9979aa
treef06c50a5b5ff9da6406d9c7abe139ff065fbdfbb
parent19397c7bf2545e6adab41b657a1f1da3c7344e7b
raw/ioat: support xstats reset

The rawdev xstats_reset function is now enabled.  It is called when the
ioat autotest completes, to reset all xstat values after they have been
modified during testing.

Signed-off-by: Ciara Power <ciara.power@intel.com>
Reviewed-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/raw/ioat/ioat_rawdev.c
drivers/raw/ioat/ioat_rawdev_test.c