From owner-freebsd-net@FreeBSD.ORG Fri Aug 23 21:29:54 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 487FD780; Fri, 23 Aug 2013 21:29:54 +0000 (UTC) (envelope-from vijju.singh@gmail.com) Received: from mail-pd0-x235.google.com (mail-pd0-x235.google.com [IPv6:2607:f8b0:400e:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 158CE2577; Fri, 23 Aug 2013 21:29:54 +0000 (UTC) Received: by mail-pd0-f181.google.com with SMTP id g10so1151277pdj.12 for ; Fri, 23 Aug 2013 14:29:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=fh27wjfpm2UqRMQ4HFFP/MUPsjc38mOVUi0I2Z49U9w=; b=oUjp9lSK3z2Fkb6H/rdP+6K60NKFojHmg1thyZhCvYQXCH8iqbmUItQk4dAd38snyf fnzFLofDDePyhYM2OAcOnHGvyWnMExZcTm1VXhPbvzFVqd2UiFoNF/4rSM6Ur1wigB8Y JwxkcxFzbAlFTfM+dCLWWlE1WEzpMMJ5St1pFz0qJ5FErXNcffqZS9PJ8gym4LIlBX24 rYFi2GvG6Z5KJcG+ZRzxOQTozttuUYtispCtJJos6HXQ5G8CXPNnWE1j9+o1Tn+Fyyio ji5A3Od7Zbt0MzAasvjp+MNpwSwt9o5LSa+FPYzBIkFdlkcRaW/K111eh/JuP3yK206z kOwg== X-Received: by 10.68.131.168 with SMTP id on8mr1768831pbb.97.1377293393608; Fri, 23 Aug 2013 14:29:53 -0700 (PDT) Received: from [192.168.1.64] (108-64-226-69.lightspeed.sntcca.sbcglobal.net. [108.64.226.69]) by mx.google.com with ESMTPSA id ht5sm1818779pbb.29.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 14:29:52 -0700 (PDT) References: <521792CF.2060905@freebsd.org> Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <536C3E8E-5998-4A3B-A019-127F6C00B277@gmail.com> X-Mailer: iPhone Mail (10B329) From: Vijay Singh Subject: Re: Making IB a first class citizen. Date: Fri, 23 Aug 2013 14:29:49 -0700 To: Adrian Chadd Cc: Alfred Perlstein , "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 21:29:54 -0000 We've been running with this change at work for some time and it doesn't see= m to be impacting performance at all. We have a statically routed environmen= t though. Also if we really want to optimize for performance wrt routing the= n IMHO we need to bring back route caching to the tcpcb. Just a thought. Sent from my iPhone On Aug 23, 2013, at 1:52 PM, Adrian Chadd wrote: > .. 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. >=20 >=20 >=20 > -adrian >=20 >=20 >=20 > On 23 August 2013 09:50, Alfred Perlstein wrote: >=20 >> Hello -net. >>=20 >> This email is about making Infiniband a first class citizen of the FreeBS= D >> kernel. >>=20 >> Right now we have one #ifdef OFED in the src tree that makes compiling >> modules a real challenge: >>=20 >> 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 f= or >> 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. >>=20 >> 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.= >>=20 >> If there's no objection I'd like to push this change into head in the nex= t >> day or two. The only difference is +16 bytes to the "struct llentry". >>=20 >> Comments? >>=20 >> ______________________________**_________________ >> 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 >> " > _______________________________________________ > 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"