Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
5729 Discussions

Incorrect link-speed for X710 VF using dpdk-testpmd

SupriyaMane
Beginner
478 Views

Hi,

 

I'm using VF created from X710 (10GBASE-T) PF with dpdk-testpmd.

Issue:

link-speed in output of "show port info all" shows 40G when, the VF speed should not exceed maximum speed capacity of PF in this case X710 with 10G.

the issue first identified with local application, then cross-check verified same behavior with dpdk-testpmd.

 

Below is snippet from output:

---------------------------------------

VF used with dpdk-testpmd

testpmd>
testpmd> show port info all
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Infos for port 0  \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
MAC address: DE:49:45:0C:E8:00
Device name: 0000:3b:02.2
Driver name: net\_iavf
Firmware-version: not available
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 40 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
        strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
        ipv4
        ipv4-frag
        ipv4-tcp
        ipv4-udp
        ipv4-sctp
        ipv4-other
        ipv6
        ipv6-frag
        ipv6-tcp
        ipv6-udp
        ipv6-sctp
        ipv6-other
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 1
Max possible RX queues: 256
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 256
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 4096
Max segment number per MTU/TSO: 8
Device capabilities: 0x0( )

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Infos for port 1  \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
MAC address: EA:45:82:D2:DB:07
Device name: 0000:3b:0a.2
Driver name: net\_iavf
Firmware-version: not available
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 40 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
        strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
        ipv4
        ipv4-frag
        ipv4-tcp
        ipv4-udp
        ipv4-sctp
        ipv4-other
        ipv6
        ipv6-frag
        ipv6-tcp
        ipv6-udp
        ipv6-sctp
        ipv6-other
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 1
Max possible RX queues: 256
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 256
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 4096
Max segment number per MTU/TSO: 8
Device capabilities: 0x0( )
testpmd>

---------------------------------------

Physical function:

root:~/# ethtool ens1f2
Settings for ens1f2:
Supported ports: [ TP ]
Supported link modes: 1000baseT/Full
10000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 1000baseT/Full
10000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 10000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
root:~/#
root:~/#
root:~/# ethtool -i ens1f2
driver: i40e
version: 2.8.20-k
firmware-version: 7.10 0x800075fe 19.5.12
expansion-rom-version:
bus-info: 0000:3b:00.2
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
root:~/#
root:~/#
root:~/#
root:~/# ethtool ens1f3
Settings for ens1f3:
Supported ports: [ TP ]
Supported link modes: 1000baseT/Full
10000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 1000baseT/Full
10000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 10000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
root:~/#
root:~/#
root:~/h#
root:~/# ethtool -i ens1f3
driver: i40e
version: 2.8.20-k
firmware-version: 7.10 0x800075fe 19.5.12
expansion-rom-version:
bus-info: 0000:3b:00.3
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
root:~/#

 

Environment:

NIC X710 (10GBASE-T)

DPDK- 21.11.09

PMD: net/_iavf

 

Expected from Intel in terms of a fix:

The link-speed for VF should not exceed maximum supported speed of PF

DPDK PMD should be fixed to correctly identify and track the speed for VF

0 Kudos
5 Replies
Simon-Intel
Employee
427 Views

Hi Supriya,

Thank you for reaching out to the Intel support. We acknowledge receipt of your concern and want to assure you that assisting you is our top priority. To effectively troubleshoot the issue you're facing, we require some additional information from your end.

Could you kindly provide the following details?

1. Board details:

2. Front and back picture of the network adapter with the product markings clearly visible.:

Your prompt response with this information will greatly assist us in diagnosing and resolving the issue as quickly as possible.

We look forward to hearing from you soon.

Best Regards,

Simon

Intel Customer Support Technician


0 Kudos
janike548
Beginner
395 Views

@SupriyaMane wrote:

Hi,

 

I'm using VF created from X710 (10GBASE-T) PF with dpdk-testpmd.

Issue:

link-speed in output of "show port info all" shows 40G when, the VF speed should not exceed maximum speed capacity of PF in this case X710 with 10G.

the issue first identified with local application, then cross-check verified same behavior with dpdk-testpmd.

 

Below is snippet from output:

---------------------------------------

VF used with dpdk-testpmd

