From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 60B95E5D for ; Mon, 30 Apr 2018 16:07:42 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id j4so13408485wme.1 for ; Mon, 30 Apr 2018 07:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FooMfQiMBZ/tIrAmtFQCcoek05BBHJ/bXwz6ao31kZ0=; b=OnguJc01X9bEx+CM827n71GLnPSGa6Rx9HbCI8IzX+65bsbB3BRY1VFvUMSTJfVptZ 8vUwpUlFqE7nvxtDx0VRChBq0BQnk/yKzUA1wSEfTE0W2wkpWDKVOLpTneJcVfafckDw 3NXRVHnVPB2ikLHLBRH3cUAESCYf+WxHhrTfhSdA+iD0ftej29Fs4L8habmICpniAuU+ Xby8aZ7FgboY945DOpDxEyYIZmuLMul/qCE1f9wUbBzWxyXd6E109kOqqRzYjIi4pSo9 hbyCAbNzDkn12IBejVHto9sFChlQ67UC68iKAiCiHlU9J8Eerh0K7nzoJYXrgbuec551 sqzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FooMfQiMBZ/tIrAmtFQCcoek05BBHJ/bXwz6ao31kZ0=; b=DvkhExJrbGmuHC/WwW8N8H9ZRgelZTGo08UX4lSH9fwpyIPWkIwVvZ+LxHWIG/fEPo evHXRzIo8KCqJBPo/D7AkzepEafARSEgqZx4NDJCC9c/Z+GyNgkCY1EcveXhHIxkMM9y FI7zumWU3Thtk0Ro8jZ5AilX28DvqkULcUci73MDyGzIwL79NkS2YN7IVKV3Z7rECvB2 sB2ZF9keWqw9djCNvJDtN2I5lj7zwYqm/sT7WHcffQrGcSyCCMMVSppGzmdw93TY+Bkj SVHP/36+rHjXSVZd+VpyQETaCxkybR2ikwZudevs0KjByxdy0C2N374Od3cAOHkPmSXI 9jhQ== X-Gm-Message-State: ALQs6tAyPM2MUFg4eIOjz9xQsRuRO15CVgVgQYPl+fRyBAMuFwzIloIr FElmpUGlt/hQYjGjYY5u2V+4190KxFg= X-Google-Smtp-Source: AB8JxZqEuDDTWttsK1jLpM+HEz1E/qbESsSiybEqF7D75LUPAEMVJ29xl8kGpz510a0ihznSN64RAQ== X-Received: by 10.28.241.8 with SMTP id p8mr7054007wmh.84.1525097262117; Mon, 30 Apr 2018 07:07:42 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id 132sm1547556wmp.15.2018.04.30.07.07.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:07:41 -0700 (PDT) From: luca.boccassi@gmail.com To: Alejandro Lucero Cc: dpdk stable Date: Mon, 30 Apr 2018 15:03:27 +0100 Message-Id: <20180430140606.4615-49-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430140606.4615-1-luca.boccassi@gmail.com> References: <20180430140606.4615-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/nfp: fix link speed capabilities' has been queued to stable release 18.02.2 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: , X-List-Received-Date: Mon, 30 Apr 2018 14:07:42 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 47423f4933a18e32eb91062a15b5785847376604 Mon Sep 17 00:00:00 2001 From: Alejandro Lucero Date: Thu, 22 Feb 2018 11:57:20 +0000 Subject: [PATCH] net/nfp: fix link speed capabilities [ upstream commit 03c4e7abee3647024ccbc89b4d48dc9da7862379 ] Mixing numeric macros with bit shifts macros is not a good idea. Fixes: 011411586e03 ("net/nfp: extend speed capabilities advertised") Signed-off-by: Alejandro Lucero --- drivers/net/nfp/nfp_net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index fc501d6e8..6f795e9d7 100644 --- a/drivers/net/nfp/nfp_net.c +++ b/drivers/net/nfp/nfp_net.c @@ -1268,9 +1268,9 @@ nfp_net_infos_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) dev_info->reta_size = NFP_NET_CFG_RSS_ITBL_SZ; dev_info->hash_key_size = NFP_NET_CFG_RSS_KEY_SZ; - dev_info->speed_capa = ETH_SPEED_NUM_1G | ETH_LINK_SPEED_10G | - ETH_SPEED_NUM_25G | ETH_SPEED_NUM_40G | - ETH_SPEED_NUM_50G | ETH_LINK_SPEED_100G; + dev_info->speed_capa = ETH_LINK_SPEED_1G | ETH_LINK_SPEED_10G | + ETH_LINK_SPEED_25G | ETH_LINK_SPEED_40G | + ETH_LINK_SPEED_50G | ETH_LINK_SPEED_100G; if (hw->cap & NFP_NET_CFG_CTRL_LSO) dev_info->tx_offload_capa |= DEV_TX_OFFLOAD_TCP_TSO; -- 2.14.2