From: Yongseok Koh <yskoh@mellanox.com>
To: Adrien Mazarguil <adrien.mazarguil@6wind.com>,
Shahaf Shuler <shahafs@mellanox.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, Yongseok Koh <yskoh@mellanox.com>
Subject: [dpdk-dev] [PATCH 1/2] ethdev: add jump action to description table
Date: Wed, 3 Oct 2018 01:56:52 +0000 [thread overview]
Message-ID: <20181003015640.36306-2-yskoh@mellanox.com> (raw)
In-Reply-To: <20181003015640.36306-1-yskoh@mellanox.com>
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
---
app/test-pmd/config.c | 2 +-
lib/librte_ethdev/rte_flow.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 794aa5268..641ac5e17 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -1141,7 +1141,7 @@ static const struct {
MK_FLOW_ACTION(END, 0),
MK_FLOW_ACTION(VOID, 0),
MK_FLOW_ACTION(PASSTHRU, 0),
- MK_FLOW_ACTION(JUMP, 0),
+ MK_FLOW_ACTION(JUMP, sizeof(struct rte_flow_action_jump)),
MK_FLOW_ACTION(MARK, sizeof(struct rte_flow_action_mark)),
MK_FLOW_ACTION(FLAG, 0),
MK_FLOW_ACTION(QUEUE, sizeof(struct rte_flow_action_queue)),
diff --git a/lib/librte_ethdev/rte_flow.c b/lib/librte_ethdev/rte_flow.c
index cff4b5209..00ed67b5a 100644
--- a/lib/librte_ethdev/rte_flow.c
+++ b/lib/librte_ethdev/rte_flow.c
@@ -80,6 +80,7 @@ static const struct rte_flow_desc_data rte_flow_desc_action[] = {
MK_FLOW_ACTION(END, 0),
MK_FLOW_ACTION(VOID, 0),
MK_FLOW_ACTION(PASSTHRU, 0),
+ MK_FLOW_ACTION(JUMP, sizeof(struct rte_flow_action_jump)),
MK_FLOW_ACTION(MARK, sizeof(struct rte_flow_action_mark)),
MK_FLOW_ACTION(FLAG, 0),
MK_FLOW_ACTION(QUEUE, sizeof(struct rte_flow_action_queue)),
--
2.11.0
next prev parent reply other threads:[~2018-10-03 1:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-03 1:56 [dpdk-dev] [PATCH 0/2] net/mlx5: support multiple groups and jump action Yongseok Koh
2018-10-03 1:56 ` Yongseok Koh [this message]
2018-10-03 7:12 ` [dpdk-dev] [PATCH 1/2] ethdev: add jump action to description table Andrew Rybchenko
2018-10-03 7:31 ` Yongseok Koh
2018-10-03 1:56 ` [dpdk-dev] [PATCH 2/2] net/mlx5: support multiple groups and jump action Yongseok Koh
2018-10-08 18:06 ` [dpdk-dev] [PATCH v2] " Yongseok Koh
2018-10-09 8:18 ` Ori Kam
2018-10-09 12:50 ` Shahaf Shuler
2018-10-10 2:47 ` Yongseok Koh
2018-10-10 5:35 ` Shahaf Shuler
2018-10-10 2:54 ` [dpdk-dev] [PATCH v3] " Yongseok Koh
2018-10-12 8:42 ` [dpdk-dev] [PATCH v4] " Yongseok Koh
2018-10-14 5:55 ` Shahaf Shuler
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=20181003015640.36306-2-yskoh@mellanox.com \
--to=yskoh@mellanox.com \
--cc=adrien.mazarguil@6wind.com \
--cc=dev@dpdk.org \
--cc=shahafs@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).