Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
141 Views

How do we determine whether the link is forced enable or auto in intel DPDK VF PMD for X710 NIC ?

Hi,

 

Please consider this example of Intel X710 NIC with 1 VF connected to a centos VM and has all DPDK 19.11 pre-requisite installed.

 

Host Side : Intel X710 NIC ( i40e Kernel Driver )

VM Side : Intel X710 VF and DPDK Testpmd application.

 

Now, force enable the VF link on the host side by using ip link command,

# ip link set (Ethernet Device Name) vf (VF Number) state enable

 

On the VM side start testpmd application and check the port info as sh own below,

testpmd> show port info all

 

********************* Infos for port 0 *********************

MAC address: 32:41:32:DF:C0:D2

Device name: 0000:3b:0a.0

Driver name: net_i40e_vf

Connect to socket: 0

memory allocation on the socket: 0

Link status: up

Link speed: 40000 Mbps >>>>>>>>>>>>>>>>>>>>>>>> Link Speed : 40G

Link duplex: full-duplex

MTU: 1500

Promiscuous mode: disabled

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-frag

ipv4-tcp

ipv4-udp

ipv4-sctp

ipv4-other

ipv6-frag

ipv6-tcp

ipv6-udp

ipv6-sctp

ipv6-other

l2_payload

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: 16

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: 16

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: 0

Max segment number per MTU/TSO: 0

testpmd> quit

 

As seen from above the link speed is coming as 40Gig, for 10Gig Intel Adapter.

 

Can you please let us know how we can determine whether the vf link is currently auto, enable from VM perspective.

 

Thanks in advance.

Tags (1)
0 Kudos
2 Replies
Highlighted
Moderator
47 Views

Hi Hcalc,

 

Thank you for posting in Intel Ethernet Communities.

 

Since your inquiry involves DPDK, we have a different team who supports DPDK.

 

Please open the link below to log your inquiry.

 

 

 

https://www.intel.com/content/www/us/en/design/support/ips/training/welcome.html.

 

Click the "Login and Access" to contact the DPDK support

 

 

 

If you have questions, please let us know.

 

 

 

Best regards,

 

Alfred S

 

Intel Customer Support 

0 Kudos
Highlighted
Beginner
47 Views

Hi Alfred,

 

Thanks, please note my query is not related to DPDK, however I am just using DPDK as a tool to show an issue. This can also be seen on Kernel driver.

0 Kudos