From owner-freebsd-net@FreeBSD.ORG Fri Apr 18 06:33:07 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C14F106564A for ; Fri, 18 Apr 2008 06:33:07 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from outbound0.mx.meer.net (outbound0.mx.meer.net [209.157.153.23]) by mx1.freebsd.org (Postfix) with ESMTP id 438338FC15 for ; Fri, 18 Apr 2008 06:33:07 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mail.meer.net (mail.meer.net [209.157.152.14]) by outbound0.mx.meer.net (8.12.10/8.12.6) with ESMTP id m3I6X0i1096077; Thu, 17 Apr 2008 23:33:07 -0700 (PDT) (envelope-from gnn@neville-neil.com) Received: from mail2.meer.net (mail2.meer.net [64.13.141.16]) by mail.meer.net (8.13.3/8.13.3/meer) with ESMTP id m3I6WVrB096162; Thu, 17 Apr 2008 23:32:31 -0700 (PDT) (envelope-from gnn@neville-neil.com) Received: from minion.local.neville-neil.com (61.204.211.246.customerlink.pwd.ne.jp [61.204.211.246]) (authenticated bits=0) by mail2.meer.net (8.14.1/8.14.1) with ESMTP id m3I6WUHi094771; Thu, 17 Apr 2008 23:32:31 -0700 (PDT) (envelope-from gnn@neville-neil.com) Date: Fri, 18 Apr 2008 15:32:30 +0900 Message-ID: From: gnn@freebsd.org To: "Kip Macy" In-Reply-To: References: User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.1.50 (i386-apple-darwin8.11.1) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: "freebsd-net@freebsd.org" Subject: Re: MFC of TOE support to RELENG_7 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 06:33:07 -0000 At Thu, 17 Apr 2008 21:00:04 -0700, Kip Macy wrote: > > I would like to MFC TOE and RDMA support in the last week of May / > first week of June. My primary objective is that it be present in 7.1. > The re team has not yet decided when the freeze date for 7.1 will be, > so I may end up asking to do it earlier. > > The reason I'm bringing it up roughly 6 weeks in advance is that there > is a certain amount of debate with regards to the ABI guarantees that > FreeBSD network developers are willing to commit to for the remaining > life of the RELENG_7 branch. > > I've made the following two simplifying assumptions: > - struct tcpcb and struct sockbuf are append only - i.e. if members > are added, they will be added to the end > - lock ordering will not change, e.g. the inpcb lock will always be > acquired before the sockbuf lock > > Is there any reason to believe that these simplifying assumptions are > not acceptable? If so, why? > > > I've added the following sets of accessor functions: > - lock acquire/release for socket, sockbuf, inpcb > - higher level functions for tcp shutdown and syncache to abstract > away the tcbinfo lock > - accessor functions for all the accessed fields in socket and > inpcb so that none of the members are referenced as offsets from the > base of the structure I apologize for not yet reviewing all the code. I take that last bit to mean the drivers can reach up into sockets given those functions? I gather this is due to the work necessary to implement RDMA over TCP? > The current state of the code can be seen at: > http://157.22.130.171/svn/branches/projects/iwarp/sys/ Is there a simple way to get just that directory without doing a svn on your whole repo? And if not, what's the easiest way to just grab that stuff? Best, George