Hi All,

In drivers/net/virtio/virtio_ethdev.c, I see that that drv_flags is set to
0 and not other flags (RTE_PCI_DRV_NEED_MAPPING). Is this intended? I
understand internally that when the vtpci_init is called the mapping is
done. Is the value set to 0 to avoid mapping two times?

 2170 static struct rte_pci_driver rte_virtio_pmd = {
 2171     .driver = {
 2172         .name = "net_virtio",
 2173     },
 2174     .id_table = pci_id_virtio_map,
* 2175     .drv_flags = 0*,
 2176     .probe = eth_virtio_pci_probe,
 2177     .remove = eth_virtio_pci_remove,
 2178 };

Thanks,
Param.

Reply via email to