The issue is observed when a query command is issued
for any agent that is not implemented (CCA, BMA etc).

The devices in the OFED will not respond to queries,
thus tools making query to these devices will un-necessarily
take long time waiting for these commands to time out. 
So it would be better for OFED to respond to such a query
for all these devices by setting up a response message. 
For a large fabric consisting of these devices the 
issue would be further aggravated.

Setting up a response with appropriate error message
would be the efficient way to handle such messages
so that devices do not appear un-responsive to such
query commands and respond faster. 

Problem reported-by: Jenny Reick <[email protected]>
Reviewed-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Swapna Thete <[email protected]>

---

Swapna Thete (2):
      IB/mad: Add MAD error codes per IBTA spec
      IB/mad: Return unsupported for MADs as appropriate


 drivers/infiniband/core/mad.c |   10 ++++++++++
 include/rdma/ib_mad.h         |    9 +++++++++
 2 files changed, 19 insertions(+), 0 deletions(-)

-- 

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