patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] app/testpmd: fix missing geneve flow item in raw encap
@ 2019-10-17  8:12 Wisam Monther
  0 siblings, 0 replies; 2+ messages in thread
From: Wisam Monther @ 2019-10-17  8:12 UTC (permalink / raw)
  To: Wisam Monther; +Cc: roman.zhukov, stable

Fixes: 0f4203fe9d18 ("app/testpmd: support GENEVE pattern item in flow rules")
Cc: roman.zhukov@oktetlabs.ru
Cc: stable@dpdk.org

Signed-off-by: Wisam Jaddo <wisamm@mellanox.com>
---
 app/test-pmd/cmdline_flow.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index b26b8bf..84d4ae2 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_flow.c
@@ -5944,6 +5944,9 @@ cmd_set_raw_parsed(const struct buffer *in)
 			size = sizeof(struct rte_flow_item_nvgre);
 			proto = 0x2F;
 			break;
+		case RTE_FLOW_ITEM_TYPE_GENEVE:
+			size = sizeof(struct rte_flow_item_geneve);
+			break;
 		default:
 			printf("Error - Not supported item\n");
 			*total_size = 0;
-- 
2.7.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dpdk-stable] [PATCH] app/testpmd: fix missing geneve flow item in raw encap
@ 2019-10-17  8:13 Wisam Monther
  0 siblings, 0 replies; 2+ messages in thread
From: Wisam Monther @ 2019-10-17  8:13 UTC (permalink / raw)
  To: wenzhuo.lu, dev; +Cc: Wisam Monther, roman.zhukov, stable

Fixes: 0f4203fe9d18 ("app/testpmd: support GENEVE pattern item in flow rules")
Cc: roman.zhukov@oktetlabs.ru
Cc: stable@dpdk.org

Signed-off-by: Wisam Jaddo <wisamm@mellanox.com>
---
 app/test-pmd/cmdline_flow.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index b26b8bf..84d4ae2 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_flow.c
@@ -5944,6 +5944,9 @@ cmd_set_raw_parsed(const struct buffer *in)
 			size = sizeof(struct rte_flow_item_nvgre);
 			proto = 0x2F;
 			break;
+		case RTE_FLOW_ITEM_TYPE_GENEVE:
+			size = sizeof(struct rte_flow_item_geneve);
+			break;
 		default:
 			printf("Error - Not supported item\n");
 			*total_size = 0;
-- 
2.7.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-17  8:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-17  8:12 [dpdk-stable] [PATCH] app/testpmd: fix missing geneve flow item in raw encap Wisam Monther
2019-10-17  8:13 Wisam Monther

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).