DPDK patches and discussions
 help / color / mirror / Atom feed
From: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
To: dev@dpdk.org
Cc: venkata.suresh.kumar.p@intel.com, cristian.dumitrescu@intel.com
Subject: [dpdk-dev] [PATCH 1/2] pipeline: fix jump instruction population
Date: Fri, 16 Oct 2020 14:57:47 +0100
Message-ID: <20201016135747.76713-1-cristian.dumitrescu@intel.com> (raw)

From: Venkata Suresh Kumar P <venkata.suresh.kumar.p@intel.com>

This patch fixes jump next instruction pointer

Fixes: b3947e25bed4 ("pipeline: introduce SWX jump and return instructions")
Cc: cristian.dumitrescu@intel.com

Signed-off-by: Venkata Suresh Kumar P <venkata.suresh.kumar.p@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
 lib/librte_pipeline/rte_swx_pipeline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_pipeline/rte_swx_pipeline.c b/lib/librte_pipeline/rte_swx_pipeline.c
index d5b4a1c..2c9fbf4 100644
--- a/lib/librte_pipeline/rte_swx_pipeline.c
+++ b/lib/librte_pipeline/rte_swx_pipeline.c
@@ -5647,7 +5647,7 @@ struct_field_parse(struct rte_swx_pipeline *p,
 		CHECK(found, EINVAL);
-		instr->jmp.ip = &instr[found - instruction_data];
+		instr->jmp.ip = &instructions[found - instruction_data];
 	return 0;

             reply	other threads:[~2020-10-16 13:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-16 13:57 Cristian Dumitrescu [this message]
2020-10-16 14:12 ` P, Venkata Suresh Kumar
2020-10-16 14:17   ` David Marchand
2020-10-16 14:20     ` David Marchand
2020-10-19  7:09 ` David Marchand

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201016135747.76713-1-cristian.dumitrescu@intel.com \
    --to=cristian.dumitrescu@intel.com \
    --cc=dev@dpdk.org \
    --cc=venkata.suresh.kumar.p@intel.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/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 dev dev/ https://inbox.dpdk.org/dev \
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git