From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g4t3426.houston.hp.com (g4t3426.houston.hp.com [15.201.208.54]) by dpdk.org (Postfix) with ESMTP id 00F077E0B for ; Thu, 30 Oct 2014 20:24:04 +0100 (CET) Received: from G9W0364.americas.hpqcorp.net (g9w0364.houston.hp.com [16.216.193.45]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by g4t3426.houston.hp.com (Postfix) with ESMTPS id AC6E677 for ; Thu, 30 Oct 2014 19:33:01 +0000 (UTC) Received: from G4W6302.americas.hpqcorp.net (16.210.26.227) by G9W0364.americas.hpqcorp.net (16.216.193.45) with Microsoft SMTP Server (TLS) id 14.3.169.1; Thu, 30 Oct 2014 19:31:46 +0000 Received: from G4W3231.americas.hpqcorp.net ([169.254.11.88]) by G4W6302.americas.hpqcorp.net ([16.210.26.227]) with mapi id 14.03.0169.001; Thu, 30 Oct 2014 19:31:46 +0000 From: "Roberts, Lee A." To: "dev@dpdk.org" Thread-Topic: testpmd link status reporting for ixgbevf_pmd Thread-Index: Ac/0dTyIsrti+9A8Tyu2b0nt3K1xNw== Date: Thu, 30 Oct 2014 19:31:45 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [16.210.48.16] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: [dpdk-dev] testpmd link status reporting for ixgbevf_pmd X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 19:24:05 -0000 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 hal= f-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:=20 strip on=20 filter on=20 qinq(extend) off=20 ********************* 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:=20 strip on=20 filter on=20 qinq(extend) off testpmd> I have checked that underlying devices are configured up. Before binding t= he 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=20 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