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 0F9FCA0353; Tue, 19 Nov 2019 09:33:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D163D2BA2; Tue, 19 Nov 2019 09:33:48 +0100 (CET) Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) by dpdk.org (Postfix) with ESMTP id 41EAF271 for ; Tue, 19 Nov 2019 09:33:47 +0100 (CET) Received: by mail-io1-f50.google.com with SMTP id p6so22200265iod.7 for ; Tue, 19 Nov 2019 00:33:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=28zkgmT6lr7qI/o0Wczz7vZ4LblDhaNO2z2T3a4auMg=; b=nzq6Wk3BBJhe4G94k+xHhUZnMYJGb8jCblCfzAtWMfD0T6nT/NoSKKnMc76u8K3EI0 douzgY/4/NrYnf1IxEggMfmpwbdFGiKSfpb5Gxc+fWUPorD0+8cCH1fXitO7rGo25K33 fCgEGZYQXdiAP1z816HTfRaTi6P/1j+rzPJKP39zBa6vCodr4+kbQ/w1MWQXkjg075xj n4vAW1eibNYV4PFB+6XggYAoMzqgJ8KmlUE/49Fn9ClSDka7SH0dQWDf0+wZ4s92CWTa ODSkNB0QadzwTRcLYNXIcm04qGChrplvC1ZLnct1nxvsfjt2ydw12O1MIOBZLS2SLnsR n/wA== 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=28zkgmT6lr7qI/o0Wczz7vZ4LblDhaNO2z2T3a4auMg=; b=HHeS8ojYNw4FIG5pmyr+kvH2rDAqTnWjnbkFq7BpvTpQ5x1K3WknSx0/8LYPG/FC0Q uBx+R/pKJo3YNvlj7DoPOYE3CcNh5SBzhIyoSi01xkvNRT1Gx3/RUcasuhiQzsEWEikD X1XTIj1M/cpmjt1/rcOUS1WKJ824DT2ljs5JfpXf22OwNYK9Q1eEzh+YWxLfrqjATToy 67YpeBy0J0DpjQyWjvT1L8eOJCqfCTkkXd3kvUmSgAnNRhhcQeqOaNEBJs6/biclXrwF YIbBleehNp+6AM4ICbuh7xR+M2RqiSCuMEYb6HF+DpQvg016C4BHbDOmpkT+/SfWqCVe +8ew== X-Gm-Message-State: APjAAAVRytakrIydRoF0nwORNC+UXsDXwt6ZbqBhJQE87MwlpCnKolDv zXXcW1geErU80KOV8HO7Tf+MhVdb8kBOJUh5GNlGm602 X-Google-Smtp-Source: APXvYqwGB9iFxkBwQEl7EvWFal6SVduKwT15xnPIh9HQvW8Jl54z8B6RoO7Hkb9fns6dWan6ivHy/WFlhKysrlXqaTE= X-Received: by 2002:a6b:bbc5:: with SMTP id l188mr18088529iof.259.1574152426279; Tue, 19 Nov 2019 00:33:46 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: amit shukla Date: Tue, 19 Nov 2019 14:03:35 +0530 Message-ID: To: dev@dpdk.org Cc: beilei.xing@intel.com, qi.z.zhang@intel.com Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Intel X710, DPDK with SFP - FTLX8574D3BCV-IT link down 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" Adding Beilei Xing and Qi Zhang Thanks and Regards, Amit On Mon, Nov 18, 2019 at 2:39 PM amit shukla wrote: > Hello, > > Using a X710 based NIC with Intel SFP - FTLX8574D3BCV-IT on a bare-metal > setup, I came across the following issue on the i40e PMD: > > When Intel SFP - FTLX8574D3BCV-IT is used, link does not come up on > executing link down and up commands in quick succession. It shows > "NO-CARRIER" in ip link show. > > #ip link set dev eth0 down; ip link set dev eth0 up > # > # ip link show dev eth0 > 304: eth0: mtu 1500 qdisc pfifo_fast > state DOWN mode DEFAULT group default qlen 1000 > link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff > > On the 1st command, ip link set dev eth0 down, > i40e_aq_get_phy_capabilities returns success but for next command (ip link > set dev eth0 up) it returns I40E_ERR_UNKNOWN_PHY (-7). > > If link down and up commands are executed with a sleep of 1 second > in-between them, then issue is not observed. > > Intel(R) Xeon(R) CPU E5-2637 v3 @ 3.50GHz > DPDK - 17.05 > NIC firmware-version: 4.53 0x80001e5b 17.0.12 > 05:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 > for 10GbE SFP+ (rev 02) > Subsystem: Intel Corporation Ethernet 10G 2P X710 Adapter > > Thanks and Regards, > Amit Shukla >