DPDK usage discussions
 help / color / mirror / Atom feed
From: "Wiles, Keith" <keith.wiles@intel.com>
To: Nagaraj Trivedi <nagaraj.trivedi@tcs.com>,
	"users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] callbacks for pktgen commands are not being invoked
Date: Fri, 12 Feb 2016 15:32:59 +0000	[thread overview]
Message-ID: <B551B184-AE81-4377-9DF6-B7131BC91452@intel.com> (raw)
In-Reply-To: <OFA428C8AA.34250A6D-ON65257F57.003DA26E-65257F57.003F5488@tcs.com>

>Hi, I am facing the issue that none of the callbacks for the respective 
>commands in the pktgen application are being executed.
>
>Further debug showed me that from the macro
>
>foreach_port(_portlist, _action) from the file pktgen.h
>
>the statement 
>
>if (info->seq_pkt == NULL) { \
>    continue; \
>} \
>_action; \
>
>always yeilds NULL and hence repeats the loop. Due to this the statement
>_action
>never gets executed. Hence the callbacks for none of the commands are 
>invoked.
>Let me know what could be the reason for info->seq_pkt to become NULL 
>always.

Not sure I can debug your problem without more details, I do see info->seq_pkt being valid, is some specific commands not working or more details would be great. I need to know version of DPDK and Pktgen you are using and the console startup output plus the command line would be helpful.
>
>Thanks & Regards
>Nagaraj Trivedi
>=====-----=====-----=====
>Notice: The information contained in this e-mail
>message and/or attachments to it may contain 
>confidential or privileged information. If you are 
>not the intended recipient, any dissemination, use, 
>review, distribution, printing or copying of the 
>information contained in this e-mail message 
>and/or attachments to it are strictly prohibited. If 
>you have received this communication in error, 
>please notify us by reply e-mail or telephone and 
>immediately and permanently delete the message 
>and any attachments. Thank you
>
>
>


Regards,
Keith





  reply	other threads:[~2016-02-12 15:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-12 11:31 Nagaraj Trivedi
2016-02-12 15:32 ` Wiles, Keith [this message]
2016-02-15 12:02   ` Nagaraj Trivedi
2016-02-15 14:36     ` Nagaraj Trivedi

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=B551B184-AE81-4377-9DF6-B7131BC91452@intel.com \
    --to=keith.wiles@intel.com \
    --cc=nagaraj.trivedi@tcs.com \
    --cc=users@dpdk.org \
    /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).