* [dpdk-dev] VIRTIO PMD DRVIER
@ 2021-01-08 12:30 kumaraparameshwaran rathinavel
0 siblings, 0 replies; only message in thread
From: kumaraparameshwaran rathinavel @ 2021-01-08 12:30 UTC (permalink / raw)
To: dev
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-08 12:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-08 12:30 [dpdk-dev] VIRTIO PMD DRVIER kumaraparameshwaran rathinavel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).