[dpdk-stable] patch 'net/sfc: set priority of created filters to manual' has been queued to stable release 19.11.3
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Tue May 19 14:53:49 CEST 2020
Hi,
FYI, your patch has been queued to stable release 19.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 05/21/20. 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.
Thanks.
Luca Boccassi
---
>From c239286b98554bce9e4d1ab2d25b215451a451e8 Mon Sep 17 00:00:00 2001
From: Igor Romanov <igor.romanov at oktetlabs.ru>
Date: Tue, 10 Mar 2020 09:48:35 +0000
Subject: [PATCH] net/sfc: set priority of created filters to manual
[ upstream commit f6752f660fef18c843f45b9ff12b1dc98073c5a1 ]
The priority should be explicitly set to manual for correct
usage of libefx filters.
Fixes: a9825ccf5bb8 ("net/sfc: support flow API filters")
Signed-off-by: Igor Romanov <igor.romanov at oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
---
drivers/net/sfc/sfc_flow.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/sfc/sfc_flow.c b/drivers/net/sfc/sfc_flow.c
index 8d636f6923..023e55d951 100644
--- a/drivers/net/sfc/sfc_flow.c
+++ b/drivers/net/sfc/sfc_flow.c
@@ -1132,6 +1132,7 @@ sfc_flow_parse_attr(const struct rte_flow_attr *attr,
flow->spec.template.efs_flags |= EFX_FILTER_FLAG_RX;
flow->spec.template.efs_rss_context = EFX_RSS_CONTEXT_DEFAULT;
+ flow->spec.template.efs_priority = EFX_FILTER_PRI_MANUAL;
return 0;
}
--
2.20.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2020-05-19 13:56:20.429194417 +0100
+++ 0039-net-sfc-set-priority-of-created-filters-to-manual.patch 2020-05-19 13:56:18.239502179 +0100
@@ -1,13 +1,14 @@
-From f6752f660fef18c843f45b9ff12b1dc98073c5a1 Mon Sep 17 00:00:00 2001
+From c239286b98554bce9e4d1ab2d25b215451a451e8 Mon Sep 17 00:00:00 2001
From: Igor Romanov <igor.romanov at oktetlabs.ru>
Date: Tue, 10 Mar 2020 09:48:35 +0000
Subject: [PATCH] net/sfc: set priority of created filters to manual
+[ upstream commit f6752f660fef18c843f45b9ff12b1dc98073c5a1 ]
+
The priority should be explicitly set to manual for correct
usage of libefx filters.
Fixes: a9825ccf5bb8 ("net/sfc: support flow API filters")
-Cc: stable at dpdk.org
Signed-off-by: Igor Romanov <igor.romanov at oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
@@ -16,17 +17,17 @@
1 file changed, 1 insertion(+)
diff --git a/drivers/net/sfc/sfc_flow.c b/drivers/net/sfc/sfc_flow.c
-index ec0ca3cd6b..83414b1bd2 100644
+index 8d636f6923..023e55d951 100644
--- a/drivers/net/sfc/sfc_flow.c
+++ b/drivers/net/sfc/sfc_flow.c
-@@ -1164,6 +1164,7 @@ sfc_flow_parse_attr(const struct rte_flow_attr *attr,
- spec->type = SFC_FLOW_SPEC_FILTER;
- spec_filter->template.efs_flags |= EFX_FILTER_FLAG_RX;
- spec_filter->template.efs_rss_context = EFX_RSS_CONTEXT_DEFAULT;
-+ spec_filter->template.efs_priority = EFX_FILTER_PRI_MANUAL;
- } else {
- rte_flow_error_set(error, ENOTSUP,
- RTE_FLOW_ERROR_TYPE_ATTR_TRANSFER, attr,
+@@ -1132,6 +1132,7 @@ sfc_flow_parse_attr(const struct rte_flow_attr *attr,
+
+ flow->spec.template.efs_flags |= EFX_FILTER_FLAG_RX;
+ flow->spec.template.efs_rss_context = EFX_RSS_CONTEXT_DEFAULT;
++ flow->spec.template.efs_priority = EFX_FILTER_PRI_MANUAL;
+
+ return 0;
+ }
--
2.20.1
More information about the stable
mailing list