From owner-freebsd-net@FreeBSD.ORG Fri Aug 23 20:52:41 2013 Return-Path: Delivered-To: net@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 E3D16931; Fri, 23 Aug 2013 20:52:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x22e.google.com (mail-we0-x22e.google.com [IPv6:2a00:1450:400c:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 534042365; Fri, 23 Aug 2013 20:52:41 +0000 (UTC) Received: by mail-we0-f174.google.com with SMTP id q54so1016485wes.33 for ; Fri, 23 Aug 2013 13:52:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=hd3O61N+mM5SuP7p3Cb6OH5oI6f6YtJQc3OevW0rz14=; b=qhSbcqqIDVptW3xQSIboJRPwCWG9BAIUVayGKhivaInfdVXklSppVVEhP2ICBf0TNg 66FXEcQc/f84Hwd4YPK948t+ouhJBbc8WB287qBNVXtsJg7tz3hlwyJPJdV2Ma23nisy 5KOEQND8pLGTadvpz7p7py94rKyZhG19ZF/36jRvgtJ3LyRP9mEQprqUslNVe4NsGGXH Jter0K8AxkdwlpmKxTpbWFQITxtlthf89WJd+Cy87h2W75ZQJxpuGRumb6Rcf0AfA9w8 h1UFN4sXmu2m3zVrX9aqov0KW+EUzk0Npuw3NEav/zwYt2E/oM0U9WZe3J5MaciXinS9 buTg== MIME-Version: 1.0 X-Received: by 10.194.94.37 with SMTP id cz5mr44892wjb.55.1377291159585; Fri, 23 Aug 2013 13:52:39 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.116.136 with HTTP; Fri, 23 Aug 2013 13:52:39 -0700 (PDT) In-Reply-To: <521792CF.2060905@freebsd.org> References: <521792CF.2060905@freebsd.org> Date: Fri, 23 Aug 2013 13:52:39 -0700 X-Google-Sender-Auth: 7ByxdSYanv4zs5C-eyjrF1Y0Nx4 Message-ID: Subject: Re: Making IB a first class citizen. From: Adrian Chadd To: Alfred Perlstein Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "net@freebsd.org" 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 20:52:42 -0000 .. should just check to see what impact it has on performance in the general case. that may change the cache behaviour of the ARP / routing table code. -adrian On 23 August 2013 09:50, Alfred Perlstein wrote: > 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? > > ______________________________**_________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@**freebsd.org > " >