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 53217A04F5 for ; Wed, 11 Dec 2019 22:29:26 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2E8381BF31; Wed, 11 Dec 2019 22:29:26 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id D6FE31BE84 for ; Wed, 11 Dec 2019 22:29:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576099764; 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=vbR0DlxcjkyfARLt7DDOK4/Fms+GAUqwIdBEYUqwdDY=; b=NPpNbGU8kOCMPyt97vobrkMT79NC4YYkZq0ggQkucD8NMP3VhZRMY3IQzWQJE76h1o5JPB +dEUgERprj+5PQbBAR7iKJln3EyVjCFoGuAzTYekmEZ/mj1ykOG57+BFtfqk1gTSWgD2/l +3NV22zz+UzMtJiuKei0uB6OVOLIZCM= 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-10-y7mdND0cPp2LbRe5NU786Q-1; Wed, 11 Dec 2019 16:29:21 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 485C3477; Wed, 11 Dec 2019 21:29:20 +0000 (UTC) Received: from rh.redhat.com (ovpn-116-64.ams2.redhat.com [10.36.116.64]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4FAC610013A1; Wed, 11 Dec 2019 21:29:19 +0000 (UTC) From: Kevin Traynor To: Lunyuan Cui Cc: Wenzhuo Lu , dpdk stable Date: Wed, 11 Dec 2019 21:26:56 +0000 Message-Id: <20191211212702.27851-64-ktraynor@redhat.com> In-Reply-To: <20191211212702.27851-1-ktraynor@redhat.com> References: <20191211212702.27851-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-MC-Unique: y7mdND0cPp2LbRe5NU786Q-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'net/e1000: fix link status' has been queued to LTS release 18.11.6 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" Hi, FYI, your patch has been queued to LTS release 18.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/17/19. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasi= ng (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/e12bbb4acc5e35b2f1= 1ec7fae711c91a06627a12 Thanks. Kevin. --- >From e12bbb4acc5e35b2f11ec7fae711c91a06627a12 Mon Sep 17 00:00:00 2001 From: Lunyuan Cui Date: Wed, 13 Nov 2019 12:46:59 +0000 Subject: [PATCH] net/e1000: fix link status [ upstream commit a407d7c2ddfe05d0f13ca6170b1b8849023347e9 ] The link status got from link status register was not correct, because register has been reset when ports reset. After port reset, set the link status down. Fixes: c431ec66c54c ("net/igb: support setting link up or down") Signed-off-by: Lunyuan Cui Acked-by: Wenzhuo Lu --- drivers/net/e1000/igb_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.= c index 23b48d161..2c1f2314e 100644 --- a/drivers/net/e1000/igb_ethdev.c +++ b/drivers/net/e1000/igb_ethdev.c @@ -885,4 +885,6 @@ eth_igb_dev_init(struct rte_eth_dev *eth_dev) =09igb_intr_enable(eth_dev); =20 +=09eth_igb_dev_set_link_down(eth_dev); + =09/* initialize filter info */ =09memset(filter_info, 0, --=20 2.21.0 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092019-12-11 21:24:17.691862204 +0000 +++ 0064-net-e1000-fix-link-status.patch=092019-12-11 21:24:12.746649585 +0= 000 @@ -1 +1 @@ -From a407d7c2ddfe05d0f13ca6170b1b8849023347e9 Mon Sep 17 00:00:00 2001 +From e12bbb4acc5e35b2f11ec7fae711c91a06627a12 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit a407d7c2ddfe05d0f13ca6170b1b8849023347e9 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 2d2dc9cbe..a3e30dbe5 100644 +index 23b48d161..2c1f2314e 100644 @@ -23 +24 @@ -@@ -892,4 +892,6 @@ eth_igb_dev_init(struct rte_eth_dev *eth_dev) +@@ -885,4 +885,6 @@ eth_igb_dev_init(struct rte_eth_dev *eth_dev)