DPDK patches and discussions
 help / color / mirror / Atom feed
From: Umar Farooq <umar1.farooq1@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] DPDK 2.0.0 above detecting VFs of 10 NIC as 1G ports
Date: Thu, 3 Sep 2015 17:49:20 +0500	[thread overview]
Message-ID: <CALOK9fLwEP72xODw2c3uNDsVyVP_MZxo7zBxCpvjdVdANf9dbw@mail.gmail.com> (raw)

Hi

I am using VFs of Intel Dual port Ethernet Adapter x540 with DPDK 2.0.0.

While using DPDK, the x540 VFs are detected as 1G devices.
The information of port 0 by PMD driver is this:
PMD: eth_ixgbevf_dev_init(): port 0 vendorID=0x8086 deviceID=0x1515
mac.type=ixgbe_mac_82599_vf

To check the link speed, I used this simple code:
struct rte_eth_link rte_eth_link;
rte_eth_link_get(0, &rte_eth_link);
and the value of "rte_eth_link.link_speed" is ETH_LINK_SPEED_1000.

Why is DPDK detecting the VF as 1G device and not 10G? Can I change this
behavior?

Thanks for your time.

Regards
Umar

                 reply	other threads:[~2015-09-03 12:50 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=CALOK9fLwEP72xODw2c3uNDsVyVP_MZxo7zBxCpvjdVdANf9dbw@mail.gmail.com \
    --to=umar1.farooq1@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).