From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id E9D8910B7; Sun, 30 Sep 2018 04:16:00 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Sep 2018 19:16:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,322,1534834800"; d="scan'208";a="90775915" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 29 Sep 2018 19:15:59 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sat, 29 Sep 2018 19:15:59 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sat, 29 Sep 2018 19:15:59 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.245]) by shsmsx102.ccr.corp.intel.com ([169.254.2.140]) with mapi id 14.03.0319.002; Sun, 30 Sep 2018 10:15:57 +0800 From: "Zhang, Qi Z" To: dev , "Lu, Wenzhuo" , "Ananyev, Konstantin" CC: "dev@dpdk.org" , "stable@dpdk.org" , Matthew Smith Thread-Topic: [dpdk-dev] [PATCH] ixgbe: wait longer for link after fiber MAC setup Thread-Index: AQHUHSNQFMfnAH6jX0aCj5dxeqVbJaUIjJOg Date: Sun, 30 Sep 2018 02:15:57 +0000 Message-ID: <039ED4275CED7440929022BC67E70611532A8354@SHSMSX103.ccr.corp.intel.com> References: <20180716163604.31896-1-mgsmith@netgate.com> In-Reply-To: <20180716163604.31896-1-mgsmith@netgate.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTU4ZTllNzAtMmE5MS00ZDIxLTkwYzQtYTk5MWU4MDQ2N2Q4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUlFjc1NqVis0THFSaVd3WUJnUTlCb2owNTBxUk9XK2FHVXRkUGtoUmxRbkx2a3VUcnR6aHRlcitCXC9qUGtBM2kifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] ixgbe: wait longer for link after fiber MAC setup 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: , X-List-Received-Date: Sun, 30 Sep 2018 02:16:01 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] > Sent: Tuesday, July 17, 2018 12:36 AM > To: Lu, Wenzhuo ; Ananyev, Konstantin > > Cc: dev@dpdk.org; stable@dpdk.org; Matthew Smith > Subject: [dpdk-dev] [PATCH] ixgbe: wait longer for link after fiber MAC s= etup >=20 > After setting up the link on a fiber port, the maximum wait time for the = link to > come up is 500 ms in ixgbe_setup_mac_link_multispeed_fiber(). > On an x550 SFP+ port, this is often not sufficiently long for the link to= come up. > This can result in never being able to retrieve accurate link status for = the port > using rte_eth_link_get_nowait(). >=20 > Increase the maximum wait time in ixgbe_setup_mac_link_multispeed_fiber() > to 1 s. >=20 > Bugzilla ID: 69 > Fixes: f3430431abaf ("ixgbe/base: add SFP+ dual-speed support") > Cc: stable@dpdk.org >=20 > Signed-off-by: Matthew Smith Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi