DPDK patches and discussions
 help / color / mirror / Atom feed
* [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

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git