testpmd>
testpmd> show port info all
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Infos for port 0  \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
MAC address: DE:49:45:0C:E8:00
Device name: 0000:3b:02.2
Driver name: net\_iavf
Firmware-version: not available
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 40 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
        strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
        ipv4
        ipv4-frag
        ipv4-tcp
        ipv4-udp
        ipv4-sctp
        ipv4-other
        ipv6
        ipv6-frag
        ipv6-tcp
        ipv6-udp
        ipv6-sctp
        ipv6-other
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 1
Max possible RX queues: 256
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 256
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 4096
Max segment number per MTU/TSO: 8
Device capabilities: 0x0( )

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Infos for port 1  \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
MAC address: EA:45:82:D2:DB:07
Device name: 0000:3b:0a.2
Driver name: net\_iavf
Firmware-version: not available
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 40 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
        strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
        ipv4
        ipv4-frag
        ipv4-tcp
        ipv4-udp
        ipv4-sctp
        ipv4-other
        ipv6
        ipv6-frag
        ipv6-tcp
        ipv6-udp
        ipv6-sctp
        ipv6-other
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 1
Max possible RX queues: 256
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 256
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 4096
Max segment number per MTU/TSO: 8
Device capabilities: 0x0( )
testpmd>

---------------------------------------

Physical function:

root:~/# ethtool ens1f2
Settings for ens1f2:
Supported ports: [ TP ]
Supported link modes: 1000baseT/Full
10000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 1000baseT/Full
10000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 10000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
root:~/#
root:~/#
root:~/# ethtool -i ens1f2
driver: i40e
version: 2.8.20-k
firmware-version: 7.10 0x800075fe 19.5.12
expansion-rom-version:
bus-info: 0000:3b:00.2
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
root:~/#
root:~/#
root:~/#
root:~/# ethtool ens1f3
Settings for ens1f3:
Supported ports: [ TP ]
Supported link modes: 1000baseT/Full
10000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 1000baseT/Full
10000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 10000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
root:~/#
root:~/#
root:~/h#
root:~/# ethtool -i ens1f3
driver: i40e
version: 2.8.20-k
firmware-version: 7.10 0x800075fe 19.5.12
expansion-rom-version:
bus-info: 0000:3b:00.3
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
root:~/#

 

Environment:

NIC X710 (10GBASE-T)

DPDK- 21.11.09

PMD: net/_iavf 

 

Expected from Intel in terms of a fix:

The link-speed for VF should not exceed maximum supported speed of PF

DPDK PMD should be fixed to correctly identify and track the speed for VF aessuccess


The reported 40 Gbps link speed for the Virtual Function (VF) in DPDK's testpmd is incorrect because the Physical Function (PF), your Intel X710 (10GBASE-T) NIC, only supports a maximum speed of 10 Gbps. This discrepancy is a known issue within the SR-IOV architecture where the net_iavf DPDK driver for the VF cannot directly read the physical link status. Instead, the VF receives a potentially hardcoded or maximum theoretical speed from the host's V-Switch or the PF's i40e driver/firmware, which in this case is erroneously reporting a higher value like 40G. While the VF's actual data throughput is still capped by the physical 10 Gbps link, the display is misleading and requires a fix in the DPDK PMD or the underlying PF driver to accurately reflect the 10G negotiated speed.

0 Kudos
IntelSupport
Community Manager
390 Views

Hello SupriyaMane,


To better understand your environment and provide a resolution for the issue related to incorrect link speed for X710 VF using dpdk-testpmd, we kindly request the following information:


  • OS details
  • System details where the adapter is installed
  • Front and back pictures of the network adapter with product markings clearly visible


Additionally, please generate the SSU log and share it with us.

You can refer to the Help Guide for the Intel® System Support Utility here:

https://www.intel.com/content/www/us/en/support/articles/000008563/ethernet-products.html


Best regards,

Shankith K P

Intel Customer Support Technician



0 Kudos
Simon-Intel
Employee
272 Views

Hi SupriyaMane,


Good Day!


This is the first follow-up regarding the issue you reported to us.


I wanted to inquire whether you had the opportunity to provide the details requested in my previous message.


Feel free to reply to this message, and we'll be more than happy to assist you further.


Regards,

Simon

Intel Customer Support Technician


0 Kudos
Simon-Intel
Employee
201 Views

Hi SupriyaMane,


Greetings for the day!


We would like to inform you that we are closing this request as no response has been received from our previous follow-ups.


Please don't hesitate to ask any further questions in the future. Feel free to start a new conversation, as this thread will no longer be monitored.


Best regards,

Simon

Intel Customer Support Technician


0 Kudos
Reply