From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by dpdk.org (Postfix) with ESMTP id A992B1DB9 for ; Mon, 30 Apr 2018 16:08:26 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id o2-v6so5266719wrj.13 for ; Mon, 30 Apr 2018 07:08:26 -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=flNLQgJ2x8nziAirX5i1EqV6b53oYD2RzfkKLnhaUcY=; b=jBPEoPjaM4roHwEXbUIrLSGO+duM7F9V+2Ibg1Dn+wLSSNf/zwRhAIPi1iF7UCnoef xQlkjy6cqyGM9P7OuLkpAsioanGqcPEDccropNT4wCjZy95mfJdKmFvu+VpxWkgsRykl uhzI+qy4VnGYxIxcI5nOAcfM4Unf28gOj7kw2ToUUxDTk7MdnTPUBE0w2jW1OMGcvTlE BLnxSCwK0v+y3nYSAXqy2f08anIyOjCLk8xfF2EKMJMxm/TTBPvrruVxo2RvKeaMR3iC 7WXWBT9KlBw1bVuewAPwq/AFWxxwuXeJ3xdahT8hH84LwHrX8/PGHeUn1CGCmh4KdBLH jBrA== 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=flNLQgJ2x8nziAirX5i1EqV6b53oYD2RzfkKLnhaUcY=; b=FOgwxJMJ5AecmnAksoAwIyhG7lUfm9gyIDhm1RcDELodhDRxNl014y2EsjJgUpnQjX IHs5HXrOrt6TwtqGi5KfwgCpTvcKNhzs+VM1K/0QybM7qmwnFyH0PqRCqEv2J5HZycW5 6+1rxbeZkTY7kdwnYEDSxCmFOB7oAdJMkjXClc55Oc6YN0XiiNQGom6E73jVBBp2dNj2 jue28KU+bkzYv8uiNFPxsCZQSTWcx7Igtu9INEQAk12f4MdRwzAqAofAx80iJTD5BCKk SiYaXEkuyUjuI1/6HVYoMK6uMQfshaHxGDj96HKeD1K0nyt5pabqLLuM9vgMkTfX3eCa 7Pkw== X-Gm-Message-State: ALQs6tCCyxy1onVq673cMmzSk0VuRLBQEN9sUCjep8U/sAlvZDfpFRJb UFomDhmYqyqqtQleyd+/Pcc= X-Google-Smtp-Source: AB8JxZqefXlqLRRR9zox/Mp6G2nHoVDXnit+LAD98Ix1e3eX1L/ImG2QyEgGjYvcPiBdJ4qa0horJA== X-Received: by 2002:adf:d0cb:: with SMTP id z11-v6mr8156589wrh.281.1525097306437; Mon, 30 Apr 2018 07:08:26 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id v192sm3603330wme.45.2018.04.30.07.08.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:08:25 -0700 (PDT) From: luca.boccassi@gmail.com To: Shahaf Shuler Cc: Nelio Laranjeiro , dpdk stable Date: Mon, 30 Apr 2018 15:03:55 +0100 Message-Id: <20180430140606.4615-77-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/mlx5: fix RSS key length query' 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:08:26 -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 a0a1b7fcc85ae029792e7d44b293a99c50221920 Mon Sep 17 00:00:00 2001 From: Shahaf Shuler Date: Mon, 26 Mar 2018 13:12:19 +0300 Subject: [PATCH] net/mlx5: fix RSS key length query [ upstream commit e7041f5529d129eef57d6ac9405a510b1df69ae4 ] The RSS key length returned by rte_eth_dev_info_get command was taken from the PMD private structure. This structure initialization was done only after the port configuration. Considering Mellanox device supports only 40B long RSS key, reporting the fixed number instead. Fixes: 29c1d8bb3e79 ("net/mlx5: handle a single RSS hash key for all protocols") Signed-off-by: Shahaf Shuler Acked-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_ethdev.c b/drivers/net/mlx5/mlx5_ethdev.c index b01dce27a..7284dfdee 100644 --- a/drivers/net/mlx5/mlx5_ethdev.c +++ b/drivers/net/mlx5/mlx5_ethdev.c @@ -632,7 +632,7 @@ mlx5_dev_infos_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *info) info->if_index = if_nametoindex(ifname); info->reta_size = priv->reta_idx_n ? priv->reta_idx_n : config->ind_table_max_size; - info->hash_key_size = priv->rss_conf.rss_key_len; + info->hash_key_size = rss_hash_default_key_len; info->speed_capa = priv->link_speed_capa; info->flow_type_rss_offloads = ~MLX5_RSS_HF_MASK; priv_unlock(priv); -- 2.14.2