@@ -1138,8 +1138,10 @@ Resp:
resp_expected ? p_bind->timeout : 0,
p_bind->max_retries)) < 0) {
OSM_LOG(p_vend->p_log, OSM_LOG_ERROR, "ERR 5430: "
- "Send p_madw = %p of size %d TID 0x%" PRIx64 " failed %d (%m)\n",
- p_madw, sent_mad_size, tid, ret);
+ "Send p_madw = %p of size %d, Class 0x%x, Method 0x%X, "
+ "Attr 0x%X, TID 0x%" PRIx64 " failed %d (%m)\n",
+ p_madw, sent_mad_size, p_mad->mgmt_class,
+ p_mad->method, cl_ntoh16(p_mad->attr_id), tid, ret);
if (resp_expected) {
get_madw(p_vend, &p_mad->trans_id,
p_mad->mgmt_class); /* remove from aging table */
Add in class, method and attribute so have better idea on failure without increasing log verbosity Signed-off-by: Hal Rosenstock <hal@mellanox.com> --- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html