[dpdk-dev] [PATCH v3 0/4] fix the issue that DPDK takes over virtio device blindly
yuanhan.liu at linux.intel.com
Fri Jan 29 08:40:20 CET 2016
On Wed, Jan 27, 2016 at 11:21:18PM +0800, Huawei Xie wrote:
> 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
> virtio PMD doesn't set RTE_PCI_DRV_NEED_MAPPING in drv_flags of its
> eth_driver. It will try igb_uio and PORT IO in turn to configure
> virtio device. Even user in guest VM doesn't want to use virtio for
> DPDK, virtio PMD will take over the device blindly.
> The more serious problem is kernel driver is still manipulating the
> device, which causes driver conflict.
> This patch checks if there is any kernel driver manipulating the
> virtio device before virtio PMD uses port IO to configure the device.
Acked-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>
More information about the dev