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 DE869A04A5; Tue, 25 Jan 2022 02:41:19 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 80809427F9; Tue, 25 Jan 2022 02:41:19 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id B9CD341186; Tue, 25 Jan 2022 02:41:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643074878; x=1674610878; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ybhwrmr5J4nucx9iGgZXEy/aVRsNqabECuu4wUT+sPQ=; b=KXHiR/TgIopHe+Qsfp1Vzu8LxJDO66qB+0iYdpisbkbK11k66P8L6crx mYJXW285bO2wezGzl20/sLa8FUJuuQkHIVkMbjXeHaFlLAKOZ6FEO9tDo umRoOuak9zmqvSterxBKjllQ4xp9CHSqhJfsAP12F7jMC7sdtlbMR5Bav 7+xVdfHUwL0osMcdvg63Wc2H96sXc/4iJW3BhCZ8xQRkRHP6EB9ZGXBh7 4vvDhw5wNCaGaRyxiEhsF4rrE6X0uPk/swPqT6paGEQMilg6pkYjhsmsc Ogb9KVqXS3FViOazEa56+o1UK2tZJ6kG5pzePQks4lxP8Ng0/GaQzx9dX A==; X-IronPort-AV: E=McAfee;i="6200,9189,10237"; a="245027772" X-IronPort-AV: E=Sophos;i="5.88,313,1635231600"; d="scan'208";a="245027772" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2022 17:41:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,313,1635231600"; d="scan'208";a="695643166" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga005.jf.intel.com with ESMTP; 24 Jan 2022 17:41:16 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 24 Jan 2022 17:41:15 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 25 Jan 2022 09:41:13 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2308.020; Tue, 25 Jan 2022 09:41:13 +0800 From: "Zhang, Qi Z" To: Yunjian Wang , "dev@dpdk.org" CC: "Yang, Qiming" , "dingxiaoxiong@huawei.com" , "xudingke@huawei.com" , "stable@dpdk.org" Subject: RE: [dpdk-dev] [PATCH v2] net/ice: fix link up when starting the device Thread-Topic: [dpdk-dev] [PATCH v2] net/ice: fix link up when starting the device Thread-Index: AQHYBhiuJR60ZLhdakSqbLRy7YTujqxzDO8g Date: Tue, 25 Jan 2022 01:41:13 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Yunjian Wang > Sent: Monday, January 10, 2022 7:53 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Yang, Qiming > ; dingxiaoxiong@huawei.com; > xudingke@huawei.com; Yunjian Wang ; > stable@dpdk.org > Subject: [dpdk-dev] [PATCH v2] net/ice: fix link up when starting the dev= ice >=20 > Currently, there is a possibility that the link status is not correct aft= er set link > up, the device ID is 159b. It would be fixed by calling > ice_link_update() while the parameter 'wait_to_complete' is true. It's > reasonable to wait for complete right after set link up as it is not in a= n link > status change interrupt handling scenario. >=20 > Fixes: cf911d90e366 ("net/ice: support link update") > Cc: stable@dpdk.org >=20 > Signed-off-by: Yunjian Wang Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi