Searched refs:mad_hdr (Results 1 - 11 of 11) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mlx4/
H A Dmad.c154 if ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED ||
155 mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) &&
156 mad->mad_hdr.method == IB_MGMT_METHOD_SET) {
157 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO) {
176 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PKEY_TABLE) {
188 if ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED ||
189 mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) &&
190 mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP &&
191 mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) {
200 int qpn = mad->mad_hdr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c113 if ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED ||
114 mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) &&
115 mad->mad_hdr.method == IB_MGMT_METHOD_SET) {
116 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO) {
136 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PKEY_TABLE) {
148 if ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED ||
149 mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) &&
150 mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP &&
151 mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) {
162 int qpn = mad->mad_hdr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/core/
H A Dmad_rmpp.c115 memcpy(ack, &data->mad_hdr, msg->hdr_len);
117 ack->mad_hdr.method ^= IB_MGMT_METHOD_RESP;
134 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class);
160 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class);
186 rmpp_mad->mad_hdr.method ^= IB_MGMT_METHOD_RESP;
221 rmpp_mad->mad_hdr.method ^= IB_MGMT_METHOD_RESP;
275 struct ib_mad_hdr *mad_hdr; local
303 mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr;
304 rmpp_recv->tid = mad_hdr
321 struct ib_mad_hdr *mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; local
829 struct ib_mad_hdr *mad_hdr = mad_send_wr->send_buf.mad; local
[all...]
H A Dmad.c171 return ((mad->mad_hdr.method & IB_MGMT_METHOD_RESP) ||
172 (mad->mad_hdr.method == IB_MGMT_METHOD_TRAP_REPRESS) ||
173 ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_BM) &&
174 (mad->mad_hdr.attr_mod & IB_BM_ATTR_MOD_RESP)));
749 mad_priv->mad.mad.mad_hdr.tid =
750 ((struct ib_mad *)smp)->mad_hdr.tid;
1565 hi_tid = be64_to_cpu(mad->mad_hdr.tid) >> 32;
1584 if (mad->mad_hdr.class_version >= MAX_MGMT_VERSION)
1586 if (!is_vendor_class(mad->mad_hdr.mgmt_class)) {
1588 mad->mad_hdr
1660 is_data_mad(struct ib_mad_agent_private *mad_agent_priv, struct ib_mad_hdr *mad_hdr) argument
[all...]
H A Dsa_query.c521 mad->mad_hdr.base_version = IB_MGMT_BASE_VERSION;
522 mad->mad_hdr.mgmt_class = IB_MGMT_CLASS_SUBN_ADM;
523 mad->mad_hdr.class_version = IB_SA_CLASS_VERSION;
526 mad->mad_hdr.tid =
669 mad->mad_hdr.method = IB_MGMT_METHOD_GET;
670 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_PATH_REC);
795 mad->mad_hdr.method = method;
796 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_SERVICE_REC);
891 mad->mad_hdr.method = method;
892 mad->mad_hdr
[all...]
H A Dsysfs.c320 in_mad->mad_hdr.base_version = 1;
321 in_mad->mad_hdr.mgmt_class = IB_MGMT_CLASS_PERF_MGMT;
322 in_mad->mad_hdr.class_version = 1;
323 in_mad->mad_hdr.method = IB_MGMT_METHOD_GET;
324 in_mad->mad_hdr.attr_id = cpu_to_be16(0x12); /* PortCounters */
H A Duser_mad.c290 offset = ib_get_mad_data_offset(recv_buf->mad->mad_hdr.mgmt_class);
493 hdr_len = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class);
494 if (!ib_is_mad_class_rmpp(rmpp_mad->mad_hdr.mgmt_class)) {
544 rmpp_mad->mad_hdr.tid = *tid;
H A Dcm.c3147 switch (mad_recv_wc->recv_buf.mad->mad_hdr.attr_id) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ehca/
H A Dehca_reqs.c98 struct ib_mad_hdr *mad_hdr = send_wr->wr.ud.mad_hdr; local
104 if (mad_hdr) {
105 ehca_gen_dbg("send_wr#%x mad_hdr base_version=%x "
109 idx, mad_hdr->base_version,
110 mad_hdr->mgmt_class,
111 mad_hdr->class_version, mad_hdr->method,
112 mad_hdr->status, mad_hdr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/rdma/
H A Dib_mad.h167 struct ib_mad_hdr mad_hdr; member in struct:ib_mad
172 struct ib_mad_hdr mad_hdr; member in struct:ib_rmpp_mad
178 struct ib_mad_hdr mad_hdr; member in struct:ib_sa_mad
185 struct ib_mad_hdr mad_hdr; member in struct:ib_vendor_mad
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/
H A Dipath_mad.c1555 switch (in_mad->mad_hdr.mgmt_class) {

Completed in 204 milliseconds