Enable OFED/Infiniband support in 11.0-RELEASE by default?
jroberson at jroberson.net
Fri Aug 7 23:37:54 UTC 2015
On Fri, 7 Aug 2015, Mark Johnston wrote:
> On Fri, Aug 07, 2015 at 11:32:00AM -0700, Garrett Cooper wrote:
>> 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.
I didn't do it originally because some tiny fraction of users will need it
and it's not an 'out of the box' kind of feature. I do like developers
not breaking it. Tinderbox building LINT seems most sane to me but I
wouldn't weigh in strongly on this.
More information about the freebsd-infiniband