[dpdk-dev] Inputs needed - testing l2fwd

Stephen Hemminger stephen at networkplumber.org
Wed Mar 25 06:08:57 CET 2015


On Wed, 25 Mar 2015 09:40:47 +0530
Shankari Vaidyalingam <shankari.v2k6 at gmail.com> wrote:

> Hi,
> 
> Can anyone please help me whether I'm missing something in the below
> exercise
> 
> Regards
> Shankari.V
> 
> On Wed, Mar 25, 2015 at 12:25 AM, Shankari Vaidyalingam <
> shankari.v2k6 at gmail.com> wrote:
> 
> > I'm trying to run sample DPDK  applications by injecting packets from an
> > external traffic generator.
> > I'm not able to get the frames to reach the RX queue of the corresponding
> > port and make the PMD detect those packets and get the application process
> > them.
> >
> > My configuration is:
> >
> >  I'm using Oracle VirtualBox to have 2 virtual network adapters for use in
> > the sample application. I have configured both the network adapters in the
> > "Bridged Networking" mode.
> > When I open the VM I can see the interfaces - eth0 and eth1
> > I bound the 2 interfaces to igb_uio driver and then configured the
> > hugepage mapping.
> > When I try sending the frames from an external source I had set the dest
> > MAC to the MAC addr of the ports bound to DPDK.
> > But still I'm not able to see either the "Frames received" or "Frames
> > dropped" count getting incremented.
> >
> > I tried googling and tried various options for networking mode as
> > (Bridged/Host Only...) but none of them seem to work fine.
> >
> > I'm sure that I'm missing something.
> > Can you please help me in this regard.
> >
> > Regards
> > Shankari.V
> >
> >

VirtualBox has its own version of virtio which is not compatiable
with the current version of DPDK virtio driver.


More information about the dev mailing list