DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] DPDK beginer: Best way to try out DPDK on a laptop with unsupported NIC
@ 2017-01-30  2:08 Primus Mutasingwa
  2017-01-30 23:09 ` Matthew Hall
  0 siblings, 1 reply; 7+ messages in thread
From: Primus Mutasingwa @ 2017-01-30  2:08 UTC (permalink / raw)
  To: users

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 !!

--

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-users] DPDK beginer: Best way to try out DPDK on a laptop with unsupported NIC
  2017-01-30  2:08 [dpdk-users] DPDK beginer: Best way to try out DPDK on a laptop with unsupported NIC Primus Mutasingwa
@ 2017-01-30 23:09 ` Matthew Hall
  2017-01-30 23:20   ` Stephen Hemminger
  0 siblings, 1 reply; 7+ messages in thread
From: Matthew Hall @ 2017-01-30 23:09 UTC (permalink / raw)
  To: Primus Mutasingwa; +Cc: users

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-users] DPDK beginer: Best way to try out DPDK on a laptop with unsupported NIC
  2017-01-30 23:09 ` Matthew Hall
@ 2017-01-30 23:20   ` Stephen Hemminger
  2017-01-31  2:42     ` Matthew Hall
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Hemminger @ 2017-01-30 23:20 UTC (permalink / raw)
  To: Matthew Hall; +Cc: Primus Mutasingwa, users

On Mon, 30 Jan 2017 15:09:09 -0800
Matthew Hall <mhall@mhcomputing.net> 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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-users] DPDK beginer: Best way to try out DPDK on a laptop with unsupported NIC
  2017-01-30 23:20   ` Stephen Hemminger
@ 2017-01-31  2:42     ` Matthew Hall
  2017-01-31  7:43       ` Anupam Kapoor
  0 siblings, 1 reply; 7+ messages in thread
From: Matthew Hall @ 2017-01-31  2:42 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: Primus Mutasingwa, users

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-users] DPDK beginer: Best way to try out DPDK on a laptop with unsupported NIC
  2017-01-31  2:42     ` Matthew Hall
@ 2017-01-31  7:43       ` Anupam Kapoor
  2017-01-31  7:49         ` Matthew Hall
  0 siblings, 1 reply; 7+ messages in thread
From: Anupam Kapoor @ 2017-01-31  7:43 UTC (permalink / raw)
  To: Matthew Hall; +Cc: Stephen Hemminger, Primus Mutasingwa, users

On Tue, Jan 31, 2017 at 8:12 AM, Matthew Hall <mhall@mhcomputing.net> 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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-users] DPDK beginer: Best way to try out DPDK on a laptop with unsupported NIC
  2017-01-31  7:43       ` Anupam Kapoor
@ 2017-01-31  7:49         ` Matthew Hall
  2017-01-31  8:45           ` Anupam Kapoor
  0 siblings, 1 reply; 7+ messages in thread
From: Matthew Hall @ 2017-01-31  7:49 UTC (permalink / raw)
  To: Anupam Kapoor; +Cc: Stephen Hemminger, Primus Mutasingwa, users


> On Jan 30, 2017, at 11:43 PM, Anupam Kapoor <anupam.kapoor@gmail.com> wrote:
> 
> 
>> On Tue, Jan 31, 2017 at 8:12 AM, Matthew Hall <mhall@mhcomputing.net> 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. 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-users] DPDK beginer: Best way to try out DPDK on a laptop with unsupported NIC
  2017-01-31  7:49         ` Matthew Hall
@ 2017-01-31  8:45           ` Anupam Kapoor
  0 siblings, 0 replies; 7+ messages in thread
From: Anupam Kapoor @ 2017-01-31  8:45 UTC (permalink / raw)
  To: Matthew Hall; +Cc: Stephen Hemminger, Primus Mutasingwa, users

On Tue, Jan 31, 2017 at 1:19 PM, Matthew Hall <mhall@mhcomputing.net> 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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-01-31  8:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-30  2:08 [dpdk-users] DPDK beginer: Best way to try out DPDK on a laptop with unsupported NIC Primus Mutasingwa
2017-01-30 23:09 ` Matthew Hall
2017-01-30 23:20   ` Stephen Hemminger
2017-01-31  2:42     ` Matthew Hall
2017-01-31  7:43       ` Anupam Kapoor
2017-01-31  7:49         ` Matthew Hall
2017-01-31  8:45           ` Anupam Kapoor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).