From owner-freebsd-net@FreeBSD.ORG Fri Aug 23 16:50:30 2013 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6A04AE64 for ; Fri, 23 Aug 2013 16:50:30 +0000 (UTC) (envelope-from alfred@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 595D723BB for ; Fri, 23 Aug 2013 16:50:30 +0000 (UTC) Received: from Alfreds-MacBook-Pro-9.local (c-67-180-208-218.hsd1.ca.comcast.net [67.180.208.218]) by elvis.mu.org (Postfix) with ESMTPSA id 9B1891A3DF5 for ; Fri, 23 Aug 2013 09:50:23 -0700 (PDT) Message-ID: <521792CF.2060905@freebsd.org> Date: Fri, 23 Aug 2013 09:50:23 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: net@freebsd.org Subject: Making IB a first class citizen. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 23 Aug 2013 16:50:30 -0000 Hello -net. This email is about making Infiniband a first class citizen of the FreeBSD kernel. Right now we have one #ifdef OFED in the src tree that makes compiling modules a real challenge: In sys/net/if_llatbl.h the "struct llentry" size changes based on if OFED is compiled in or not, only by 16 bytes because Infiniband uses 20bytes for MAC. I am wondering if it would be OK to just unifdef this part to make inifiband a first class citizen of the kernel. Otherwise maybe we can reverse the ifdef so that it's WITHOUT_OFED and by default have it on. I understand that we can not do this for FreeBSD 9.x due to breaking network ABI, however I think we still have time to do so in FreeBSD 10.x. If there's no objection I'd like to push this change into head in the next day or two. The only difference is +16 bytes to the "struct llentry". Comments?