summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f3a1188)
Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
#endif
#include <rte_io.h>
#endif
#include <rte_io.h>
#include "virtio_pci.h"
#include "virtio_logs.h"
#include "virtio_pci.h"
#include "virtio_logs.h"
if (rte_pci_ioport_map(dev, 0, VTPCI_IO(hw)) < 0) {
if (dev->kdrv == RTE_KDRV_UNKNOWN &&
(!dev->device.devargs ||
if (rte_pci_ioport_map(dev, 0, VTPCI_IO(hw)) < 0) {
if (dev->kdrv == RTE_KDRV_UNKNOWN &&
(!dev->device.devargs ||
- dev->device.devargs->type !=
- RTE_DEVTYPE_WHITELISTED_PCI)) {
+ dev->device.devargs->bus !=
+ rte_bus_find_by_name("pci"))) {
PMD_INIT_LOG(INFO,
"skip kernel managed virtio device.");
return 1;
PMD_INIT_LOG(INFO,
"skip kernel managed virtio device.");
return 1;