* Can anyone help me to run the l2fwd-ivshmem example?
@ 2014-06-18 7:56 GongJinrong
[not found] ` <COL402-EAS268D69C0134DDF11145F8B8B7100-MsuGFMq8XAE@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: GongJinrong @ 2014-06-18 7:56 UTC (permalink / raw)
To: dev-VfR2kkLFssw
Hi,
I want find a zero copy framework from host to vm without any physical
NIC device, it seems l2fwd-ivshmem can be used, but I have problems to run
this example:
1. there is no document about this example, even a simple readme :-(
2. does this example need ovdk?
3. can I use standard qemu to run this example? Does the standard qemu
support ivshmem?
Best Regards
John Gong
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Can anyone help me to run the l2fwd-ivshmem example?
[not found] ` <COL402-EAS268D69C0134DDF11145F8B8B7100-MsuGFMq8XAE@public.gmane.org>
@ 2014-06-18 8:19 ` Thomas Monjalon
2014-06-18 8:42 ` GongJinrong
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Monjalon @ 2014-06-18 8:19 UTC (permalink / raw)
To: GongJinrong; +Cc: dev-VfR2kkLFssw
Hi,
2014-06-18 15:56, GongJinrong:
> I want find a zero copy framework from host to vm without any physical
> NIC device,
I think memnic is what you want:
http://dpdk.org/doc/memnic-pmd
> it seems l2fwd-ivshmem can be used, but I have problems to run
> this example:
> 1. there is no document about this example, even a simple readme :-(
> 2. does this example need ovdk?
No
> 3. can I use standard qemu to run this example? Does the standard qemu
> support ivshmem?
You should be able to use standard Qemu.
--
Thomas
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Can anyone help me to run the l2fwd-ivshmem example?
2014-06-18 8:19 ` Thomas Monjalon
@ 2014-06-18 8:42 ` GongJinrong
[not found] ` <COL402-EAS3350292795F02565752A9D5B7100-MsuGFMq8XAE@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: GongJinrong @ 2014-06-18 8:42 UTC (permalink / raw)
To: 'Thomas Monjalon'; +Cc: dev-VfR2kkLFssw
Ok, thanks Thomas, I will try memnic.
-----Original Message-----
From: Thomas Monjalon [mailto:thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org]
Sent: Wednesday, June 18, 2014 4:20 PM
To: GongJinrong
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: [dpdk-dev] Can anyone help me to run the l2fwd-ivshmem example?
Hi,
2014-06-18 15:56, GongJinrong:
> I want find a zero copy framework from host to vm without any
> physical NIC device,
I think memnic is what you want:
http://dpdk.org/doc/memnic-pmd
> it seems l2fwd-ivshmem can be used, but I have problems to run this
> example:
> 1. there is no document about this example, even a simple readme :-(
> 2. does this example need ovdk?
No
> 3. can I use standard qemu to run this example? Does the standard
> qemu support ivshmem?
You should be able to use standard Qemu.
--
Thomas
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Can anyone help me to run the l2fwd-ivshmem example?
[not found] ` <COL402-EAS3350292795F02565752A9D5B7100-MsuGFMq8XAE@public.gmane.org>
@ 2014-06-18 8:52 ` Gray, Mark D
[not found] ` <738D45BC1F695740A983F43CFE1B7EA91B215B37-kPTMFJFq+rFP9JyJpTNKArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Gray, Mark D @ 2014-06-18 8:52 UTC (permalink / raw)
To: GongJinrong, 'Thomas Monjalon'; +Cc: dev-VfR2kkLFssw@public.gmane.org
>
> Hi,
>
> 2014-06-18 15:56, GongJinrong:
> > I want find a zero copy framework from host to vm without any
> > physical NIC device,
>
> I think memnic is what you want:
> http://dpdk.org/doc/memnic-pmd
>
> > it seems l2fwd-ivshmem can be used, but I have problems to run this
> > example:
> > 1. there is no document about this example, even a simple readme :-(
> > 2. does this example need ovdk?
>
> No
>
> > 3. can I use standard qemu to run this example? Does the standard
> > qemu support ivshmem?
>
> You should be able to use standard Qemu.
Standard QEMU will work for Memnic but not when using DPDK ivshmem. It uses
the standard QEMU ivshem and doesn't use DPDK in the way you would like it to
You should look at the DPDK vSwitch code to see how DPDK ivshmem is used.
Basically, in the host you need to identify what objects that you want to share with the
virtual machine
e.g. rings, memzones
>From this, you can generate a command line to pass to QEMU (with a modified ivshmem.c file
- we haven't tried to upstream this yet)
Then when you start a DPDK application in the guest, each of the objects that
you shared from the host are also available in the guest.
I presume the l2fwd-ivshmem does the same
>
> --
> Thomas
--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Can anyone help me to run the l2fwd-ivshmem example?
[not found] ` <738D45BC1F695740A983F43CFE1B7EA91B215B37-kPTMFJFq+rFP9JyJpTNKArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2014-06-18 9:18 ` GongJinrong
0 siblings, 0 replies; 5+ messages in thread
From: GongJinrong @ 2014-06-18 9:18 UTC (permalink / raw)
To: 'Gray, Mark D', 'Thomas Monjalon'; +Cc: dev-VfR2kkLFssw
Thanks, Mark, the comment is really help.
-----Original Message-----
From: Gray, Mark D [mailto:mark.d.gray-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org]
Sent: Wednesday, June 18, 2014 4:53 PM
To: GongJinrong; 'Thomas Monjalon'
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: RE: [dpdk-dev] Can anyone help me to run the l2fwd-ivshmem example?
>
> Hi,
>
> 2014-06-18 15:56, GongJinrong:
> > I want find a zero copy framework from host to vm without any
> > physical NIC device,
>
> I think memnic is what you want:
> http://dpdk.org/doc/memnic-pmd
>
> > it seems l2fwd-ivshmem can be used, but I have problems to run this
> > example:
> > 1. there is no document about this example, even a simple readme :-(
> > 2. does this example need ovdk?
>
> No
>
> > 3. can I use standard qemu to run this example? Does the standard
> > qemu support ivshmem?
>
> You should be able to use standard Qemu.
Standard QEMU will work for Memnic but not when using DPDK ivshmem. It uses
the standard QEMU ivshem and doesn't use DPDK in the way you would like it
to
You should look at the DPDK vSwitch code to see how DPDK ivshmem is used.
Basically, in the host you need to identify what objects that you want to
share with the virtual machine
e.g. rings, memzones
>From this, you can generate a command line to pass to QEMU (with a modified
ivshmem.c file
- we haven't tried to upstream this yet)
Then when you start a DPDK application in the guest, each of the objects
that you shared from the host are also available in the guest.
I presume the l2fwd-ivshmem does the same
>
> --
> Thomas
--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263 Business address: Dromore House, East Park,
Shannon, Co. Clare
This e-mail and any attachments may contain confidential material for the
sole use of the intended recipient(s). Any review or distribution by others
is strictly prohibited. If you are not the intended recipient, please
contact the sender and delete all copies.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-06-18 9:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-18 7:56 Can anyone help me to run the l2fwd-ivshmem example? GongJinrong
[not found] ` <COL402-EAS268D69C0134DDF11145F8B8B7100-MsuGFMq8XAE@public.gmane.org>
2014-06-18 8:19 ` Thomas Monjalon
2014-06-18 8:42 ` GongJinrong
[not found] ` <COL402-EAS3350292795F02565752A9D5B7100-MsuGFMq8XAE@public.gmane.org>
2014-06-18 8:52 ` Gray, Mark D
[not found] ` <738D45BC1F695740A983F43CFE1B7EA91B215B37-kPTMFJFq+rFP9JyJpTNKArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-06-18 9:18 ` GongJinrong
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.