numam-dpdk/drivers/raw/ioat
Kevin Laatz 7972110e59 raw/ioat: fix missing ring pointer reset
In the event of a device reconfigure, "hdls_avail" is not being reset. This
can lead to miscalculations in rte_ioat_completed_ops(), causing the
function to report an incorrect amount of completed operations. This patch
fixes the issue by resetting "hdls_avail" during the device configure.

Fixes: 74464005a2 ("raw/ioat: rework SW ring layout")
Cc: stable@dpdk.org

Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2021-06-22 23:12:47 +02:00
..
dpdk_idxd_cfg.py raw/ioat: add device reset to configuration script 2021-06-17 09:38:28 +02:00
idxd_bus.c raw/ioat: fix missing device name in idxd bus scan 2021-06-17 09:37:12 +02:00
idxd_pci.c raw/ioat: rework SW ring layout 2021-05-04 17:37:47 +02:00
ioat_common.c raw/ioat: fix missing ring pointer reset 2021-06-22 23:12:47 +02:00
ioat_private.h raw/ioat: add component prefix to log messages 2021-05-04 17:07:19 +02:00
ioat_rawdev_test.c raw/ioat: report status of completed jobs 2021-05-04 17:43:50 +02:00
ioat_rawdev.c log: register with standardized names 2021-05-11 15:17:55 +02:00
ioat_spec.h raw/ioat: fix work-queue config size 2020-10-30 16:01:45 +01:00
meson.build raw/ioat: move idxd functions to separate file 2021-05-04 17:33:09 +02:00
rte_idxd_rawdev_fns.h raw/ioat: remove special case for no status reporting 2021-05-12 20:48:41 +02:00
rte_ioat_rawdev_fns.h raw/ioat: report status of completed jobs 2021-05-04 17:43:50 +02:00
rte_ioat_rawdev.h raw/ioat: report status of completed jobs 2021-05-04 17:43:50 +02:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00