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 51CA8A00C4; Thu, 31 Oct 2019 15:32:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BBA2F1C295; Thu, 31 Oct 2019 15:32:29 +0100 (CET) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 8EB141C24A for ; Thu, 31 Oct 2019 15:32:28 +0100 (CET) Received: from mail-vk1-f199.google.com (mail-vk1-f199.google.com [209.85.221.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D49B6C04BE1B for ; Thu, 31 Oct 2019 14:32:27 +0000 (UTC) Received: by mail-vk1-f199.google.com with SMTP id r128so2381854vke.17 for ; Thu, 31 Oct 2019 07:32:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MwKWNjro6fv3I0pn+yNhv02gGjmKKX+XLKtzGnElJsg=; b=ogv58fLeKgPPThkBZ3Z6tyEehHCrSNrDyMFE50yQNr5lqi8Fic2fQIwtK+YPwMSs4v V9/ut76ovm7vEcCCLEnMSumZfBX1BCe8y4qiRhQ99sMeU3TT/HmN/b1gNxNc7kfyoZI5 uEcHOuJSNTbdy0tq+gsgkxUm9+dkXGDZ3xwVmyUt5GczU4L65ZDj1nnjbpKysYUijPF4 eADVv/5aAMLi0NIAh8unLAQ7U+Uppv4Fwe4XD02C9PQr91oarxvUpFTmU/X+ZMT23i7l BqRGi3q/Hw3dYMxG/Jg+sN/t3oQve/US1AyUaQrGCkB8DP6BWeZ0aLf0WlAg48M/c5ZW qHPQ== X-Gm-Message-State: APjAAAV2IinEUm0h6sHIt6i5zoCI4r3vNqaFfbaVvWpeS2nmvH/U1EB/ 51uRI9qDxwmaWVCZdFEhNtruX+06rntDtn8zYulYQDS+P8u2+NgCzqMLvdqh8UkmodCJ2po8X/H 3yKvbrmDTSQViRZI06OM= X-Received: by 2002:ab0:2753:: with SMTP id c19mr3026204uap.41.1572532346854; Thu, 31 Oct 2019 07:32:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCb7snNxJRfmTN0vVleYf38XuINfp59+BSUqb3JoBFlPCsEriICrnYDb/C3UGReU/R3/nnyDgVGg/ral/U6jQ= X-Received: by 2002:ab0:2753:: with SMTP id c19mr3026168uap.41.1572532346368; Thu, 31 Oct 2019 07:32:26 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Thu, 31 Oct 2019 15:32:12 +0100 Message-ID: To: Beilei Xing , Qi Zhang Cc: dev , Jean Hsiao , Christophe Fontaine , "Yigit, Ferruh" Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] Link status issue with i40e firmware 7.0x 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" On Wed, Oct 30, 2019 at 3:20 PM David Marchand wrote: > > Hello, > > We recently upgraded a XXV710 nic on a Dell R740 server (running RHEL > 7.7) to firmware version 7.00. > > # ethtool -i enp59s0f0 > driver: i40e > version: 2.8.10-k > firmware-version: 7.00 0x80004cf8 1.2154.0 > expansion-rom-version: > bus-info: 0000:3b:00.0 > supports-statistics: yes > supports-test: yes > supports-eeprom-access: yes > supports-register-dump: yes > supports-priv-flags: yes > > > Following this upgrade, using the nic with dpdk only works once. > Restarting testpmd (dpdk 18.11.2) ends up with all ports reporting > that link is down, and indeed, the other side of the cable reports > that there is no light. More info on reproducing the issue. >From a testpmd with links up: # all good testpmd> show port summary all Number of available ports: 2 Port MAC Address Name Driver Status Link 0 3C:FD:FE:AD:BF:C4 0000:3b:00.0 net_i40e up 25000Mbps 1 3C:FD:FE:AD:BF:C5 0000:3b:00.1 net_i40e up 25000Mbps # setting one link down testpmd> set link-down port 0 i40e_phy_conf_link(): Current: abilities 1c, link_speed 4c i40e_phy_conf_link(): Config: abilities 24, link_speed 4c testpmd> i40e_dev_alarm_handler(): ICR0: adminq event Port 0: link state change event i40e_dev_alarm_handler(): ICR0: adminq event testpmd> show port summary all Number of available ports: 2 Port MAC Address Name Driver Status Link 0 3C:FD:FE:AD:BF:C4 0000:3b:00.0 net_i40e down 0Mbps 1 3C:FD:FE:AD:BF:C5 0000:3b:00.1 net_i40e up 25000Mbps # trying to set back up testpmd> set link-up port 0 i40e_phy_conf_link(): Current: abilities 4, link_speed 0 i40e_phy_conf_link(): Config: abilities 3c, link_speed 7e testpmd> i40e_dev_alarm_handler(): ICR0: adminq event testpmd> show port summary all Number of available ports: 2 Port MAC Address Name Driver Status Link 0 3C:FD:FE:AD:BF:C4 0000:3b:00.0 net_i40e down 0Mbps 1 3C:FD:FE:AD:BF:C5 0000:3b:00.1 net_i40e up 25000Mbps End of the game. Need to bind back to the i40e kernel module to restore connectivity. Any idea? -- David Marchand