Re: [PATCH 2/2] IB/mad: Return unsupported for MADs as appropriate

From
Roland Dreier <hidden>
Date
2012-01-18 16:52:33
On Wed, Jan 18, 2012 at 2:14 AM, Swapna Thete [off-list ref] wrote:
I did explore that option, however,
Bad Version essentially gives message as

“MAD returned with Bad Status: Unsupported Class or Version”

which seems better and appropriate than IB_MGMT_MAD_STATUS_UNSUPPORTED_METHOD_ATTRIB

“MAD returned with Bad Status: Unsupported Method/Attribute Combination”.
Surely we should be picking the response status based on the IB spec
rather than on the error message that some arbitrary tool prints?

 - R.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Thread (1 message) 1 message, 1 author, last reply 2012-01-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help