From owner-freebsd-infiniband@freebsd.org Fri Aug 7 19:30:20 2015 Return-Path: Delivered-To: freebsd-infiniband@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47F979B6D5F for ; Fri, 7 Aug 2015 19:30:20 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qg0-x235.google.com (mail-qg0-x235.google.com [IPv6:2607:f8b0:400d:c04::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0328C1876; Fri, 7 Aug 2015 19:30:20 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by qged69 with SMTP id d69so81661629qge.0; Fri, 07 Aug 2015 12:30:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=vi33kcY1rMureiq2dIcnAsO2Px43hwKMA4L+eJY8JEs=; b=cCJNOyaBaANspj3VNsx94fPbEe4ptyaLruY4Ii3mMIA1esDs+awSbnA1awHts9GPj3 vSqTfWc0Ilt/xr9F1Qt+6tlunBzAVavjiWQMYu4Xszm3HJj8jPfPEasniGznEn3xy328 gbDJZ3fMBXTUoVmJwSeitWiu34E5b1K1wLKzvZorBpuHqoqIoRgORZLerzYphpAwvZON XH9rer/JriQkzvh+Iye8hX/o3CVK88830N3E+Yb2v9rlc6MSVowV8Zg2NgTBH9wV12NG 24vio1JVrT7gmJ2GIfQbg/HCxVxnEYpdEIjFnpZCbJDXjutW0cYKxJyBuhrON2HQWiwg uDDg== X-Received: by 10.140.94.194 with SMTP id g60mr16016985qge.72.1438975819055; Fri, 07 Aug 2015 12:30:19 -0700 (PDT) Received: from muskytusk ([104.236.250.12]) by smtp.gmail.com with ESMTPSA id a8sm5469539qka.0.2015.08.07.12.30.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Aug 2015 12:30:18 -0700 (PDT) Sender: Mark Johnston Date: Fri, 7 Aug 2015 19:29:30 +0000 From: Mark Johnston To: Garrett Cooper Cc: freebsd-infiniband@FreeBSD.org, Benno Rice , Hans Petter Selasky , Jeff Roberson Subject: Re: Enable OFED/Infiniband support in 11.0-RELEASE by default? Message-ID: <20150807192930.GA88925@muskytusk> References: <30977F3A-59D1-4CA4-BCF6-9062A04CFF44@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <30977F3A-59D1-4CA4-BCF6-9062A04CFF44@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-infiniband@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Infiniband on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2015 19:30:20 -0000 On Fri, Aug 07, 2015 at 11:32:00AM -0700, Garrett Cooper wrote: > Hi, > One of the complaints from engineers at Isilon I’ve received in the past is that Infiniband/OFED stack support isn’t enabled by default in GENERIC. I would like to enable it by default in GENERIC to improve test coverage by a general audience and ensure that bugs introduced elsewhere (build bugs, network interface, kernel interface bugs) aren’t ignored by accident when running make tinderbox builds as it’s not built by default. make tinderbox will build LINT kernels, which for amd64 will include the OFED stack. As Jason pointed out, all of the IB stack (including the Linux compat shims) can already be built as a KLD. Why not just make WITH_OFED the default on amd64 instead? That way the KLDs and userland tools will be built by default, and the size of the kernel needn't grow. > I’m considering just doing this for amd64, but I could be convinced to do i386 and other architectures; I can’t guarantee that it will be usable on arm*, mips, powerpc, sparc64, etc though.