From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Marchand Subject: Re: [Qemu-devel] Why I advise against using ivshmem Date: Wed, 18 Jun 2014 16:58:25 +0200 Message-ID: <53A1A911.9040407__4225.66931597448$1404408019$gmane$org@6wind.com> References: <20140612094413.15e56938@nbschild1> <87vbs6qjhj.fsf_-_@blackfin.pond.sub.org> <5399CF09.8030803@6wind.com> <87ppidnqmy.fsf@blackfin.pond.sub.org> <539AC3E0.9090404@6wind.com> <539ACDE6.7020709@redhat.com> <539AFF7C.7090702@6wind.com> <539B064D.2050501@redhat.com> <53A00464.8090609@6wind.com> <20140618105120.GI14030@stefanha-thinkpad.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140618105120.GI14030@stefanha-thinkpad.redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Stefan Hajnoczi Cc: Henning Schild , Olivier MATZ , kvm , qemu-devel , Linux Virtualization , Paolo Bonzini , Vincent JARDIN , "thomas.monjalon@6wind.com" List-Id: virtualization@lists.linuxfoundation.org On 06/18/2014 12:51 PM, Stefan Hajnoczi wrote: >> >> Actually, you can avoid this memory copy using frameworks like DPDK. > > I guess it's careful to allocate all packets in the mmapped BAR? Yes. > That's fine if you can modify applications but doesn't work for > unmodified applications using regular networking APIs. If you have access to source code, this should not be a problem. -- David Marchand