[ofa-general] Re: [PATCH 1/2] libibumad: fix partition support

Sean Hefty sean.hefty at intel.com
Fri Jun 15 15:33:40 PDT 2007


>Also, should the index requested be validated (within range) or is that
>handled with some error coming back from the lower levels when this is
>misspecified ?

umad_set_pkey() can't fully validate the index, since it doesn't know what port
the mad will be used on.  The send will eventually fail if an invalid pkey index
is used, but checking could be added earlier in the send path.

- Sean



More information about the general mailing list