From owner-freebsd-arch@FreeBSD.ORG Thu Jan 6 23:15:20 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82CCD106564A for ; Thu, 6 Jan 2011 23:15:20 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 450828FC15 for ; Thu, 6 Jan 2011 23:15:20 +0000 (UTC) Received: by vws9 with SMTP id 9so6868032vws.13 for ; Thu, 06 Jan 2011 15:15:19 -0800 (PST) Received: by 10.220.195.65 with SMTP id eb1mr7483440vcb.35.1294355718160; Thu, 06 Jan 2011 15:15:18 -0800 (PST) Received: from [10.0.1.198] ([72.253.42.56]) by mx.google.com with ESMTPS id a6sm1904771vcm.46.2011.01.06.15.15.15 (version=SSLv3 cipher=RC4-MD5); Thu, 06 Jan 2011 15:15:17 -0800 (PST) Date: Thu, 6 Jan 2011 13:17:57 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: "Bjoern A. Zeeb" In-Reply-To: <20110106222945.R14966@maildrop.int.zabbadoz.net> Message-ID: References: <82826.1294088199@critter.freebsd.dk> <20110106140722.E14966@maildrop.int.zabbadoz.net> <4D260E0D.8080003@bsdimp.com> <20110106222945.R14966@maildrop.int.zabbadoz.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-arch@FreeBSD.org Subject: Re: Linux kernel compatability X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2011 23:15:20 -0000 On Thu, 6 Jan 2011, Bjoern A. Zeeb wrote: > On Thu, 6 Jan 2011, Warner Losh wrote: > >> On 01/06/2011 07:17, Bjoern A. Zeeb wrote: >>> On Mon, 3 Jan 2011, Jeff Roberson wrote: >>> >>>> Unfortunately it would create quite a lot of code churn as there are >>>> relatively few that are minorly different. You can page through the >>>> wrapper code if you're interested. >>>> >>>> http://svn.freebsd.org/viewvc/base/projects/ofed/head/sys/ofed/include/linux/ >>> >>> One thing I am not too sure about is sys/ofed. Given the entire >>> discussions it might well be better suited in sys/contrib/ofed under >>> the assumtion that the code is mostly maintained outside our tree and >>> we get in occational updates. >> >> If you look at what Jeff has done, you'll see that the external code >> follows our standards of residing in sys/contrib/ofed, while the code that >> glues it into the tree is in sys/ofed. > > I might just be too blind to see an ofed there: > http://svn.freebsd.org/viewvc/base/projects/ofed/head/sys/contrib/ > > It's rdma I guess. It feels just awkward to have the glue in > sys/mumble rather than completely bundled in sys/contrib/ofed/** like > we do for ipfilter, pf, ... to my understanding. > > The real glue into our stack, I assume, sits in net*/* mostly. That rdma was existing for iwarp stubs. I expect it will go away when chelsio finishes integrating with the ofed work for full iwarp support. I have the code in sys/ofed but it could easily be moved to sys/contrib/ofed. That is probably more appropriate. I was thinking just ofed as it was another native network like netinet, netatalk, netipx, etc. It perhaps would have been more appropriate to call it infiniband/. The extra directory is not a real problem either way. > > >>> I guess similarly things in user space might go to contrib as well? >> src/contrib is for code that's maintained outside the source tree that we >> adapt. > > Are all user space tools hand-rolled or are they ported over as well? > All userspace tools are ported in contrib/ofed. Only minor changes were required to build on BSD. We have a very complete stack. I know of no feature that is missing. > > Maybe I should wait till Jeff will post the diff to see. I don't mind discussing the technical points further at all. I just don't feel I have any more to add about the more existential topics. Thanks, Jeff > > /bz > > -- > Bjoern A. Zeeb You have to have visions! > Going to jail sucks -- All my daemons like it! > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" >