numam-dpdk/drivers/raw/ioat
Ciara Power b7c81c1403 raw/ioat: fix initial ring size check
When running the ioat_rawdev_autotest, the ring size was initially required
to be 0. This prevented the test being run multiple times, as the ring size
is modified to a non-zero value when running the first test.

A global variable is now used to track the expected ring size, and is used
in the initial value check.  This enables the test to be run more than
once.

Fixes: 849470d522 ("raw/ioat: add configure, start and stop functions")
Cc: stable@dpdk.org

Reported-by: Yinan Wang <yinan.wang@intel.com>
Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2019-10-27 14:19:19 +01:00
..
ioat_rawdev_test.c raw/ioat: fix initial ring size check 2019-10-27 14:19:19 +01:00
ioat_rawdev.c eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
Makefile drivers/raw: standardize naming 2019-07-30 15:36:35 +02:00
meson.build drivers: add some reasons for meson disabling 2019-09-12 18:32:40 +02:00
rte_ioat_rawdev.h raw/ioat: fix include quotes 2019-07-23 20:49:47 +02:00
rte_ioat_spec.h raw/ioat: add register definition file 2019-07-04 09:44:23 +02:00
rte_rawdev_ioat_version.map drivers/raw: standardize naming 2019-07-30 15:36:35 +02:00