[dpdk-stable] patch 'net/sfc: allow to query RSS key and HF in isolated mode' has been queued to stable release 18.08.1
Kevin Traynor
ktraynor at redhat.com
Wed Nov 21 17:48:20 CET 2018
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/27/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 b3e7b1ebfe77749faec7ad63adc51331080eb177 Mon Sep 17 00:00:00 2001
From: Ivan Malov <ivan.malov at oktetlabs.ru>
Date: Thu, 11 Oct 2018 15:51:12 +0100
Subject: [PATCH] net/sfc: allow to query RSS key and HF in isolated mode
[ upstream commit 453e1d4baad9262391eaef15812ade9af1f15a3f ]
Isolated mode prevents global RSS from being enabled and configured.
However, an application may need to query default RSS key and hash
functions when a flow rule with RSS action is added which does not
contain custom RSS key or hash function choice. In this case
global RSS key and hash functions will be used to handle the rule,
and there should be some way for the application to query these
global default settings to clarify expectations on the traffic
distribution.
Fixes: 84a9b48128c1 ("net/sfc: support flow API isolated mode")
Signed-off-by: Ivan Malov <ivan.malov at oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
---
drivers/net/sfc/sfc_ethdev.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/sfc/sfc_ethdev.c b/drivers/net/sfc/sfc_ethdev.c
index b5ef47296..d38a3f4e8 100644
--- a/drivers/net/sfc/sfc_ethdev.c
+++ b/drivers/net/sfc/sfc_ethdev.c
@@ -1344,7 +1344,6 @@ sfc_dev_rss_hash_conf_get(struct rte_eth_dev *dev,
struct sfc_adapter *sa = dev->data->dev_private;
struct sfc_rss *rss = &sa->rss;
- struct sfc_port *port = &sa->port;
- if (rss->context_type != EFX_RX_SCALE_EXCLUSIVE || port->isolated)
+ if (rss->context_type != EFX_RX_SCALE_EXCLUSIVE)
return -ENOTSUP;
--
2.19.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2018-11-21 16:44:32.743526822 +0000
+++ 0066-net-sfc-allow-to-query-RSS-key-and-HF-in-isolated-mo.patch 2018-11-21 16:44:30.000000000 +0000
@@ -1,8 +1,10 @@
-From 453e1d4baad9262391eaef15812ade9af1f15a3f Mon Sep 17 00:00:00 2001
+From b3e7b1ebfe77749faec7ad63adc51331080eb177 Mon Sep 17 00:00:00 2001
From: Ivan Malov <ivan.malov at oktetlabs.ru>
Date: Thu, 11 Oct 2018 15:51:12 +0100
Subject: [PATCH] net/sfc: allow to query RSS key and HF in isolated mode
+[ upstream commit 453e1d4baad9262391eaef15812ade9af1f15a3f ]
+
Isolated mode prevents global RSS from being enabled and configured.
However, an application may need to query default RSS key and hash
functions when a flow rule with RSS action is added which does not
@@ -13,7 +15,6 @@
distribution.
Fixes: 84a9b48128c1 ("net/sfc: support flow API isolated mode")
-Cc: stable at dpdk.org
Signed-off-by: Ivan Malov <ivan.malov at oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
@@ -22,10 +23,10 @@
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/sfc/sfc_ethdev.c b/drivers/net/sfc/sfc_ethdev.c
-index 93bfecc4e..00f088013 100644
+index b5ef47296..d38a3f4e8 100644
--- a/drivers/net/sfc/sfc_ethdev.c
+++ b/drivers/net/sfc/sfc_ethdev.c
-@@ -1355,7 +1355,6 @@ sfc_dev_rss_hash_conf_get(struct rte_eth_dev *dev,
+@@ -1344,7 +1344,6 @@ sfc_dev_rss_hash_conf_get(struct rte_eth_dev *dev,
struct sfc_adapter *sa = dev->data->dev_private;
struct sfc_rss *rss = &sa->rss;
- struct sfc_port *port = &sa->port;
More information about the stable
mailing list