On Fri, Oct 14, 2011 at 2:22 PM, Doug Ledford <[email protected]> wrote: > ----- Original Message ----- >> On Wed, Oct 12, 2011 at 9:32 AM, Wendy Cheng >> <[email protected]> wrote: >> > The OFED package itself does include XRC support. The issue here >> > (my >> > guess) is that its build script needs to understand the running >> > system's kernel version to decide what should be pulled (from the >> > source). Linux 3.1 could be too new for OFED build script to make a >> > correct decision. Nevertheless, mix-matching OFED modules/libraries >> > is >> > a *bad* idea. >> >> No. The same userspace build should work with all kernel versions. > > Wendy's referring to something other than what you are thinking. The > same libibverbs user space build should work on all kernels going back > a long way, except when you are talking about OFED their libibverbs > is hard coded to assume XRC support and fail if it isn't present, so > an OFED libibverbs won't really work without also the OFED kernel > module stack. The script Wendy referred to is the script that checks > the running kernel's version in order to determine which backport > patches need applied to the ofa_kernel source tree in order to build > the OFED kernel modules for your running kernel. Without that > ofa_kernel build, the OFED libibverbs will indeed fail to run on > the running kernel. And that script hasn't been updated to support > version 3.x kernels last I checked, so she's right, the script itself > doesn't recognize the running kernel version, so ofa_kernel modules > don't get built, so OFED libibverbs won't work anyway. So, she's > absolutely right, unless you want to start ripping hard coded > assumptions about the existence of XRC support out of things like > OFED's libibverbs, then out of qperf and a number of their other > various packages, then you have to pair the OFED kernel modules and > user space packages, they can not be separated. >
Yes, that (above) is exactly what I was referring to ..... The conversations in this thread remind me of the tire-swing cartoon that has been passing around for years: http://bibiananunes.com/user-requirements-the-tire-swing-cartoon ) -- Wendy -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
