From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4F2C841BE7; Mon, 6 Feb 2023 09:14:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1DF6142B71; Mon, 6 Feb 2023 09:14:46 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 0777040FAE; Mon, 6 Feb 2023 09:14:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675671284; x=1707207284; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=EfArr/qX19bEm4h9RG2ZCbtWLi6xP3wxNm9XMoR/sro=; b=KHoQ349U1G8topV5uiNYLTemvjKMVxb038khhKDz824WJHV9WTWweZxv ScgKA8Zgw6Se9XRvKv9UCTgbcw24OCW8Ct94AGTAemxbjd1PWdAmCgqA9 GibwrzqEccRT2CEHlVn0BvuXP02tItWsC9ZRpSfDmjWeUt1Q12WM++5q2 BiMeGgDcE2m8L6S99hY+ER2ZqIHPx3SQfjT3pplMBlhOzPi5fGdUX05p+ jmpEZX1KBs6kAIbjJcB7PJVE9o9kGeBjTSGKui1XzjoR/BtY4uZzmmLjG e4tfVg7ByHyFxvNXu3C3us/mCznno289JkB0yz5joGc2hbhLsDPOatURY g==; X-IronPort-AV: E=McAfee;i="6500,9779,10612"; a="415373469" X-IronPort-AV: E=Sophos;i="5.97,276,1669104000"; d="scan'208";a="415373469" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Feb 2023 00:14:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10612"; a="643928947" X-IronPort-AV: E=Sophos;i="5.97,276,1669104000"; d="scan'208";a="643928947" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga006.jf.intel.com with ESMTP; 06 Feb 2023 00:14:40 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 6 Feb 2023 00:14:40 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Mon, 6 Feb 2023 00:14:40 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Mon, 6 Feb 2023 00:14:40 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RU+wi+LbzgGHdywulaZtit9FFGUf3czuAz8Rz3/47I2Ughj6q2/Jh5Oa01uMNL6ivX76qrsEZuHKOK271E3ubeY8MlpmgW3mGmxLAwCBzLDG6LSmAGxGCtKw0nsD+hSGx34naVjBRzE94Q5EyISgNxtaNtxSNKygeHPTQQWX67Uod9lLrWhryIPQac9lxMtA3OlbtD83q+4uJPjidw+CfPe9BIES0OPzOA13+z5jaJVdidt1DNWXh1gCRQpHA60+4PQhApWvsw1pEsR0mWQqWz6A9d5i0mOWwHZ7X1AsrpsF5s3qO/Y/edzGunR6asJJEqyPSIVlOO0iBLx+9c10vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=EfArr/qX19bEm4h9RG2ZCbtWLi6xP3wxNm9XMoR/sro=; b=HkcRxb8nr11pUl/OYGMjDhwA5vk2qVDraXandizuHJU1lXpO63jkgLAVfrjE1JcR54OwraMWbK7XJxmpMtqaazFEhKIgbLP8nQzfTWnwZzq/KPcjsY9ZOlgawbOLnDzoZV61A1N7OAU48g8obp6WfcF8A2nWmhpcOS8kJxDle4f4gN9G24i5gfbIT30iS1NTJpumBIX3tMkeOWlJQuR9bQI0CO8JjvuUT7SdhRF5OrOv4tLqVHncbEZPO9h47Ec/4mvhnz81kkqNyhY/HU9HDSIZZKXvqRfQk8luQJnkkaB8szXOzFyrHfryDaIZpWjDGF1b8+QDYcMOqdJny6EM/A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN7PR11MB7139.namprd11.prod.outlook.com (2603:10b6:806:2a2::14) by PH0PR11MB5676.namprd11.prod.outlook.com (2603:10b6:510:ea::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.34; Mon, 6 Feb 2023 08:14:33 +0000 Received: from SN7PR11MB7139.namprd11.prod.outlook.com ([fe80::3c5d:f1d4:5462:8976]) by SN7PR11MB7139.namprd11.prod.outlook.com ([fe80::3c5d:f1d4:5462:8976%5]) with mapi id 15.20.6064.027; Mon, 6 Feb 2023 08:14:33 +0000 From: "Ye, MingjinX" To: Thomas Monjalon CC: "dev@dpdk.org" , "stable@dpdk.org" , "Zhou, YidingX" , "Yang, Qiming" , "Zhang, Qi Z" , "david.marchand@redhat.com" , "ferruh.yigit@amd.com" Subject: RE: [PATCH] net/ice: fix get link status timeout Thread-Topic: [PATCH] net/ice: fix get link status timeout Thread-Index: AQHZOfPYHi0nFR/HqkG0w+uLlcBBr67Bg9wAgAACDvA= Date: Mon, 6 Feb 2023 08:14:33 +0000 Message-ID: References: <20230206062239.1042172-1-mingjinx.ye@intel.com> <13196161.dW097sEU6C@thomas> In-Reply-To: <13196161.dW097sEU6C@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN7PR11MB7139:EE_|PH0PR11MB5676:EE_ x-ms-office365-filtering-correlation-id: 18b7979d-8d0b-4ba8-8ed2-08db081a2df2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mN/lxqNKkxDHptXaef9eMnYcE8HoGez+/+6c6mS7A3SaNSGd+x9R/2ajedMn7DdJlnoh4GxVZL0i3IuZ+mIK4djWapce5keAo1hnw/lKxQ/4NNWkKXJB60D6VvT0j43NQRvgbJ7FMAwtaqkdZVainZZoOR+x8FBf+Vz4hmJokJTV/SjtuFjfrD9EaPIZEmkavH/1UJI7dEBmzoHAYE0lBlzEsOeMQ89BYLsmrvkbB8BTo38qM6SGVmP+DH18WdeCAblc5na3J21z6dbdTMpp5Rb/ASKBF0dd1c1ovctYOdgXvR0uJoCuWWAMqRz2PDjb66iqsxw6QmycHJB01r3PEFe0m9wZEHTAlCiQ/PBCn0bNkpeePyuHevyC51YBqa3uT+rfOytWvpqcbVANSE4IQhFD8DIpCD7c4XZzHH0zGoqggQBYbubUWpPDIjrknQtWvmd4qHRPfEqKAoPtV43+C+jS92ntunLVBYBUyRi9mdRXriOv7TDYyjWtcHDDcKpdrLLM2LnXIcYg8f1+UR31fyAcz1VmPXKA9J1Deis2S1v8D/zzGIK53Wky/3S6CpmGh+rzMx4716vrVKG355U6AZI0tV3ENWz4lLyhCA5hK7aJqmXnU3hmYqUz40af2FJu0MMsWLeVpyeOqu937wRLq9SWxjwMWmMZBmDpt/rVjqCYjnwAGDYIUk7hwN1uNDOW9INQ9g0MR+k6se+OMEVX0A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN7PR11MB7139.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(366004)(136003)(346002)(396003)(376002)(39860400002)(451199018)(86362001)(4744005)(33656002)(5660300002)(66446008)(66476007)(316002)(54906003)(4326008)(64756008)(8676002)(66556008)(66946007)(52536014)(41300700001)(8936002)(82960400001)(76116006)(38070700005)(122000001)(38100700002)(6916009)(71200400001)(55016003)(7696005)(6506007)(9686003)(478600001)(186003)(26005)(53546011)(2906002)(83380400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?ZVpJZ2dNK0VmT1BzRnptWW9hN2xnZENyNllXczdxTnN3a3djanc5UTlE?= =?iso-2022-jp?B?RWd6NmdDUE8vVHp4enRia1BEbW8veklEQU1SNVM5TkxqQ1YyMm1LVldo?= =?iso-2022-jp?B?VExZWk84QzhvZ0ZLM29YTUdQVnRBZ1g1T3F1TWpyQytDT2pSWFYxbzU4?= =?iso-2022-jp?B?dXJwS3g1TTZqRUdiUTNzb3dkSFZiWGdrS2FFZlVvaWpyVmJxRHRDV1I2?= =?iso-2022-jp?B?b1pZYlJ5eGYyTjBKend3a0NDZHJKZ09LZENLWHJ2cnptaVAyMllYS3NO?= =?iso-2022-jp?B?T29kZ1U5WE9PQ0FCZUdpTk50MERFU0ZiT2RXbXViQzFGTkFZTHIyUE0r?= =?iso-2022-jp?B?WFlwTncyakZacG9iMHo5SHloVjljY3RlWkdTbzJ6MzVXZnIrVDdEYkNQ?= =?iso-2022-jp?B?NlVRMG9XUTEyeDdLUk0zVVJ0MnNCay9XM2cwZGIyU0o2aS8vUlNRM1Z3?= =?iso-2022-jp?B?VmlzSnVMd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M2gzRWpu?= =?iso-2022-jp?B?Zk5lZg==?= Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN7PR11MB7139.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 18b7979d-8d0b-4ba8-8ed2-08db081a2df2 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Feb 2023 08:14:33.5475 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ky0dsTFr1cKTwNtVwt0DGOD1k5OKgrCLrRcMc6uFM8r9TIzPZKi/Hvh+G3GYWs9WnIRHBiTgeIguShEnPR+03g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5676 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Thomas Monjalon > Sent: 2023=1B$BG/=1B(B2=1B$B7n=1B(B6=1B$BF|=1B(B 15:23 > To: Ye, MingjinX > Cc: dev@dpdk.org; stable@dpdk.org; Zhou, YidingX > ; Yang, Qiming ; Zhang, > Qi Z ; Ye, MingjinX ; > david.marchand@redhat.com; ferruh.yigit@amd.com > Subject: Re: [PATCH] net/ice: fix get link status timeout >=20 > 06/02/2023 07:22, Mingjin Ye: > > When hw is just started, it will immediately obtain the link status, > > and the longest attempt is 1 second. Some NICs are slow to initialize, > > which make it fails to obtain the link status. > > > > The patch fixes this issue by modifying the longest attempt to 5 second= s. >=20 > What is the consequence? DPDK could not get link status. At this point, the link status obtained thr= ough the pmd API is wrong. > In which case, DPDK application would be blocked during 5 seconds? When the dpdk application startup port is used, it will be blocked for up to 5 seconds to ensure that the connection status can be obtained. >=20