From: Fan Zhang <roy.fan.zhang@intel.com>
To: dev@dpdk.org
Cc: pablo.de.lara.guarch@intel.com
Subject: [dpdk-dev] [PATCH v2] app/test-crypto-perf: fix index
Date: Tue, 23 Jan 2018 14:22:55 +0000 [thread overview]
Message-ID: <20180123142255.68449-1-roy.fan.zhang@intel.com> (raw)
In-Reply-To: <20180123115425.38549-1-roy.fan.zhang@intel.com>
Fixes: 27c2e7471961 ("app/crypto-perf: support IMIX")
A bug caused index out-of-range error. This simple patch is to fix
this.
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
---
v2:
Removed unnecessary cdev_id assignment line.
app/test-crypto-perf/main.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c
index 83a9d7b73..dd16fbe24 100644
--- a/app/test-crypto-perf/main.c
+++ b/app/test-crypto-perf/main.c
@@ -582,10 +582,8 @@ main(int argc, char **argv)
if (i == nb_cryptodevs)
break;
- cdev_id = enabled_cdevs[i];
-
rte_eal_remote_launch(cperf_testmap[opts.test].runner,
- ctx[cdev_id], lcore_id);
+ ctx[i], lcore_id);
i++;
}
i = 0;
--
2.13.6
next prev parent reply other threads:[~2018-01-23 14:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-23 11:54 [dpdk-dev] [PATCH] " Fan Zhang
2018-01-23 14:22 ` Fan Zhang [this message]
2018-01-23 15:28 ` [dpdk-dev] [PATCH v2] " De Lara Guarch, Pablo
2018-01-23 15:39 ` De Lara Guarch, Pablo
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=20180123142255.68449-1-roy.fan.zhang@intel.com \
--to=roy.fan.zhang@intel.com \
--cc=dev@dpdk.org \
--cc=pablo.de.lara.guarch@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).