numam-dpdk/drivers/dma
Kevin Laatz f217dbff20 dma/idxd: fix error code for PCI device commands
When sending a command to an idxd device via PCI BAR, the response from
HW is checked to ensure it was successful. The response was incorrectly
being negated before being returned by the function, meaning error codes
cannot be checked against the HW specification.

This patch fixes the return values of the function by removing the
negation.

Fixes: 9449330a84 ("dma/idxd: create dmadev instances on PCI probe")
Fixes: 452c1916b0 ("dma/idxd: fix truncated error code in status check")
Cc: stable@dpdk.org

Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Conor Walsh <conor.walsh@intel.com>
2022-06-08 10:54:02 +02:00
..
cnxk dma/cnxk: fix installing internal headers 2022-01-27 18:11:11 +01:00
dpaa dma/dpaa: support statistics 2021-11-10 13:48:38 +01:00
dpaa2 dma/dpaa2: support statistics 2022-06-01 08:58:27 +02:00
hisilicon dma/hisilicon: support vchan status query 2022-06-07 12:41:06 +02:00
idxd dma/idxd: fix error code for PCI device commands 2022-06-08 10:54:02 +02:00
ioat dma/ioat: add burst capacity 2021-10-22 22:40:59 +02:00
skeleton fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
meson.build dma/dpaa2: introduce driver skeleton 2022-06-01 08:58:27 +02:00