[ofa-general] SubnAdmGet (6777)

Hal Rosenstock hal.rosenstock at gmail.com
Mon Jun 1 11:29:27 PDT 2009


On Mon, Jun 1, 2009 at 1:57 PM, Sean Hefty <sean.hefty at intel.com> wrote:
>>This may be the path record query triggered by ipoib (ib_sa_path_rec_get).
>>It uses METHOD_GET and if there is more than one path record it will fail.
>>using METHOD_GET_TABLE should solve it (the fix is in ib_sa module.)
>
> I believe this is a bug in the SA, not ipoib or ib_sa.  The SA should simply
> select a single PR and return it.

No, it is correct as is (returning an error of too many records for
this case). See p.944:

15.4.6 SUBNADMGET() / SUBNADMGETRESP(): GET AN ATTRIBUTE

C15-0.1.30: Ine response to a SubnAdmGet(), if a single attribute would
be returned based on the access rules specified in 15.4.1 Restrictions on
Access on page 938 and the matching of components specified by the
ComponentMask, then SubAdmGetResp() shall return that attribute with
a zero status value.

C15-0.1.31: If SubnAdmGet() fails to satisfy C15-0.1.30:, SubnAdmGet-
Resp() shall return with the status field providing the reason for failure
(see Table 190 SA MAD Class-Specific Status Encodings on page 900).

-- 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