Searched defs:mad_hdr (Results 1 - 5 of 5) sorted by relevance
/drivers/infiniband/hw/ehca/ |
H A D | ehca_sqp.c | 123 struct ib_mad_hdr mad_hdr; member in struct:ib_perf 156 ehca_dbg(ibdev, "method=%x", in_perf->mad_hdr.method); 160 if (in_perf->mad_hdr.class_version != 1) { 162 in_perf->mad_hdr.class_version); 163 out_perf->mad_hdr.status = IB_MAD_STATUS_UNSUP_VERSION; 167 switch (in_perf->mad_hdr.method) { 171 out_perf->mad_hdr.attr_id = IB_PMA_CLASS_PORT_INFO; 172 out_perf->mad_hdr.status = IB_MAD_STATUS_REDIRECT; 209 out_perf->mad_hdr.status = IB_MAD_STATUS_UNSUP_METHOD; 214 out_perf->mad_hdr [all...] |
H A D | ehca_reqs.c | 118 struct ib_mad_hdr *mad_hdr = send_wr->wr.ud.mad_hdr; local 124 if (mad_hdr) { 125 ehca_gen_dbg("send_wr#%x mad_hdr base_version=%x " 129 idx, mad_hdr->base_version, 130 mad_hdr->mgmt_class, 131 mad_hdr->class_version, mad_hdr->method, 132 mad_hdr->status, mad_hdr [all...] |
/drivers/infiniband/ulp/srpt/ |
H A D | ib_dm_mad.h | 79 struct ib_mad_hdr mad_hdr; member in struct:ib_dm_mad
|
/drivers/infiniband/core/ |
H A D | mad_rmpp.c | 120 memcpy(ack, &data->mad_hdr, msg->hdr_len); 122 ack->mad_hdr.method ^= IB_MGMT_METHOD_RESP; 139 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); 165 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); 193 rmpp_mad->mad_hdr.method ^= IB_MGMT_METHOD_RESP; 226 rmpp_mad->mad_hdr.method ^= IB_MGMT_METHOD_RESP; 284 struct ib_mad_hdr *mad_hdr; local 312 mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; 313 rmpp_recv->tid = mad_hdr 330 struct ib_mad_hdr *mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; local 838 struct ib_mad_hdr *mad_hdr = mad_send_wr->send_buf.mad; local [all...] |
H A D | mad.c | 184 return ((mad->mad_hdr.method & IB_MGMT_METHOD_RESP) || 185 (mad->mad_hdr.method == IB_MGMT_METHOD_TRAP_REPRESS) || 186 ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_BM) && 187 (mad->mad_hdr.attr_mod & IB_BM_ATTR_MOD_RESP))); 1639 hi_tid = be64_to_cpu(mad->mad_hdr.tid) >> 32; 1658 if (mad->mad_hdr.class_version >= MAX_MGMT_VERSION) 1660 if (!is_vendor_class(mad->mad_hdr.mgmt_class)) { 1662 mad->mad_hdr.class_version].class; 1665 if (convert_mgmt_class(mad->mad_hdr.mgmt_class) >= 1669 mad->mad_hdr 1737 is_data_mad(struct ib_mad_agent_private *mad_agent_priv, struct ib_mad_hdr *mad_hdr) argument [all...] |
Completed in 613 milliseconds