Thread (1 message) 1 message, 1 author, 2014-01-12

Re: send/receive L2 packets from SR-IOV ports using l2fwd-vf

From: James Yu <hidden>
Date: 2014-01-12 04:13:10

Jayakumar,

Thanks for pointing this out.

I was using l2fwd in DPDK 1.3.1r2 but could not consistently passing one
directional traffic. I have the following question when using l2fwd:
1. Can I kill the l2fwd using ctrl-c on linux command and restart it again
? Would it be gracefully shutting it down ?
2. If I reboot the VM, would that recover the SR-IOV ?
3. Do I have to issue any commands on the guest or host, or reboot the host
after I restart l2fwd to make the SR-IOV work again ?

Sometime I could pass traffic one directional from Spirent. The traffic was
sent to port 1 and received on port 2. But the other direction sending
traffic to port 2, however, did not receive traffic on port 1.

I have posted the description and setup on the other email thread with this
title "[dpdk-dev] one directional traffic from SR-IOV port using l2fwd". If
you know how to make bi-directional traffic work, please reply to that
email thread.

Thanks.

James



On Fri, Jan 10, 2014 at 9:13 PM, Jayakumar, Muthurajan <
muthurajan.jayakumar-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
James,

You are right.

From 1.3 release, the L2 Forwarding sample application (chapter 8.0 in 1.3
DPDK Sample Application User Guide) indicates that L2fwd and L2fwd-vf have
been merged into one L2 sample application example.

(The Sample Application guide introduction referring the merge)

The L2 Forwarding sample application is a simple example of packet
processing using Intel(r) Data Plane Development Kit (Intel(r) DPDK) which
also takes advantage of Single Root I/O Virtualization (SR-IOV) features in
a virtualized environment.
Note: Please note that previously a separate L2 Forwarding in Virtualized
Environments sample application was used, however, in later Intel(r) DPDK
versions these sample applications have been merged

Thanks,
M Jay

-----Original Message-----
From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of James Yu
Sent: Friday, January 10, 2014 8:32 PM
To: dev-VfR2kkLFssw@public.gmane.org
Subject: [dpdk-dev] send/receive L2 packets from SR-IOV ports using
l2fwd-vf

I found that it used to have l2fwd-vf in DPDK 1.2.3 release (
http://www.dpdk.org/browse/dpdk/tree/examples/l2fwd-vf/main.c?h=1.2.3)
But in the next release 1.3.1, that directory is gone. Does that mean it
is merged to some other tool ? Which tool can I use to send/receive L2
traffic from SR-IOV ports.

In DPDK 1.3.1r2, to use use SR-IOV ports, should I use l2fwd-vf from 1.2.3
release or simply use l2fwd ?

Thanks

James
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help