[dpdk-dev] Inputs needed - testing l2fwd

Shankari Vaidyalingam shankari.v2k6 at gmail.com
Tue Mar 31 07:55:30 CEST 2015


On Wed, Mar 25, 2015 at 11:55 AM, Shankari Vaidyalingam <
shankari.v2k6 at gmail.com> wrote:

>
> +dpdk-dev
>
>> Thanks for the response.
>>
>> I'm using Intel 82545 EM as the network adapter type and not using
>> virtio-net
>> I also checked whether 82545 NIC is supported by DPDK and found that it
>> is supported.
>>
>> Regards
>> Shankari.V
>>
>> On Wed, Mar 25, 2015 at 10:38 AM, Stephen Hemminger <
>> stephen at networkplumber.org> wrote:
>>
>>> 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.
>>>
>>
>>
>
Hi,

I'm still facing the issue where I'm not able to receive the frames in the
l2fwd app that I'm running on the VM.
I also tried googling and read similar posts in the discussion lists but
not able to get the frames in the l2fwd app.
I've created the VMs using Oracle VirtualBox.
If anyone has tried using VirtualBox please let me know how to resolve this.
I tried running in both the ways but it didnt work:

(1)  Configuration inside a VM:

Traffic gen ------>  eth0 -------> L2fwd app -----> eth1

(2)

Traffic gen ---->  eth0 ----> VM (eth0) -----> L2fwd app -----> VM (eth1)


Regards
Shankari.V


More information about the dev mailing list