DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] testpmd link status reporting for ixgbevf_pmd
@ 2014-10-30 19:31 Roberts, Lee A.
  0 siblings, 0 replies; only message in thread
From: Roberts, Lee A. @ 2014-10-30 19:31 UTC (permalink / raw)
  To: dev

Hello,

I am running "testpmd" in DPDK 1.7.1, using two ixgbevf devices in my host OS.
I am finding that "testpmd" reports link status with speed 100 Mbps and half-duplex:

# $RTE_SDK/$RTE_TARGET/app/testpmd -c f -n 4 -- -i
...
EAL: PCI device 0000:03:10.2 on NUMA socket 0
EAL:   probe driver: 8086:10ed rte_ixgbevf_pmd
EAL:   0000:03:10.2 not managed by VFIO driver, skipping
EAL:   PCI memory mapped at 0x7f482b1ee000
EAL:   PCI memory mapped at 0x7f482b1ea000
EAL: PCI device 0000:03:10.3 on NUMA socket 0
EAL:   probe driver: 8086:10ed rte_ixgbevf_pmd
EAL:   0000:03:10.3 not managed by VFIO driver, skipping
EAL:   PCI memory mapped at 0x7f482b1e6000
EAL:   PCI memory mapped at 0x7f482b196000
...
Interactive-mode selected
Configuring Port 0 (socket 0)
Port 0: 3E:1D:AD:A9:3B:E6
Configuring Port 1 (socket 0)
Port 1: 6E:55:5D:14:4A:06
Checking link statuses...
Port 0 Link Up - speed 100 Mbps - half-duplex

Port 1 Link Up - speed 100 Mbps - half-duplex

Done
testpmd> show port info all

********************* Infos for port 0  *********************
MAC address: 3E:1D:AD:A9:3B:E6
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 100 Mbps
Link duplex: half-duplex
Promiscuous mode: disabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 128
Maximum number of MAC addresses of hash filtering: 4096
VLAN offload: 
  strip on 
  filter on 
  qinq(extend) off 

********************* Infos for port 1  *********************
MAC address: 6E:55:5D:14:4A:06
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 100 Mbps
Link duplex: half-duplex
Promiscuous mode: disabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 128
Maximum number of MAC addresses of hash filtering: 4096
VLAN offload: 
  strip on 
  filter on 
  qinq(extend) off
testpmd>

I have checked that underlying devices are configured up.  Before binding the virtual functions
to igb_uio, ethtool shows the expected speed and duplex settings:

# ethtool enp3s16f2
Settings for enp3s16f2:
        Supported ports: [ ]
        Supported link modes:   10000baseT/Full 
        Supported pause frame use: No
        Supports auto-negotiation: No
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Speed: 10000Mb/s
        Duplex: Full
        Port: Other
        PHYAD: 0
        Transceiver: Unknown!
        Auto-negotiation: off
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
#

I see similar results if I bind the virtual functions to vfio-pci.
I have also tested the top-of-tree DPDK and see the same results.

Under an older DPDK 1.5.1r1, "testpmd" reports the speed as 10000 Mbps and full-duplex.

Has anyone else seen this?  Suggestions?

                                                   - Lee Roberts

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-30 19:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-30 19:31 [dpdk-dev] testpmd link status reporting for ixgbevf_pmd Roberts, Lee A.

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).