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 1E6FFA04DB for ; Fri, 11 Dec 2020 10:46:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 16744AC9B; Fri, 11 Dec 2020 10:46:56 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id A0D9AAC9B for ; Fri, 11 Dec 2020 10:46:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607680013; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2JydYNJ26HD0RmACuYTExn3IC1O2abay1gXXuhuz9l0=; b=IAbw8knjXOITK/g6lIRg578Y3k0sVSNtYY1CjZLm4kVP5ZRdLfz73PwClm+a+lwB+ZnRBN pv9NTbiL6BV0c+d5mKTPvsIIm/Y9Ey1rdSm+k2gXrfFkFHELkGencPywPvN2Jx85bHbOX9 WXQhuOx0/Eh4IppvdVl0l/mi8z3DL/w= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-218-UOixXYQQOyO_jnK2VxRh-A-1; Fri, 11 Dec 2020 04:46:51 -0500 X-MC-Unique: UOixXYQQOyO_jnK2VxRh-A-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 04541801817; Fri, 11 Dec 2020 09:46:50 +0000 (UTC) Received: from [10.36.114.230] (ovpn-114-230.ams2.redhat.com [10.36.114.230]) by smtp.corp.redhat.com (Postfix) with ESMTP id C8F0C6E418; Fri, 11 Dec 2020 09:46:48 +0000 (UTC) To: Steve Yang , stable@dpdk.org Cc: beilei.xing@intel.com, jia.guo@intel.com, Guinan Sun References: <20201211090105.28432-1-stevex.yang@intel.com> <20201211090105.28432-3-stevex.yang@intel.com> From: Kevin Traynor Message-ID: <240bcaea-50b0-ddd8-243d-174d2708b5a8@redhat.com> Date: Fri, 11 Dec 2020 09:46:47 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20201211090105.28432-3-stevex.yang@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [DPDK 18.11] net/i40e: fix link status X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On 11/12/2020 09:01, Steve Yang wrote: > From: Guinan Sun > > [ upstream commit 3db12449e119587648adf0b189c0e45502b71285 ] > > If the PF driver supports the new speed reporting capabilities > then use link_event_adv instead of link_event to get the speed. > > Fixes: 2a73125b7041 ("i40evf: fix link info update") > Cc: stable@dpdk.org > > Acked-by: Jeff Guo > Tested-by: Jiaqi Min > > Signed-off-by: Guinan Sun > --- > drivers/net/i40e/base/virtchnl.h | 16 ++++++++++++- > drivers/net/i40e/i40e_ethdev_vf.c | 38 ++++++++++++++++++++++++++++--- > 2 files changed, 50 insertions(+), 4 deletions(-) Applied, thanks.