From: Wisam Monther <wisamm@mellanox.com>
To: "wenzhuo.lu@intel.com" <wenzhuo.lu@intel.com>,
"dev@dpdk.org" <dev@dpdk.org>
Cc: Wisam Monther <wisamm@mellanox.com>,
"roman.zhukov@oktetlabs.ru" <roman.zhukov@oktetlabs.ru>,
"stable@dpdk.org" <stable@dpdk.org>
Subject: [dpdk-dev] [PATCH] app/testpmd: fix missing geneve flow item in raw encap
Date: Thu, 17 Oct 2019 08:13:52 +0000 [thread overview]
Message-ID: <1571300024-23720-1-git-send-email-wisamm@mellanox.com> (raw)
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
next reply other threads:[~2019-10-17 8:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-17 8:13 Wisam Monther [this message]
2019-10-23 13:46 ` Ori Kam
2019-10-23 17:56 ` [dpdk-dev] [dpdk-stable] " Ferruh Yigit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1571300024-23720-1-git-send-email-wisamm@mellanox.com \
--to=wisamm@mellanox.com \
--cc=dev@dpdk.org \
--cc=roman.zhukov@oktetlabs.ru \
--cc=stable@dpdk.org \
--cc=wenzhuo.lu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).