DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Richardson, Bruce" <bruce.richardson@intel.com>
To: Xin Li <neasoon@gmail.com>, dev <dev@dpdk.org>
Subject: Re: [dpdk-dev] l2fwd does not send packets
Date: Thu, 11 Sep 2014 09:44:22 +0000	[thread overview]
Message-ID: <59AF69C657FD0841A61C55336867B5B0343F0A1B@IRSMSX103.ger.corp.intel.com> (raw)
In-Reply-To: <CAKJH==X4g-yeGPd=2Ja_5FrR=7-PWi0jTwjMc_aOXm9kg7QBjQ@mail.gmail.com>

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Xin Li
> Sent: Wednesday, September 10, 2014 10:19 PM
> To: dev
> Subject: [dpdk-dev] l2fwd does not send packets
> 
> Hi,
> 
> The l2fwd sample application in my environment does not send packets
> through the TX port. I run DPDK inside a KVM guest. The NIC ports are VFs
> assigned to the VM by pci passthrough.
> 
> Environment:
> 
> Host OS: ubuntu 14.04 x86_64
> NIC: intel x540-t1
> Guest OS: ubuntu 14.04 x86_64
> DPDK: v1.7.0
> 
> Some findings:
> 
> 1. l2fwd reports 511 packets sent when max tx descriptor is 512, The number
> changes to 1023 if the max tx descriptor is set to 1024.
> 
> 2. On the receiver side, no packet captured.
> 
> Anyone know the issue and the corresponding fix? Thanks.
> 

One thing that is worth checking is that the source mac address of the packets being sent matches that of the VF interface, as the packets can't be sent otherwise.

/Bruce

  reply	other threads:[~2014-09-11  9:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-10 21:18 Xin Li
2014-09-11  9:44 ` Richardson, Bruce [this message]
2014-09-11  9:51 ` Yerden Zhumabekov

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=59AF69C657FD0841A61C55336867B5B0343F0A1B@IRSMSX103.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=neasoon@gmail.com \
    /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).