Adding Beilei Xing and Qi Zhang Thanks and Regards, Amit
On Mon, Nov 18, 2019 at 2:39 PM amit shukla <amitshukl...@gmail.com> 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: <NO-CARRIER,BROADCAST,MULTICAST,UP> 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 >