DPDK usage discussions
 help / color / mirror / Atom feed
From: "Wiles, Keith" <keith.wiles@intel.com>
To: Philip Lee <plee2@andrew.cmu.edu>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] DPDK Pktgen Stats Help
Date: Thu, 2 Mar 2017 07:12:01 +0000	[thread overview]
Message-ID: <0C89B156-A43E-4FE6-9340-CBF64542C896@intel.com> (raw)
In-Reply-To: <CAHZCBri77OB7s4Vh2a1iVGhyh_Am4x4tN9ezwgZ9RHXfMVKNvg@mail.gmail.com>


> On Mar 1, 2017, at 2:29 PM, Philip Lee <plee2@andrew.cmu.edu> wrote:
> 
> Hi All,
> 
> Is there a specific support location for pktgen help? I've tried
> posting on the Github page, but am still waiting on replies.
> 
> I'm having trouble getting the rate statistics to show up. The DPDK
> API rte_eth_stats_get() is used in pktgen.c to get the stats, but the
> results are all 0.
> 
> The setup are two Netronome NICs connected to each other with DPDK
> driver on the one virtual function on each. We do not have Netronome's
> OvS software installed on the system, but have their Agilio P4C SDK
> RTE installed. The command we use follow as such: ./pktgen -c 0x1f -n
> 1 -- -m [1:2].0

The problem appears to be with the Netronome PMD as the get_stats call just calls in to the PMD to get the stats. I would look in the PMD and see if they support stats gathering. Should be a table in the driver to tell ethdev which function to call. This really is not a Pktgen problem, but a DPDK/Netronome PMD problem.

> 
> Pictures + more details can be found here:
> https://github.com/pktgen/Pktgen-DPDK/issues/88
> 
> Anyone know what could be wrong?
> 
> Thanks,
> 
> Philip

Regards,
Keith

      reply	other threads:[~2017-03-02  7:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-01 20:29 Philip Lee
2017-03-02  7:12 ` 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=0C89B156-A43E-4FE6-9340-CBF64542C896@intel.com \
    --to=keith.wiles@intel.com \
    --cc=plee2@andrew.cmu.edu \
    --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).