[dpdk-dev] [PATCH v5 0/6] fix the issue that DPDK takes over virtio device blindly
Huawei Xie
huawei.xie at intel.com
Tue Mar 8 16:33:37 CET 2016
v5 changes:
Split patches
Remove free of mac addr when vtpci_init fails. Will send the fix in
a seperate patch.
Fail if the virtio device is whitelisted but bound to kernel driver.
v4 changes:
Rebase as IO port map is moved to EAL.
Reword some commit messages.
Don't fall back to PORT IO if VFIO/UIO fails.
v3 changes:
Change log message to tell user that the virtio device is skipped
due to it is managed by kernel driver, instead of asking user to unbind
it from kernel driver.
v2 changes:
Remove unnecessary assignment of NULL to dev->data->mac_addrs
Ajust one comment's position
change LOG level from ERR to INFO
Huawei Xie (6):
eal: make the comment more accurate
eal: set kdrv to RTE_KDRV_NONE if kernel driver isn't managing the device.
eal: use new RTE_ARCH_X86 macro for x86 arch
eal: simple code rework
eal: map IO port only when kernel driver isn't managing the device
virtio: return 1 to tell the upper layer we don't take over this device
drivers/net/virtio/virtio_ethdev.c | 6 ++++--
drivers/net/virtio/virtio_pci.c | 16 +++++++++++++++-
lib/librte_eal/common/eal_common_pci.c | 8 ++++----
lib/librte_eal/linuxapp/eal/eal_pci.c | 22 ++++++++++------------
4 files changed, 33 insertions(+), 19 deletions(-)
--
1.8.1.4
More information about the dev
mailing list