DPDK patches and discussions
 help / color / mirror / Atom feed
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	[thread overview]
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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).