From: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
To: dev@dpdk.org
Cc: Yongseok Koh <yskoh@mellanox.com>,
Adrien Mazarguil <adrien.mazarguil@6wind.com>,
stable@dpdk.org
Subject: [dpdk-dev] [PATCH 1/5] net/mlx5: fix parser inner value
Date: Tue, 31 Oct 2017 16:51:10 +0100 [thread overview]
Message-ID: <3ce605ba6526560b77a079b9f7fde40c7c8f5025.1509464921.git.nelio.laranjeiro@6wind.com> (raw)
In-Reply-To: <cover.1509464921.git.nelio.laranjeiro@6wind.com>
In-Reply-To: <cover.1509464921.git.nelio.laranjeiro@6wind.com>
In validate() it sets the value to 1 whereas the expected one is
IBV_FLOW_SPEC_INNER.
Fixes: c2c6ddd51da4 ("net/mlx5: limit flow API rules to one tunnel")
Cc: stable@dpdk.org
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
---
drivers/net/mlx5/mlx5_flow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c
index 3eb84e2a4..68cc8bff5 100644
--- a/drivers/net/mlx5/mlx5_flow.c
+++ b/drivers/net/mlx5/mlx5_flow.c
@@ -866,7 +866,7 @@ priv_flow_convert_items_validate(struct priv *priv,
" VXLAN encapsulations");
return -rte_errno;
}
- parser->inner = 1;
+ parser->inner = IBV_FLOW_SPEC_INNER;
}
if (parser->drop) {
parser->drop_q.offset += cur_item->dst_sz;
--
2.11.0
next prev parent reply other threads:[~2017-10-31 15:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-31 15:51 [dpdk-dev] [PATCH 0/5] net/mlx5: fixes Nelio Laranjeiro
2017-10-31 15:51 ` Nelio Laranjeiro [this message]
2017-10-31 23:46 ` [dpdk-dev] [PATCH 1/5] net/mlx5: fix parser inner value Yongseok Koh
2017-10-31 15:51 ` [dpdk-dev] [PATCH 2/5] net/mlx5: fix flows when VXLAN tunnel is 0 Nelio Laranjeiro
2017-11-01 18:56 ` Yongseok Koh
2017-10-31 15:51 ` [dpdk-dev] [PATCH 3/5] net/mlx5: fix RSS tunneled flow without outer Nelio Laranjeiro
2017-11-01 18:56 ` Yongseok Koh
2017-10-31 15:51 ` [dpdk-dev] [PATCH 4/5] net/mlx5: fix fdir flow removal Nelio Laranjeiro
2017-11-01 0:43 ` Yongseok Koh
2017-10-31 15:51 ` [dpdk-dev] [PATCH 5/5] net/mlx5: fix flow director TCPv6 filter Nelio Laranjeiro
2017-11-01 0:43 ` Yongseok Koh
2017-11-01 21:34 ` [dpdk-dev] [PATCH 0/5] net/mlx5: fixes 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=3ce605ba6526560b77a079b9f7fde40c7c8f5025.1509464921.git.nelio.laranjeiro@6wind.com \
--to=nelio.laranjeiro@6wind.com \
--cc=adrien.mazarguil@6wind.com \
--cc=dev@dpdk.org \
--cc=stable@dpdk.org \
--cc=yskoh@mellanox.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).