[openib-general] [PATCH] Fix capability mask enums in ib_verbs.h

Sean Hefty mshefty at ichips.intel.com
Fri Jan 14 14:35:33 PST 2005


Roland Dreier wrote:
> In any case here's a patch to fix it up (and add the 1.2 spec
> capabilities while I'm at it).  I think this is right, and it matches
> the values I see in the real world in my tests.  Can someone else
> confirm this is correct before I commit?

You're correct in that the values are off.

> +	IB_PORT_SM				= 1 <<  1,

I'm wondering if we should define IB_PORT_SM in host or network order. 
  Your patch looks fine to apply though.

- Sean



More information about the general mailing list