From owner-freebsd-virtualization@FreeBSD.ORG Fri Aug 16 00:40:52 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B9C3BB1F for ; Fri, 16 Aug 2013 00:40:52 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 7D36A2337 for ; Fri, 16 Aug 2013 00:40:52 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id A757C1271F; Fri, 16 Aug 2013 10:40:44 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BOA20164 (AUTH peterg@ptree32.com.au); Fri, 16 Aug 2013 10:40:43 +1000 Message-ID: <520D7509.3030207@freebsd.org> Date: Thu, 15 Aug 2013 17:40:41 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Jeremiah Lott Subject: Re: legacy irq patch and e1000 emulation References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 00:40:52 -0000 Hi Jeremiah, > Here is a small patch for automatic legacy irq assignment. Thanks - submitted in r254395. > Related, I noticed Peter mentioned Intel NIC emulation work > in a recent email. Is there work going on in this area? > I've been kind of hacking on an implementation for a 82545EM card. > Freebsd drive lem driver can probe it at this point, but it's > still got a long way to go before it is functional. I'd hate to > be duplicating work that is already done, though. I have the start of an 82580 (igb) emulation. The intent was to do a modern adaptor - multiple queues, jumbo frames, stateless offload etc, and hopefully be able to dumb it down to the standard 82540 "e1000" with a run-time switch for compatibility. I'm not so sure the latter is feasible now, so our efforts may be complementary. In any event, there's some work needed to abstract the network backend so new device emulations don't have to replicate the virtio tap code. This would also allow additional backends to be dropped in (e.g. netmap). I'll send you what I've done and we can work out if a merge could be done, or if there should be separate emulations. BTW - thanks for looking into this ! later, Peter.