FW: [openib-general] drivers.diff patch

Suresh Shelvapille suri at baymicrosystems.com
Tue Sep 27 10:18:36 PDT 2005


Just for the benefit of the community, I am forwarding a mail in which Hal
already answered my question (I forgot to hit reply all...).

-----Original Message-----
From: Hal Rosenstock [mailto:halr at voltaire.com] 
Sent: Tuesday, September 27, 2005 12:27 PM
To: Suresh Shelvapille
Subject: RE: [openib-general] drivers.diff patch

Hi Suresh,

On Tue, 2005-09-27 at 12:14, Suresh Shelvapille wrote:
> Thanks for your help. It is really painful to get this going. If I applied
> any of the patches from branches/backport-to-2.6.9 the kernel would not
> built. 
> So I managed to look at the changes needed for drivers/kconfig and
> drivers/Makefile in the kernel-patch diff file and applied it, so that the
> menu showed the infiniband. And then applied a few patches from the
> branches/backport/2.6.9. Now the Kernel builds with the
CONFIG_INFINIBAND=y
> and CONFIG_INFININBAND_USER_MAD=y. 
> 
> If I have anything else set in the CONFIG the build fails. As I said
before
> I am afraid to take any of the patches from the branches/backport-to-2.6.9
> as even the core modules won't build. 

Not sure what is broke.

> Question is:
> Our system (at least in the initial release) will act like a bear bones ib
> switch,

That configuration (run as a switch; most everyone has run as HCA) is
untested so this may need a tweak or two. What I'm referring to is not
build related though.

>  and I am hoping that only MAD packet support would be needed within
> the kernel. Are the above two CONFIG_INFINIBAND and
> CONFIG_INFININBAND_USER_MAD sufficient?

If you want to run OpenSM and/or the management diagnostics, yes.
Otherwise, you won't need user MAD configured. 

You will need some switch driver which I presume you would be adding
locally.

-- Hal




More information about the general mailing list