Go to file
Qi Zhang 2a3de3710f vfio: fix PCI address comparison
When use memcmp to compare two PCI address, sizeof(struct rte_pci_addr)
is 4 bytes aligned, and it is 8. While only 7 byte of struct rte_pci_addr
is valid. So compare the 8th byte will cause the unexpected result, which
happens when repeatedly attach/detach a device.

Fixes: 94c0776b1b ("vfio: support hotplug")
Cc: stable@dpdk.org

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
2018-07-20 14:26:16 +02:00
app app/testpmd: fix typo in setting Tx offload command 2018-07-16 00:42:46 +02:00
buildtools mk: fix cross build 2018-07-11 21:13:25 +02:00
config net/netvsc: add Hyper-V network device 2018-07-13 23:48:07 +02:00
devtools devtools: fix symbol check for filename with space 2018-07-20 11:37:26 +02:00
doc app/testpmd: fix typo in setting Tx offload command 2018-07-16 00:42:46 +02:00
drivers vfio: fix PCI address comparison 2018-07-20 14:26:16 +02:00
examples examples/ipsec-secgw: use function to access mbuf private 2018-07-13 23:13:52 +02:00
kernel igb_uio: fix build with lock down checks 2018-07-11 18:49:21 +02:00
lib eal: fix hotplug add and remove 2018-07-20 14:26:16 +02:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk net/netvsc: add Hyper-V network device 2018-07-13 23:48:07 +02:00
pkg version: 18.05.0 2018-05-30 22:55:57 +02:00
test test/power: fix 32-bit build 2018-07-13 18:24:52 +02:00
usertools usertools: add Cavium TIM as an event device 2018-04-16 11:11:06 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add compression driver and ISA-L PMD guides 2018-05-10 17:46:20 +01:00
GNUmakefile move kernel modules directories 2018-03-21 23:04:21 +01:00
MAINTAINERS devtools: add checks for ABI symbol addition 2018-07-16 01:09:58 +02:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt net/mvpp2: add to meson build 2018-04-19 14:10:44 +02:00
meson.build version: 18.08-rc1 2018-07-16 01:17:18 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01: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