From: kumaraparameshwaran rathinavel <kumaraparamesh92@gmail.com> To: dev@dpdk.org Subject: [dpdk-dev] VIRTIO PMD DRVIER Date: Fri, 8 Jan 2021 18:00:46 +0530 Message-ID: <CANxNyavvZeS=hae7CxE1uNErw0iGRd81QHyLiSnO8fNtZ1K11Q@mail.gmail.com> (raw) 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 other threads:[~2021-01-08 12:31 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='CANxNyavvZeS=hae7CxE1uNErw0iGRd81QHyLiSnO8fNtZ1K11Q@mail.gmail.com' \ --to=kumaraparamesh92@gmail.com \ --cc=dev@dpdk.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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