> The method cannot be parsed outside the context of the
> (baseVersion,manamgentClass,classVersion) tuple. A agent that does not
> understand the managementClass must return GetResp.
>
> I feel if the base version is not supported then a GetResp should be
> returned without a memcpy. The base version set to the highest
> supported value and the TID copied over from the reply but everything
> else 0'd. This allows base version discovery which might be important
> some day.

If the BaseVersion isn't supported, then I don't know that the code should 
assume anything about the rest of the MAD format, including the location or 
size of any other fields.  If we at least know that BaseVersion = 1, then we 
should be safe checking for common methods.  If BaseVersion > 1, then maybe 
we're better off just dropping the MAD still.

- Sean
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to