From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 51A5FA0351; Thu, 6 Aug 2020 12:08:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8EFE71C038; Thu, 6 Aug 2020 12:08:25 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 69B1D1C034; Thu, 6 Aug 2020 12:08:22 +0200 (CEST) IronPort-SDR: iFgkDBsm0ItKog5Ebvk50GIixT7hXAcSHPyXlfa/1CbhXPseJe7sqX7cbbyfjcgIIEgmVFDJaY SW3VLtO2Dwtw== X-IronPort-AV: E=McAfee;i="6000,8403,9704"; a="150507932" X-IronPort-AV: E=Sophos;i="5.75,441,1589266800"; d="scan'208";a="150507932" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Aug 2020 03:08:21 -0700 IronPort-SDR: tXV4JCQeqTju61LH/GZOPrAGy3qVCV2CzrURy3stYWtLtcfRpUvJx+UuYGDzswyfL9cZUrksOE NfE84RHL8iWg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,441,1589266800"; d="scan'208";a="437490633" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga004.jf.intel.com with ESMTP; 06 Aug 2020 03:08:21 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 6 Aug 2020 03:08:21 -0700 Received: from orsmsx151.amr.corp.intel.com (10.22.226.38) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 6 Aug 2020 03:08:21 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by ORSMSX151.amr.corp.intel.com (10.22.226.38) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 6 Aug 2020 03:08:21 -0700 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (104.47.45.58) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 6 Aug 2020 03:08:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vq6WJSndaz5u7CkAtNlzXtfZ6LcxoOQhXRfr9Xtpascc579tKVGyGIFKm1TCkyz9icl9Hb6wPSRzOBo9hfVMU/IJfGeFlhL9l5Ucyg0/BKclbFWC666Iccx/Wp2vuNYP9op4SHaU6WOzj/enjZ7yc0KO7s2im+98eN+Ekj48B9glNH2A9BH6FKL8/jGRyrw2h7NsXYFcC7FJzPeRG+KbyTaRSYtnQffpXuKPbBmoR7IaYBaujkHmRxhKNmSSGQZKJ5/8pE/Udy30zKG+0zwnxBQ5c5RaXpXLXClc7Q1MThNTnxCAkrzVYPrcTjPqVLYfH+y3oP1aeMuhrQyTSwV8rg== 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-SenderADCheck; bh=zb3/NsRE8HQLRshPxfAlAVwDGmgHP/AVVHkQ7ZBmRho=; b=TCUyITFcBadoSndwcVYiMEQ0ag9Qem3nBZLkONi45wm1uN5UAAk4prh2RC1G1kkl6f8QhGDssx03I+w/OdN86OLV7OkuSZ63qD6cx9JXFwOtDF+3leAG+AQQS9ZcJbsZnCS1WZUD2jcZzM5o5D4cpKjazl2QMQjQoxOOK2ZPYKEskdixYDwsmLvPooUMCv6/n/M2mOFpfn/qmNiPUjXKa64hdLohRQ1jbqlmvR+PxU8PvZWZIv2wWjqrowLJhmWnqbSqF0EkLhqGwINorudzIhOsUXdgfT4mrcGnGrT2of6mOfIt/k3c2pdZiztnQFro5ocbZPeELtKM3yKBueRpvQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zb3/NsRE8HQLRshPxfAlAVwDGmgHP/AVVHkQ7ZBmRho=; b=L6dcNwDi2+BcW5nUHonX4fMdHVR/H2Vs6VnWNtUcF3XQTuC359ndAE7KOyFp+LxBoSh8Z65QqQ76Sx73rG5c7XVCB/jiRKPjSqQ1xq953fsT64Wg1AZNiLH9QuLZPcml4worFYy85ZEw9IDB9hd7YlFko/3WgSTq9q1Q0UOR1QE= Received: from MN2PR11MB3807.namprd11.prod.outlook.com (2603:10b6:208:f0::24) by MN2PR11MB3662.namprd11.prod.outlook.com (2603:10b6:208:ee::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.17; Thu, 6 Aug 2020 10:08:18 +0000 Received: from MN2PR11MB3807.namprd11.prod.outlook.com ([fe80::401c:b4b:31c4:98b8]) by MN2PR11MB3807.namprd11.prod.outlook.com ([fe80::401c:b4b:31c4:98b8%3]) with mapi id 15.20.3239.023; Thu, 6 Aug 2020 10:08:18 +0000 From: "Xing, Beilei" To: "Sun, GuinanX" , "dev@dpdk.org" CC: "Guo, Jia" , "stable@dpdk.org" Thread-Topic: [PATCH v3] net/i40e: fix link status Thread-Index: AQHWa81uZQ5hgC3f/EeJ4ZrQbLRSF6kq21PQ Date: Thu, 6 Aug 2020 10:08:18 +0000 Message-ID: References: <20200730082539.24104-1-guinanx.sun@intel.com> <20200806081641.19916-1-guinanx.sun@intel.com> In-Reply-To: <20200806081641.19916-1-guinanx.sun@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.45] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 91008b15-f503-458a-aa2f-08d839f0a455 x-ms-traffictypediagnostic: MN2PR11MB3662: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1360; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: q4V4BzWRppfvzpOJRbJeJetnrLjMP72qV/5g1DHbSwhq6t9WmXvROirnXLaxGSVOfHY94qAP3GUK5v68o6GZEu+9UrdCwnYragKNU9lBJNQwDE0dsu6MvzR0g5QogooMM1wHTJ//XcrHxOebi1ILDFLq/QUzQ+1FvDX54zPQOjUmHuVOcNezAlrFn1IPhmCQNNx0zuzsrpibGcs+4GxHpOSME+cAn/g0E6hjSIqI8ViYkktZObAPKV9Heo11OweNcYvn7JgvvlCDtbdK3/59pbuw/MpMBW+ZIcnX0JhyQ08BDCVaq56z6g1oXesrRNuQ x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3807.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(396003)(366004)(376002)(136003)(346002)(8936002)(54906003)(478600001)(110136005)(33656002)(52536014)(316002)(7696005)(2906002)(4326008)(53546011)(6506007)(83380400001)(26005)(4744005)(9686003)(66946007)(66446008)(55016002)(8676002)(76116006)(71200400001)(186003)(450100002)(66476007)(86362001)(5660300002)(66556008)(64756008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: V8qzmP9NEBjXCQm+pAALDkM9EdiM2onEny1jXA7v14qCDYBplbl2+7y2qZc8mHv5Y8cLWJFiAvbSvsiKZJ8ZA5JkcoWxZtz3YsyShGn4wuD0ZxNm2kqIuto0lFrcOM0bYCTYcMorYGuyVEJwOu7DF6N+Dq4OFZvyzHpet7G1/dzCZ8iST31CtgySGgj+t+uVygrWHZuLw1nvQsEjXI5Afwji+En/yzmWvVl8DU9zqG2mEkhkdTwwk15K0Hq4sflPxkAMSTHVJqPVnCRrbAwlOka3tsbZEK77Bha3KrO/wFvDO3p8VODkS0DXkUJyirpW+227uzEbr3HQI/b9Er75+FK9EDcRqKOCyrZMmZmdZplnBwahufN812LQlpdBtFO2aDv0X8bVGd9OaeNyWELh7YGyaWchfwZrawFyykbntYxxyPFtc3YE00xtysTWnM2woJfmhCuZ5A9AF0BrJ5xIK/WytvUN7MukV545zHgWY2PsBCxyPbRKj8H65MFMvgO8r/mtamiKwEGqFGl5khLQmLUvLArqHdJlq5p+Do2kZ8DuZqr0+MM//LEPhq34sE5FEMVAUp/ALXtv/g89G+X5w2Axe8SD24/LFoYAbwqVLKjNKx33NW3hkg5roilRgg856i6/Cg53bapZIxWoQTRP5A== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB3807.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91008b15-f503-458a-aa2f-08d839f0a455 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Aug 2020 10:08:18.2948 (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: ZRUYc2CGnVPMY4MSCHmm4Gk6ldd4OtBR2NPG/kiIWaJSd3u4ii1wIB3oYPpD+fwiJjZd0UvffJfT/eBJm5oLEg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3662 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3] net/i40e: fix link status 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: Sun, GuinanX > Sent: Thursday, August 6, 2020 4:17 PM > To: dev@dpdk.org > Cc: Xing, Beilei ; Guo, Jia ; S= un, > GuinanX ; stable@dpdk.org > Subject: [PATCH v3] net/i40e: fix link status >=20 > If the PF driver supports the new speed reporting capabilities then use > link_event_adv instead of link_event to get the speed. >=20 > Fixes: 2a73125b7041 ("i40evf: fix link info update") > Cc: stable@dpdk.org >=20 > Signed-off-by: Guinan Sun Acked-by: Beilei Xing