Re: [dpdk-users] DPDK beginer: Best way to try out DPDK on a laptop with unsupported NIC

2017-01-31 Thread Anupam Kapoor
On Tue, Jan 31, 2017 at 1:19 PM, Matthew Hall  wrote:

> Sometimes your development system is a MacBook Pro.
>

touché
​ :)

--
kind regards
anupam​


In the beginning was the lambda, and the lambda was with Emacs, and Emacs
was the lambda.


Re: [dpdk-users] DPDK beginer: Best way to try out DPDK on a laptop with unsupported NIC

2017-01-30 Thread Matthew Hall

> On Jan 30, 2017, at 11:43 PM, Anupam Kapoor  wrote:
> 
> 
>> On Tue, Jan 31, 2017 at 8:12 AM, Matthew Hall  wrote:
>> vmxnet3 and virtio-net support in DPDK are both broken in VirtualBox. I
> 
> ​how about kvm+qemu combination. those seem to work fine for me. ymmv (tm)

Sometimes your development system is a MacBook Pro. 

Matthew. 

Re: [dpdk-users] DPDK beginer: Best way to try out DPDK on a laptop with unsupported NIC

2017-01-30 Thread Anupam Kapoor
On Tue, Jan 31, 2017 at 8:12 AM, Matthew Hall  wrote:

> vmxnet3 and virtio-net support in DPDK are both broken in VirtualBox. I
>

​how about kvm+qemu combination. those seem to work fine for me. ymmv (tm)

--
kind regards
anupam​


In the beginning was the lambda, and the lambda was with Emacs, and Emacs
was the lambda.


Re: [dpdk-users] DPDK beginer: Best way to try out DPDK on a laptop with unsupported NIC

2017-01-30 Thread Matthew Hall
On Mon, Jan 30, 2017 at 03:20:46PM -0800, Stephen Hemminger wrote:
> E1000 emulation is often problematic for DPDK. VMWare's emulation of PCI bus
> does not handle interrupts correctly.
> 
> Use virtual NIC's (vmxnet3 and virtio) if at all possible.

vmxnet3 and virtio-net support in DPDK are both broken in VirtualBox. I 
usually use VirtualBox instead of VMWare because it doesn't require license 
fees. Since none of this is covered in the documentation or on the roadmap to 
get fixed in the DPDK virtio-net PMD, it would be difficult for us users to 
know about it. But thanks for pointing it out.

Matthew.


Re: [dpdk-users] DPDK beginer: Best way to try out DPDK on a laptop with unsupported NIC

2017-01-30 Thread Stephen Hemminger
On Mon, 30 Jan 2017 15:09:09 -0800
Matthew Hall  wrote:

> On Sun, Jan 29, 2017 at 08:08:35PM -0600, Primus Mutasingwa wrote:
> > I am new to DPDK. I want to try out on a laptop with an unsupported NIC.
> > (linux ubuntu 16.04)  
> 
> VMWare or VirtualBox VM w/ Intel E1000 emulation.
> 

E1000 emulation is often problematic for DPDK. VMWare's emulation of PCI bus
does not handle interrupts correctly.

Use virtual NIC's (vmxnet3 and virtio) if at all possible.


Re: [dpdk-users] DPDK beginer: Best way to try out DPDK on a laptop with unsupported NIC

2017-01-30 Thread Matthew Hall
On Sun, Jan 29, 2017 at 08:08:35PM -0600, Primus Mutasingwa wrote:
> I am new to DPDK. I want to try out on a laptop with an unsupported NIC.
> (linux ubuntu 16.04)

VMWare or VirtualBox VM w/ Intel E1000 emulation.

I use it for development all the time.

It's not incredibly amazing but it works fine.

Matthew.


[dpdk-users] DPDK beginer: Best way to try out DPDK on a laptop with unsupported NIC

2017-01-29 Thread Primus Mutasingwa
Hello all,

I am new to DPDK. I want to try out on a laptop with an unsupported NIC.
(linux ubuntu 16.04)
What are the best ways of doing this ? Are there any existing examples that
address this use case?
If possible I would like to be doing my development on a laptop entirely
and move my work to a desktop with a supported NIC at a later date when I
am able to purchase a proper system.
I am hoping migrating my application from laptop environment to final
target will not involve a lot of changes other than new NIC configuration.

Thank you,

DPDK new user !!

--