[dpdk-stable] patch 'examples/flow_filtering: fix capability setting' has been queued to stable release 18.08.1
Kevin Traynor
ktraynor at redhat.com
Fri Nov 23 11:27:11 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/29/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 223baf0330c92c95c2eb5340db4348e28609308b Mon Sep 17 00:00:00 2001
From: Ori Kam <orika at mellanox.com>
Date: Tue, 6 Nov 2018 06:32:20 +0000
Subject: [PATCH] examples/flow_filtering: fix capability setting
[ upstream commit a5e7c52dac2d369af379c59a7770bfd507ccf153 ]
The tx offloads should be compared to tx capability
Fixes: c82f2f8b4b3a ("examples/flow_filtering: filter out unsupported offloads")
Signed-off-by: Ori Kam <orika at mellanox.com>
Acked-by: Wei Zhao <wei.zhao1 at intel.com>
---
examples/flow_filtering/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/flow_filtering/main.c b/examples/flow_filtering/main.c
index 86b8f4457..55ba6e6bf 100644
--- a/examples/flow_filtering/main.c
+++ b/examples/flow_filtering/main.c
@@ -155,5 +155,5 @@ init_port(void)
rte_eth_dev_info_get(port_id, &dev_info);
- port_conf.txmode.offloads &= dev_info.rx_offload_capa;
+ port_conf.txmode.offloads &= dev_info.tx_offload_capa;
printf(":: initializing port: %d\n", port_id);
ret = rte_eth_dev_configure(port_id,
--
2.19.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2018-11-23 10:22:55.975538968 +0000
+++ 0067-examples-flow_filtering-fix-capability-setting.patch 2018-11-23 10:22:54.000000000 +0000
@@ -1,12 +1,13 @@
-From a5e7c52dac2d369af379c59a7770bfd507ccf153 Mon Sep 17 00:00:00 2001
+From 223baf0330c92c95c2eb5340db4348e28609308b Mon Sep 17 00:00:00 2001
From: Ori Kam <orika at mellanox.com>
Date: Tue, 6 Nov 2018 06:32:20 +0000
Subject: [PATCH] examples/flow_filtering: fix capability setting
+[ upstream commit a5e7c52dac2d369af379c59a7770bfd507ccf153 ]
+
The tx offloads should be compared to tx capability
Fixes: c82f2f8b4b3a ("examples/flow_filtering: filter out unsupported offloads")
-Cc: stable at dpdk.org
Signed-off-by: Ori Kam <orika at mellanox.com>
Acked-by: Wei Zhao <wei.zhao1 at intel.com>
@@ -15,10 +16,10 @@
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/flow_filtering/main.c b/examples/flow_filtering/main.c
-index 27e287ae7..a582ac075 100644
+index 86b8f4457..55ba6e6bf 100644
--- a/examples/flow_filtering/main.c
+++ b/examples/flow_filtering/main.c
-@@ -138,5 +138,5 @@ init_port(void)
+@@ -155,5 +155,5 @@ init_port(void)
rte_eth_dev_info_get(port_id, &dev_info);
- port_conf.txmode.offloads &= dev_info.rx_offload_capa;
More information about the stable
mailing list