patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [dpdk-dev] [PATCH] app/flow-perf: fix setting decap data for decap actions
@ 2021-03-10  9:45 Wisam Monther
  0 siblings, 0 replies; only message in thread
From: Wisam Monther @ 2021-03-10  9:45 UTC (permalink / raw)
  To: arybchenko, NBU-Contact-Thomas Monjalon, Alexander Kozyrev, dev; +Cc: stable

When using decap actions it's been set to the data to decap
into the encap_data instead of decap_data, as a results we end
up with bad encap and decap data in many cases.

Fixes: 0c8f1f4ab90e ("app/flow-perf: support raw encap/decap actions")

Signed-off-by: Wisam Jaddo <<>>
app/test-flow-perf/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c
index 99d0463456..e3e6a1b420 100644
--- a/app/test-flow-perf/main.c
+++ b/app/test-flow-perf/main.c
@@ -726,7 +726,7 @@ args_parse(int argc, char **argv)
                                        for (i = 0; i < RTE_DIM(flow_options); i++) {
                                                if (strcmp(flow_options[i].str, token) == 0) {
                                                        printf("%s,", token);
-                                                       encap_data |= flow_options[i].mask;
+                                                       decap_data |= flow_options[i].mask;
                                                /* Reached last item with no match */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-10  9:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10  9:45 [dpdk-stable] [dpdk-dev] [PATCH] app/flow-perf: fix setting decap data for decap actions Wisam Monther

patches for DPDK stable branches

This inbox may be cloned and mirrored by anyone:

	git clone --mirror stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ \
	public-inbox-index stable

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone