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 97E5BA04C3 for ; Fri, 22 Nov 2019 15:42:13 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8AA532BBD; Fri, 22 Nov 2019 15:42:13 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id BB5902BAF for ; Fri, 22 Nov 2019 15:42:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574433731; 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=NjDeKIfrjfMp9IxRptY3kynShof0+sx9h/bgh5eFqLA=; b=GW0+RmqPukfdr60qWhJo4cd7lELujLNgUfXmXOlDLMieK3oDmDTjEHXIsb7Cq42EzQFY7n dNrLiMzo4ZfDMH9ZhnohfBhg40CA20UV1f7jSeW9eTjAmdMbBcAoApGNEF+T1piNW67ucx xQMN1nFujKz7uRvPhcTr5T/VGVOqCF8= 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-405-vhWxDMqFMzCgmhsTegIZug-1; Fri, 22 Nov 2019 09:42:08 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D10451005509; Fri, 22 Nov 2019 14:42:06 +0000 (UTC) Received: from rh.redhat.com (unknown [10.36.118.60]) by smtp.corp.redhat.com (Postfix) with ESMTP id CDC628516; Fri, 22 Nov 2019 14:42:05 +0000 (UTC) From: Kevin Traynor To: Yong Wang Cc: Xiaolong Ye , dpdk stable Date: Fri, 22 Nov 2019 14:40:59 +0000 Message-Id: <20191122144131.21231-13-ktraynor@redhat.com> In-Reply-To: <20191122144131.21231-1-ktraynor@redhat.com> References: <20191122144131.21231-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: vhWxDMqFMzCgmhsTegIZug-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'net/ixgbe: remove redundant assignment' 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 11/29/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/f1452d08c30ee2b9fa= aa018e20b6ff1f27696aba Thanks. Kevin. --- >From f1452d08c30ee2b9faaa018e20b6ff1f27696aba Mon Sep 17 00:00:00 2001 From: Yong Wang Date: Fri, 30 Aug 2019 16:45:29 +0800 Subject: [PATCH] net/ixgbe: remove redundant assignment [ upstream commit e573264c71de3de67e8fa81b0872c10bf4650f15 ] Since "link.link_duplex" has been assigned to ETH_LINK_FULL_DUPLEX just before switch statement, the assignment in switch-case statement is redundant. Remove it. Fixes: 82113036e4e5 ("ethdev: redesign link speed config") Signed-off-by: Yong Wang Reviewed-by: Xiaolong Ye --- drivers/net/ixgbe/ixgbe_ethdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_eth= dev.c index 00a06ef67..794bb0125 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -4115,5 +4115,4 @@ ixgbe_dev_link_update_share(struct rte_eth_dev *dev, =09default: =09case IXGBE_LINK_SPEED_UNKNOWN: -=09=09link.link_duplex =3D ETH_LINK_FULL_DUPLEX; =09=09link.link_speed =3D ETH_SPEED_NUM_100M; =09=09break; --=20 2.21.0 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092019-11-22 14:36:55.916562564 +0000 +++ 0013-net-ixgbe-remove-redundant-assignment.patch=092019-11-22 14:36:55.= 163150013 +0000 @@ -1 +1 @@ -From e573264c71de3de67e8fa81b0872c10bf4650f15 Mon Sep 17 00:00:00 2001 +From f1452d08c30ee2b9faaa018e20b6ff1f27696aba Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit e573264c71de3de67e8fa81b0872c10bf4650f15 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 03fc1f717..f328d7c03 100644 +index 00a06ef67..794bb0125 100644 @@ -23,3 +24,3 @@ -@@ -4139,5 +4139,4 @@ ixgbe_dev_link_update_share(struct rte_eth_dev *dev, - =09=09else - =09=09=09link.link_speed =3D ETH_SPEED_NUM_100M; +@@ -4115,5 +4115,4 @@ ixgbe_dev_link_update_share(struct rte_eth_dev *dev, + =09default: + =09case IXGBE_LINK_SPEED_UNKNOWN: @@ -26,0 +28 @@ + =09=09link.link_speed =3D ETH_SPEED_NUM_100M; @@ -28 +29,0 @@ -=20