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 BE38FA04B5 for ; Tue, 3 Dec 2019 19:28:08 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B4A7D37AF; Tue, 3 Dec 2019 19:28:08 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id ADC4337AF for ; Tue, 3 Dec 2019 19:28:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575397687; 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=ksMGTR7SiPpBEM+kGF0nWkyEmKP2jY2Ow5txBFtR5k0=; b=ZVBEj99JsatjzqlUB0r8FHAMGbjF/70BZMZilkAiDF8fgjJIoVM64U/Q+ORAXvQnVKo2AP GvMPUCwL/8r1vlpnkwFvfvRdcw1EU4M93BUjUeNVVg8CZu2h73mX5EBGjBnmunNdHG9h3m L4m+ZsA8a9M3ng9x5RnRXzssrM8rkaQ= 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-413-MDWk8pgIPfyrim2L31Iu0w-1; Tue, 03 Dec 2019 13:28:05 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 91CBDDB61; Tue, 3 Dec 2019 18:28:04 +0000 (UTC) Received: from rh.redhat.com (ovpn-117-10.ams2.redhat.com [10.36.117.10]) by smtp.corp.redhat.com (Postfix) with ESMTP id AC09A5C240; Tue, 3 Dec 2019 18:28:03 +0000 (UTC) From: Kevin Traynor To: Xiao Zhang Cc: Xiaolong Ye , dpdk stable Date: Tue, 3 Dec 2019 18:26:29 +0000 Message-Id: <20191203182714.17297-20-ktraynor@redhat.com> In-Reply-To: <20191203182714.17297-1-ktraynor@redhat.com> References: <20191203182714.17297-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-MC-Unique: MDWk8pgIPfyrim2L31Iu0w-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'net/ixgbe: fix X553 speed capability' 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/10/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/89158c23ca84c76726= 076dce3f07a13bbeaa0e3d Thanks. Kevin. --- >From 89158c23ca84c76726076dce3f07a13bbeaa0e3d Mon Sep 17 00:00:00 2001 From: Xiao Zhang Date: Wed, 25 Sep 2019 10:49:54 +0800 Subject: [PATCH] net/ixgbe: fix X553 speed capability [ upstream commit a02ef30e05f249df417e436c0c924091c2955a2c ] The speed capability of X553 1GbE should be ETH_LINK_SPEED_1G | ETH_LINK_SPEED_100M | ETH_LINK_SPEED_10M rather than ETH_LINK_SPEED_1G | ETH_LINK_SPEED_10G. Correct it to fix the issue. Fixes: e274f5732225 ("ethdev: add speed capabilities") Signed-off-by: Xiao Zhang Reviewed-by: Xiaolong Ye --- drivers/net/ixgbe/ixgbe_ethdev.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_eth= dev.c index 16d68fb2a..5492f5f5f 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -3826,4 +3826,9 @@ ixgbe_dev_info_get(struct rte_eth_dev *dev, struct rt= e_eth_dev_info *dev_info) =20 =09dev_info->speed_capa =3D ETH_LINK_SPEED_1G | ETH_LINK_SPEED_10G; +=09if (hw->device_id =3D=3D IXGBE_DEV_ID_X550EM_A_1G_T || +=09=09=09hw->device_id =3D=3D IXGBE_DEV_ID_X550EM_A_1G_T_L) +=09=09dev_info->speed_capa =3D ETH_LINK_SPEED_10M | +=09=09=09ETH_LINK_SPEED_100M | ETH_LINK_SPEED_1G; + =09if (hw->mac.type =3D=3D ixgbe_mac_X540 || =09 hw->mac.type =3D=3D ixgbe_mac_X540_vf || --=20 2.21.0 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092019-12-03 17:29:52.986330436 +0000 +++ 0020-net-ixgbe-fix-X553-speed-capability.patch=092019-12-03 17:29:51.72= 6750453 +0000 @@ -1 +1 @@ -From a02ef30e05f249df417e436c0c924091c2955a2c Mon Sep 17 00:00:00 2001 +From 89158c23ca84c76726076dce3f07a13bbeaa0e3d Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit a02ef30e05f249df417e436c0c924091c2955a2c ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 7bec95fe5..77c6d387f 100644 +index 16d68fb2a..5492f5f5f 100644 @@ -23 +24 @@ -@@ -3841,4 +3841,9 @@ ixgbe_dev_info_get(struct rte_eth_dev *dev, struct r= te_eth_dev_info *dev_info) +@@ -3826,4 +3826,9 @@ ixgbe_dev_info_get(struct rte_eth_dev *dev, struct r= te_eth_dev_info *dev_info)