From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 63990A2EFC for ; Thu, 19 Sep 2019 18:53:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AE5871F16C; Thu, 19 Sep 2019 18:53:48 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id B1BD51F16B for ; Thu, 19 Sep 2019 18:53:47 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 35059A2EFD; Thu, 19 Sep 2019 18:53:47 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 19 Sep 2019 16:53:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 19.08 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mgsmith@netgate.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 350] ixgbe: incorrect speed capabilities advertised for X553 devices X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D350 Bug ID: 350 Summary: ixgbe: incorrect speed capabilities advertised for X553 devices Product: DPDK Version: 19.08 Hardware: All OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: mgsmith@netgate.com Target Milestone: --- Overview: X553 copper 1Gbps devices (vendor ID 0x8086, device IDs 0x15e4 and 0x15e5) = have speed_capa set to ETH_LINK_SPEED_1G | ETH_LINK_SPEED_10G when device info is retrieved with rte_eth_dev_info_get(). These devices are not capable of supporting 10G, but they are probably capable of supporting 100M and 10M, w= hich are omitted from speed_capa. Steps to Reproduce: 1. Install FD.io VPP packages (available at https://packagecloud.io/fdio/release) on a system with X553 copper ports attached which has a recent release of Ubuntu or CentOS 7 installed. 2. If the X553 ports are attached to the kernel ixgbe driver, bring those p= orts down with a command like 'sudo ip link set dev down' 3. Start VPP with 'sudo systemctl start vpp'. It should bind the ports to a= uio driver and take control of them. 4. Check the interfaces VPP is managing with 'sudo vppctl show int'. The X5= 53 ports will have names like TenGigabitEthernetX/Y/Z (X/Y/Z are filled in with PCI address). The 'TenGigabitEthernet' portion of the name was selected bas= ed on the speeds advertised. Actual Results: If gdb is attached and used to inspect contents of a struct rte_eth_dev_info that was filled in by rte_eth_dev_info_get(), speed_capa has a value of 288 (ETH_LINK_SPEED_1G | ETH_LINK_SPEED_10G). Expected Results: rte_eth_dev_info_get(), via ixgbe_dev_info_get(), should set speed_capa to ETH_LINK_SPEED_1G | ETH_LINK_SPEED_100M | ETH_LINK_SPEED_10M for devices wi= th IDs 0x15E4 (IXGBE_DEV_ID_X550EM_A_1G_T) and 0x15E5 (IXGBE_DEV_ID_X550EM_A_1G_T_L) Build date and hardware: Problem observed in DPDK 19.05. Appears to still be present in current Intel C3558 SoC with 4 copper ports - 2 with device ID 0x15e4, 2 with devic= e ID 0x15e5 --=20 You are receiving this mail because: You are the assignee for the bug.=