From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 20773A045E for ; Mon, 27 May 2019 18:45:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8D19EF94; Mon, 27 May 2019 18:45:54 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 59C68A49 for ; Mon, 27 May 2019 18:45:52 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 May 2019 09:45:51 -0700 X-ExtLoop1: 1 Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga006.jf.intel.com with ESMTP; 27 May 2019 09:45:50 -0700 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 27 May 2019 09:45:50 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 27 May 2019 09:45:50 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.70]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.216]) with mapi id 14.03.0415.000; Tue, 28 May 2019 00:45:47 +0800 From: "Zhang, Qi Z" To: Ashijeet Acharya , "dev@dpdk.org" CC: "Lu, Wenzhuo" , "Ananyev, Konstantin" Thread-Topic: [dpdk-dev] [PATCH] net/ixgbe/base: wait for link after copper MAC setup Thread-Index: AQHVEhN9U0brgaz9uECsLY6UENDcI6Z/MuYA Date: Mon, 27 May 2019 16:45:47 +0000 Message-ID: <039ED4275CED7440929022BC67E70611533883B2@SHSMSX103.ccr.corp.intel.com> References: <20190524093015.20025-1-ashijeet.acharya@6wind.com> In-Reply-To: <20190524093015.20025-1-ashijeet.acharya@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzZkNmMwYTUtMGRiYy00MDJkLWE0ZTctNmNlMGRkZDMwYjkxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiS1pFZXpyXC9VU3hmWHRqUHRLZmRoVFAwSytROWhqVlVtVTdNVGhVM1hRTjlJWFZJVXFtZ0lsbk9uSXFwOWRsQm4ifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 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] net/ixgbe/base: wait for link after copper 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ashijeet Acharya > Sent: Friday, May 24, 2019 2:30 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; Ananyev, Konstantin > > Subject: [dpdk-dev] [PATCH] net/ixgbe/base: wait for link after copper MA= C > setup >=20 > After setting up the link on x552/X557-AT 10GBASE-T NICs, sometimes the l= ink > does not get set up properly and as a result all the subsequent calls to > ixgbe_check_link() from ixgbe_dev_link_update_share() fail. >=20 > Introduce a delay time of 1s in ixgbe_setup_mac_link_t_X550em() before > beginning to set up the external PHY link speed to ensure that the contro= ller > can acquire the link. >=20 > Signed-off-by: Ashijeet Acharya Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi