DPDK usage discussions
 help / color / mirror / Atom feed
From: Dan Brown <dan.brown.vzw@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Setup pktgen as a receiver
Date: Thu, 12 Apr 2018 15:32:12 +0300	[thread overview]
Message-ID: <CAPBN5MJFHgZudLrjbx-zegS5REG_0A2Eb+2g47RUpcA5DQ63qg@mail.gmail.com> (raw)

I'm trying to run 2 pktgen instances, on two separate VMs, one act as a
generator and the other act as the a receiver.

TX is OK,  but for some reason the intended RX pktgen seem to receive no
packets (RX counters are zero).

With no pktgen/dpdk, both RX and TX interfaces can communicate properly (so
no network infrastructure level issue I suppose).

The cmd I use to init both ends is:
'./app/x86_64-native-linuxapp-gcc/pktgen -c 0x7 -n 1 -- -T -P -m "[1:2].0"'

Then 'start 0' on the TX instance.

Is there anything else I should execute on the RX instance for it to start
receiving packets?

Some more infrastructure details:
- Both interface are Intel SR-IOV VFs
- Hypervisor is VMware ESXi 6.5
- SR-IOV vSwitches are configured to allow promiscuous mode.
- Ubuntu 16.04 Guest OSs
- DPDK 18.02, pktgen 3.4.9

             reply	other threads:[~2018-04-12 12:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-12 12:32 Dan Brown [this message]
2018-04-12 13:59 ` James Bensley
2018-04-12 17:40   ` Dan Brown

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=CAPBN5MJFHgZudLrjbx-zegS5REG_0A2Eb+2g47RUpcA5DQ63qg@mail.gmail.com \
    --to=dan.brown.vzw@gmail.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).