From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id AA84BA0471 for ; Fri, 21 Jun 2019 18:47:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A28261D556; Fri, 21 Jun 2019 18:47:27 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 8E2DE1D557 for ; Fri, 21 Jun 2019 18:47:25 +0200 (CEST) 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 mx1.redhat.com (Postfix) with ESMTPS id 0C0D76EB92; Fri, 21 Jun 2019 16:47:25 +0000 (UTC) Received: from rh.redhat.com (ovpn-117-77.ams2.redhat.com [10.36.117.77]) by smtp.corp.redhat.com (Postfix) with ESMTP id A28CE60BE0; Fri, 21 Jun 2019 16:47:18 +0000 (UTC) From: Kevin Traynor To: Xiao Wang Cc: Qi Zhang , dpdk stable Date: Fri, 21 Jun 2019 17:45:48 +0100 Message-Id: <20190621164626.31219-4-ktraynor@redhat.com> In-Reply-To: <20190621164626.31219-1-ktraynor@redhat.com> References: <20190621164626.31219-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 21 Jun 2019 16:47:25 +0000 (UTC) Subject: [dpdk-stable] patch 'net/fm10k: advertise supported RSS hash function' has been queued to LTS release 18.11.3 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.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/26/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 rebasing (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/58043568184f04e5184f3981568d9a6999c3cbd0 Thanks. Kevin Traynor --- >From 58043568184f04e5184f3981568d9a6999c3cbd0 Mon Sep 17 00:00:00 2001 From: Xiao Wang Date: Mon, 6 May 2019 16:44:34 +0800 Subject: [PATCH] net/fm10k: advertise supported RSS hash function [ upstream commit 1d7be86e3894d888c64a66afe149038473230dfa ] PMD should advertise supported RSS hash functions via dev_info.flow_type_rss_offloads variable [1], otherwise upper level check would fail on configuring RSS, leading to MQ RSS failure. [1] commit aa1a6d87f15d ("ethdev: force RSS offload rules again") Signed-off-by: Xiao Wang Acked-by: Qi Zhang --- drivers/net/fm10k/fm10k_ethdev.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c index caf4d1bc0..f64d07bba 100644 --- a/drivers/net/fm10k/fm10k_ethdev.c +++ b/drivers/net/fm10k/fm10k_ethdev.c @@ -1390,4 +1390,13 @@ fm10k_dev_infos_get(struct rte_eth_dev *dev, dev_info->hash_key_size = FM10K_RSSRK_SIZE * sizeof(uint32_t); dev_info->reta_size = FM10K_MAX_RSS_INDICES; + dev_info->flow_type_rss_offloads = ETH_RSS_IPV4 | + ETH_RSS_IPV6 | + ETH_RSS_IPV6_EX | + ETH_RSS_NONFRAG_IPV4_TCP | + ETH_RSS_NONFRAG_IPV6_TCP | + ETH_RSS_IPV6_TCP_EX | + ETH_RSS_NONFRAG_IPV4_UDP | + ETH_RSS_NONFRAG_IPV6_UDP | + ETH_RSS_IPV6_UDP_EX; dev_info->default_rxconf = (struct rte_eth_rxconf) { -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2019-06-21 17:22:11.957806447 +0100 +++ 0004-net-fm10k-advertise-supported-RSS-hash-function.patch 2019-06-21 17:22:11.707519490 +0100 @@ -1 +1 @@ -From 1d7be86e3894d888c64a66afe149038473230dfa Mon Sep 17 00:00:00 2001 +From 58043568184f04e5184f3981568d9a6999c3cbd0 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 1d7be86e3894d888c64a66afe149038473230dfa ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 47c20c5b2..d24c4c5ba 100644 +index caf4d1bc0..f64d07bba 100644