DPDK patches and discussions
 help / color / mirror / Atom feed
From: Yerden Zhumabekov <e_zhumabekov@sts.kz>
To: Xin Li <neasoon@gmail.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] l2fwd does not send packets
Date: Thu, 11 Sep 2014 15:51:13 +0600
Message-ID: <54117091.6010903@sts.kz> (raw)
In-Reply-To: <CAKJH==X4g-yeGPd=2Ja_5FrR=7-PWi0jTwjMc_aOXm9kg7QBjQ@mail.gmail.com>


To make l2fwd act like a L2 bridge, I had altered l2fwd_simple_forward()

static void
l2fwd_simple_forward(struct rte_mbuf *m, unsigned portid)
    unsigned dst_port;
    dst_port = l2fwd_dst_ports[portid];
    l2fwd_send_packet(m, (uint8_t) dst_port);

11.09.2014 3:18, Xin Li пишет:
> 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.
> Best,
> Xin


Yerden Zhumabekov
State Technical Service
Astana, KZ

      parent reply	other threads:[~2014-09-11  9:47 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
2014-09-11  9:51 ` Yerden Zhumabekov [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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54117091.6010903@sts.kz \
    --to=e_zhumabekov@sts.kz \
    --cc=dev@dpdk.org \
    --cc=neasoon@gmail.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git