numam-dpdk/drivers
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
..
baseband baseband/fpga_5gnr_fec: remove filler from HARQ 2022-06-01 16:26:36 +02:00
bus bus/fslmc: fix VFIO setup 2022-06-07 20:49:20 +02:00
common common/cnxk: allow building for generic arm64 2022-06-07 20:49:20 +02:00
compress compress/octeontx: support OCTEON TX2 SoC family 2022-04-29 11:36:46 +02:00
crypto replace zero-length arrays with flexible ones 2022-06-07 16:44:21 +02:00
dma dma/idxd: fix error code for PCI device commands 2022-06-08 10:54:02 +02:00
event common/cnxk: allow building for generic arm64 2022-06-07 20:49:20 +02:00
gpu gpu/cuda: unmap GPU memory while freeing 2022-05-24 23:09:49 +02:00
mempool common/cnxk: support CNF950_A0 2022-06-01 22:30:32 +02:00
net common/cnxk: allow building for generic arm64 2022-06-07 20:49:20 +02:00
raw raw/ifpga: support OFS card probing 2022-06-07 15:50:54 +02:00
regex replace zero-length arrays with flexible ones 2022-06-07 16:44:21 +02:00
vdpa vdpa/ifc/base: access block device registers 2022-06-01 11:50:10 +02:00
meson.build build: add definitions for use as Meson subproject 2022-06-07 20:49:20 +02:00