DPDK usage discussions
 help / color / mirror / Atom feed
From: Anupama Laxmi <anupamalaxmi4@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Intel SRIOV Virutalization using DPDK
Date: Sun, 18 Mar 2018 22:21:23 +0530	[thread overview]
Message-ID: <CA+17DaVTyj1CZ=1W4eMzpjJKko4pMWJF1ipjPXC_Eyb-tYWqVw@mail.gmail.com> (raw)

Hi,

These are the 10 G NIC cards on the host machine:

lspci | grep 10-G

04:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+
Network Connection (rev 01)
04:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+
Network Connection (rev 01)

*One Physical Function * per Intel® 82599 10 Gigabit Ethernet Controller
NIC port and *63 Virtual Functions* assigned to each physical function.

With DPDK  SRIOV  the application  on the guest machine during
initilailization does pci probe and get the internal pci address of the
Virtual functions (assigned to the VM).

Below DPDK API's being used:

rte_eal_init

rte_pci_probe()

rte_eth_dev_count();

Based on the  virtual function pci address/ mac address or other means I
want to obtain the physical NIC port its assigned to on the host machine.

Is there a way to determine the physical function/physical port from the
virtual function based on system  commands  or  DPDK api's ?



Also can these 10G NIC cards/ports  be UP at the same time ?

Can Virtual Machine scan the Vf's from both 10 G NIC cards at the same time
?

Or only one of those 10G NIC cards can be UP at a time ?



Please let me know.


Best Regards,
Anupama

                 reply	other threads:[~2018-03-18 16:51 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='CA+17DaVTyj1CZ=1W4eMzpjJKko4pMWJF1ipjPXC_Eyb-tYWqVw@mail.gmail.com' \
    --to=anupamalaxmi4@gmail.com \
    --cc=users@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).