DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Roberts, Lee A." <lee.roberts@hpe.com>
To: "Wiles, Keith" <keith.wiles@intel.com>,
	Thomas Monjalon <thomas@monjalon.net>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [pktgen PATCH 0/6] fix compilation
Date: Wed, 26 Jul 2017 04:40:03 +0000	[thread overview]
Message-ID: <TU4PR84MB025468EF5C6F1A0FD0F7FBCFE5B90@TU4PR84MB0254.NAMPRD84.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <4FFF6FD7-FAAB-4034-92DC-D1CF27294837@intel.com>



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Wiles, Keith
> Sent: Tuesday, July 25, 2017 9:54 PM
> To: Thomas Monjalon <thomas@monjalon.net>
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] [pktgen PATCH 0/6] fix compilation
> 
> 
> > On Jul 25, 2017, at 5:21 PM, Thomas Monjalon <thomas@monjalon.net> wrote:
> >
> > Some errors were seen when trying to compile with gcc 7 or clang,
> > for 32-bit, and with DPDK 17.08-rc2.
> >
> > Thomas Monjalon (6):
> >  remove unused functions
> >  fix screen type saving
> >  fix compilation of printf based functions
> >  fix compilation with gcc 7
> >  fix 32-bit build
> >  fix build with dpdk-17.08-rc2
> >
> > app/Makefile             |  3 ---
> > app/cli-functions.c      |  2 +-
> > app/lpktgenlib.c         | 12 ++----------
> > app/pktgen-cmds.c        | 18 +++++++++---------
> > app/pktgen-latency.c     | 26 ++++++++++++++------------
> > app/pktgen-log.c         |  1 +
> > app/pktgen-port-cfg.h    |  2 +-
> > app/pktgen-stats.c       | 47 ++++++++++++++++++++++++++++-------------------
> > lib/cli/cli.c            |  2 +-
> > lib/cli/cli_cmds.c       |  6 +++---
> > lib/cli/cli_common.h     |  1 +
> > lib/cli/cli_map.c        |  2 +-
> > lib/cli/cli_scrn.c       |  5 ++++-
> > lib/cli/cli_scrn.h       |  1 +
> > lib/common/l2p.c         | 34 ----------------------------------
> > lib/common/mbuf.h        |  3 +++
> > lib/common/port_config.c | 10 +---------
> > 17 files changed, 71 insertions(+), 104 deletions(-)
> 
> Acked by: Keith Wiles <keith.wiles@intel.com>
> 
> I did apply these changes and in testing with i40e Pktgen now only sends a few thousand packets then
> stops sending. I am sure these patches are not the problem, but did you try out Pktgen to see if it
> worked with 17.08-rc2? Which version of Pktgen did you use?
> 
> I tried with clang and gcc both behave the same.
> 
> I noticed a new message:
> i40e_dev_start(): please call hierarchy_commit() before starting the port
> i40e_dev_start(): please call hierarchy_commit() before starting the port
> i40e_dev_start(): please call hierarchy_commit() before starting the port
> i40e_dev_start(): please call hierarchy_commit() before starting the port
> 
> and I tried to add the call in pktgen, but it had no effect. To me the TM API should be defaulted to
> the original mode and just work unless someone needs to use the TM APIs. The hierarchy_commit routine
> could not need to be called in the normal case is my guess.
> 
> >
> > --
> > 2.13.2
> >
> 
> Regards,
> Keith

I also noticed an issue with pktgen sending a limited number (many thousand) of packets when
using smaller packet sizes (64B, 128B) while using the ixgbe driver with an X550 (actually,
HPE-branded X550).  I had applied the "[dpdk-dev] [PATCH] net/ixgbe: add support of 2.5G and 5G"
patch from Wei Dai to dpdk-17.08-rc2 before building pktgen-3.3.7 on RHEL 7.3.

I was using pktgen to generate packets on both ports of the X550 at 2.5G and 5G rates, but
noticed that transmission would stop after a few seconds for smaller packet sizes.

                                              - Lee Roberts

  reply	other threads:[~2017-07-26  4:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-25 22:21 Thomas Monjalon
2017-07-25 22:21 ` [dpdk-dev] [pktgen PATCH 1/6] remove unused functions Thomas Monjalon
2017-07-25 22:21 ` [dpdk-dev] [pktgen PATCH 2/6] fix screen type saving Thomas Monjalon
2017-07-25 22:21 ` [dpdk-dev] [pktgen PATCH 3/6] fix compilation of printf based functions Thomas Monjalon
2017-07-25 22:21 ` [dpdk-dev] [pktgen PATCH 4/6] fix compilation with gcc 7 Thomas Monjalon
2017-07-25 22:21 ` [dpdk-dev] [pktgen PATCH 5/6] fix 32-bit build Thomas Monjalon
2017-07-25 22:21 ` [dpdk-dev] [pktgen PATCH 6/6] fix build with dpdk-17.08-rc2 Thomas Monjalon
2017-07-26  3:54 ` [dpdk-dev] [pktgen PATCH 0/6] fix compilation Wiles, Keith
2017-07-26  4:40   ` Roberts, Lee A. [this message]
2017-07-26  5:39   ` Thomas Monjalon
2017-07-26 14:35     ` [dpdk-dev] hierarchy_commit() message displayed when not using TM Wiles, Keith
2017-07-26 14:58       ` Lu, Wenzhuo
2017-07-26 14:52     ` [dpdk-dev] [pktgen PATCH 0/6] fix compilation Wiles, Keith
2017-07-26 15:01       ` Thomas Monjalon

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=TU4PR84MB025468EF5C6F1A0FD0F7FBCFE5B90@TU4PR84MB0254.NAMPRD84.PROD.OUTLOOK.COM \
    --to=lee.roberts@hpe.com \
    --cc=dev@dpdk.org \
    --cc=keith.wiles@intel.com \
    --cc=thomas@monjalon.net \
    /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).