From owner-freebsd-hackers@freebsd.org Fri Apr 1 08:15:47 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 53B7CAE6B9C for ; Fri, 1 Apr 2016 08:15:47 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1E3C81BD3 for ; Fri, 1 Apr 2016 08:15:46 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id A0CF31FE023; Fri, 1 Apr 2016 10:15:44 +0200 (CEST) From: Hans Petter Selasky Subject: Re: Zero copy data transfer from Linuxulator to FreeBSD? To: "Lundberg, Johannes" , freebsd-hackers@freebsd.org References: Message-ID: <56FE2EE8.8000301@selasky.org> Date: Fri, 1 Apr 2016 10:18:48 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2016 08:15:47 -0000 On 04/01/16 04:38, Lundberg, Johannes wrote: > Hi > > I have a USB driver that runs in Linux mode and I want to transfer data to > a native program for processing. > > I think that shared memory is not possible, what are other (zero copy) > options? > > Thanks! > Can you explain a bit how the current program moves data around? --HPS