From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id BA2E71B494 for ; Thu, 22 Nov 2018 17:53:20 +0100 (CET) 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 2B3353001BF9; Thu, 22 Nov 2018 16:53:20 +0000 (UTC) Received: from ktraynor.remote.csb (unknown [10.36.118.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2118260FD9; Thu, 22 Nov 2018 16:53:18 +0000 (UTC) From: Kevin Traynor To: Stewart Allen Cc: Michal Krawczyk , dpdk stable Date: Thu, 22 Nov 2018 16:49:50 +0000 Message-Id: <20181122164957.13003-58-ktraynor@redhat.com> In-Reply-To: <20181122164957.13003-1-ktraynor@redhat.com> References: <20181122164957.13003-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.45]); Thu, 22 Nov 2018 16:53:20 +0000 (UTC) Subject: [dpdk-stable] patch 'net/ena: fix passing RSS hash to mbuf' has been queued to stable release 18.08.1 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: Thu, 22 Nov 2018 16:53:21 -0000 Hi, FYI, your patch has been queued to stable release 18.08.1 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/28/18. 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. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Kevin Traynor --- >>From 24afedd64121a2880e410df2a8971fb1f9ade22e Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Thu, 25 Oct 2018 19:59:22 +0200 Subject: [PATCH] net/ena: fix passing RSS hash to mbuf [ upstream commit e5df9f33db00eb9d322abaefff30da74fd0e625d ] The driver was passing to the mbuf Rx queue ID instead of hash received from the device. Now, the RSS hash from the Rx descriptor is being set. Fixes: 1173fca25af9 ("ena: add polling-mode driver") Signed-off-by: Stewart Allen Acked-by: Michal Krawczyk --- drivers/net/ena/ena_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c index de5d2edc2..acb1a08e0 100644 --- a/drivers/net/ena/ena_ethdev.c +++ b/drivers/net/ena/ena_ethdev.c @@ -1911,5 +1911,5 @@ static uint16_t eth_ena_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, /* fill mbuf attributes if any */ ena_rx_mbuf_prepare(mbuf_head, &ena_rx_ctx); - mbuf_head->hash.rss = (uint32_t)rx_ring->id; + mbuf_head->hash.rss = ena_rx_ctx.hash; /* pass to DPDK application head mbuf */ -- 2.19.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2018-11-22 16:47:33.793878653 +0000 +++ 0058-net-ena-fix-passing-RSS-hash-to-mbuf.patch 2018-11-22 16:47:32.000000000 +0000 @@ -1,13 +1,14 @@ -From e5df9f33db00eb9d322abaefff30da74fd0e625d Mon Sep 17 00:00:00 2001 +From 24afedd64121a2880e410df2a8971fb1f9ade22e Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Thu, 25 Oct 2018 19:59:22 +0200 Subject: [PATCH] net/ena: fix passing RSS hash to mbuf +[ upstream commit e5df9f33db00eb9d322abaefff30da74fd0e625d ] + The driver was passing to the mbuf Rx queue ID instead of hash received from the device. Now, the RSS hash from the Rx descriptor is being set. Fixes: 1173fca25af9 ("ena: add polling-mode driver") -Cc: stable@dpdk.org Signed-off-by: Stewart Allen Acked-by: Michal Krawczyk @@ -16,7 +17,7 @@ 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c -index 186ab0e6b..191153a8f 100644 +index de5d2edc2..acb1a08e0 100644 --- a/drivers/net/ena/ena_ethdev.c +++ b/drivers/net/ena/ena_ethdev.c @@ -1911,5 +1911,5 @@ static uint16_t eth_ena_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts,