Go to file
Kevin Laatz 452c1916b0 dma/idxd: fix truncated error code in status check
When checking if the DMA device is active, the result of the operand will
always be zero since the err_code is truncated to 8 bits which makes
checking the 31st bit impossible.

This is fixed by changing the type of err_code to uint32_t so that it is
not truncated.

Coverity issue: 373657
Fixes: 9449330a84 ("dma/idxd: create dmadev instances on PCI probe")

Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Conor Walsh <conor.walsh@intel.com>
2021-10-27 17:01:56 +02:00
.ci ci: update Meson option for generic build 2021-10-25 17:41:00 +02:00
.github/workflows version: 21.11-rc0 2021-08-17 08:37:52 +02:00
app test: fix ring PMD initialisation 2021-10-26 19:59:26 +02:00
buildtools buildtools: enable header includes check on Windows 2021-10-11 21:17:21 +02:00
config config: add option for atomic mbuf reference counting 2021-10-25 17:53:30 +02:00
devtools devtools: add cocci script to rename mbuf offload flags 2021-10-24 13:37:02 +02:00
doc examples/dma: rename ioat application example 2021-10-27 16:53:39 +02:00
drivers dma/idxd: fix truncated error code in status check 2021-10-27 17:01:56 +02:00
examples examples/dma: rename ioat application example 2021-10-27 16:53:39 +02:00
kernel kni: fix build for SLES15-SP3 2021-10-25 15:30:23 +02:00
lib eal: simplify control thread creation 2021-10-25 21:43:10 +02:00
license lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
usertools usertools/devbind: conform to PEP8 recommended style 2021-10-25 22:31:53 +02:00
.editorconfig
.gitattributes
.gitignore doc: add flow API features tables 2021-05-18 19:06:56 +02:00
.travis.yml version: 21.11-rc0 2021-08-17 08:37:52 +02:00
ABI_VERSION version: 21.11-rc0 2021-08-17 08:37:52 +02:00
MAINTAINERS examples/dma: rename ioat application example 2021-10-27 16:53:39 +02:00
Makefile
meson_options.txt config: add option for atomic mbuf reference counting 2021-10-25 17:53:30 +02:00
meson.build lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
README
VERSION version: 21.11-rc1 2021-10-25 22:42:47 +02:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org