[ofa-general] [PATCH] libibumad: umad_get_pkey() function
Hal Rosenstock
hrosenstock at xsigo.com
Mon Jan 14 09:47:35 PST 2008
On Mon, 2008-01-14 at 09:26 -0800, Sean Hefty wrote:
> >This returns value of pkey_index in network byte order from user_mad
>
> Why would you return an index in network byte order?
Looking at the code, I think the description is wrong in terms of that
and should remove the words "in network byte order" but the code looks
right to me. In fact, it appears with new_user_api in umad_set_pkey that
there was a bug (in the existing code) in that pkey_index was converted
to network order.
-- Hal
> - Sean
>
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
More information about the general
mailing list