From: Muhammad Zain-ul-Abideen <zain2294@gmail.com>
To: Dominic Chen <d.c.ddcc@gmail.com>
Cc: users <users@dpdk.org>
Subject: Re: [dpdk-users] Same port receive/transmit loopback
Date: Thu, 23 Jan 2020 23:25:57 +0500 [thread overview]
Message-ID: <CAN7yQ2qktSuGOb0msLyqTQv_WWBH7bFcwFfrL7ZBj7YFeJJTAA@mail.gmail.com> (raw)
In-Reply-To: <c83f0eb0-7cee-f0e3-6a9d-26adabbe5bd6@gmail.com>
Kindly share what you are sending vs what you are receiving and some more
detail on the environment configuration
On Wed, Jan 22, 2020, 10:13 AM Dominic Chen <d.c.ddcc@gmail.com> wrote:
> I've verified with testpmd that the connection works. Since I'm in a
> virtual machine, I don't have a physical cable to loopback, so I added
> more virtual NICs and bridged them externally. I've also submitted a
> patch to the e1000 driver to add support for loopback mode. I don't have
> the physical hardware, so I can only verify that it works in QEMU with
> e1000 and e1000e.
>
> Dominic
>
> On 1/21/2020 12:47 AM, Muhammad Zain-ul-Abideen wrote:
> > Hey there, have you used packetgen to verify. Build pktgen app and
> > loopback your cable to recieve what you send on the port to verify please
> >
> > On Tue, Jan 21, 2020, 3:34 AM Dominic Chen <d.c.ddcc@gmail.com
> > <mailto:d.c.ddcc@gmail.com>> wrote:
> >
> > I've just started working with DPDK recently, and I'm a little
> > confused
> > by the intended behavior when transmitting and receiving on the
> > same port.
> >
> > Currently, I haven't been able to receive the same packet that I
> > transmitted, regardless of the source/destination MACs on the
> Ethernet
> > packet (broadcast, self, etc), or whether the port is in promiscuous
> > mode. I've verified from other hosts on the network that my
> > packets are
> > being sent, that I am able to receive packets (as long as I didn't
> > send
> > them), and that I get the same behavior when using vfio-pci with both
> > e1000 and vmxnet3 (emulated in VMware).
> >
> > Is there some built-in source MAC filtering that I'm missing? Or do I
> > have to enable loopback mode?
> >
> > Thanks,
> >
> > Dominic
> >
> >
>
prev parent reply other threads:[~2020-01-23 18:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-20 22:34 Dominic Chen
2020-01-21 5:47 ` Muhammad Zain-ul-Abideen
2020-01-22 5:13 ` Dominic Chen
2020-01-23 18:25 ` Muhammad Zain-ul-Abideen [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=CAN7yQ2qktSuGOb0msLyqTQv_WWBH7bFcwFfrL7ZBj7YFeJJTAA@mail.gmail.com \
--to=zain2294@gmail.com \
--cc=d.c.ddcc@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).