From: "Wiles, Keith" <keith.wiles@intel.com>
To: Zhouyi Zhou <zhouzhouyi@gmail.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: Zhouyi Zhou <yizhouzhou@ict.ac.cn>
Subject: Re: [dpdk-dev] [PATCH PktGen/PCAP] let multi tx queues with pcap work
Date: Fri, 15 Apr 2016 13:33:42 +0000 [thread overview]
Message-ID: <B8F9C518-BA86-4905-A0D9-E3487DD9BBDB@intel.com> (raw)
In-Reply-To: <1460706071-17876-1-git-send-email-zhouzhouyi@gmail.com>
Thank you.
>Currently, dpdk-pktgen will panic when assigning multi tx queues with pcap
>packet, for example:
>./app/app/build/pktgen -c f -n 2 -- -P -m "[0:1-3].0" -s 0:pcap/large.pcap
>
>This patch fix this bug by assigning qid to memory pool name.
>
>Signed-off-by: Zhouyi Zhou <yizhouzhou@ict.ac.cn>
>---
> app/pktgen-pcap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/app/pktgen-pcap.c b/app/pktgen-pcap.c
>index 1af0a53..960294c 100644
>--- a/app/pktgen-pcap.c
>+++ b/app/pktgen-pcap.c
>@@ -337,7 +337,7 @@ pktgen_pcap_parse(pcap_info_t *pcap, port_info_t *info, unsigned qid)
>
> wr_pcap_rewind(pcap);
>
>- snprintf(name, sizeof(name), "%-12s%d:%d", "PCAP TX", info->pid, 0);
>+ snprintf(name, sizeof(name), "%-12s%d:%d", "PCAP TX", info->pid, qid);
> rte_printf_status(" Process: %-*s ", 18, name);
>
> pkt_sizes = elt_count = i = 0;
>--
>1.9.1
>
>
>
Regards,
Keith
prev parent reply other threads:[~2016-04-15 13:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-15 7:41 Zhouyi Zhou
2016-04-15 13:33 ` Wiles, Keith [this message]
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=B8F9C518-BA86-4905-A0D9-E3487DD9BBDB@intel.com \
--to=keith.wiles@intel.com \
--cc=dev@dpdk.org \
--cc=yizhouzhou@ict.ac.cn \
--cc=zhouzhouyi@gmail.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).