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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/mlx4/
H A Dmad.c156 if ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED ||
157 mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) &&
158 mad->mad_hdr.method == IB_MGMT_METHOD_SET) {
159 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO) {
182 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PKEY_TABLE) {
194 if ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED ||
195 mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) &&
196 mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP &&
197 mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) {
206 int qpn = mad->mad_hdr
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c112 if ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED ||
113 mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) &&
114 mad->mad_hdr.method == IB_MGMT_METHOD_SET) {
115 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO) {
139 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PKEY_TABLE) {
151 if ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED ||
152 mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) &&
153 mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP &&
154 mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) {
165 int qpn = mad->mad_hdr
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/ehca/
H A Dehca_sqp.c123 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 Dehca_reqs.c119 struct ib_mad_hdr *mad_hdr = send_wr->wr.ud.mad_hdr; local
125 if (mad_hdr) {
126 ehca_gen_dbg("send_wr#%x mad_hdr base_version=%x "
130 idx, mad_hdr->base_version,
131 mad_hdr->mgmt_class,
132 mad_hdr->class_version, mad_hdr->method,
133 mad_hdr->status, mad_hdr
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/core/
H A Dmad_rmpp.c120 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 Dsa_query.c562 mad->mad_hdr.base_version = IB_MGMT_BASE_VERSION;
563 mad->mad_hdr.mgmt_class = IB_MGMT_CLASS_SUBN_ADM;
564 mad->mad_hdr.class_version = IB_SA_CLASS_VERSION;
567 mad->mad_hdr.tid =
703 mad->mad_hdr.method = IB_MGMT_METHOD_GET;
704 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_PATH_REC);
825 mad->mad_hdr.method = method;
826 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_SERVICE_REC);
917 mad->mad_hdr.method = method;
918 mad->mad_hdr
[all...]
H A Dmad.c180 return ((mad->mad_hdr.method & IB_MGMT_METHOD_RESP) ||
181 (mad->mad_hdr.method == IB_MGMT_METHOD_TRAP_REPRESS) ||
182 ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_BM) &&
183 (mad->mad_hdr.attr_mod & IB_BM_ATTR_MOD_RESP)));
1566 hi_tid = be64_to_cpu(mad->mad_hdr.tid) >> 32;
1585 if (mad->mad_hdr.class_version >= MAX_MGMT_VERSION)
1587 if (!is_vendor_class(mad->mad_hdr.mgmt_class)) {
1589 mad->mad_hdr.class_version].class;
1593 mad->mad_hdr.mgmt_class)];
1595 mad_agent = method->agent[mad->mad_hdr
1661 is_data_mad(struct ib_mad_agent_private *mad_agent_priv, struct ib_mad_hdr *mad_hdr) argument
[all...]
H A Dsysfs.c303 in_mad->mad_hdr.base_version = 1;
304 in_mad->mad_hdr.mgmt_class = IB_MGMT_CLASS_PERF_MGMT;
305 in_mad->mad_hdr.class_version = 1;
306 in_mad->mad_hdr.method = IB_MGMT_METHOD_GET;
307 in_mad->mad_hdr.attr_id = cpu_to_be16(0x12); /* PortCounters */
H A Duser_mad.c289 offset = ib_get_mad_data_offset(recv_buf->mad->mad_hdr.mgmt_class);
503 hdr_len = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class);
504 if (!ib_is_mad_class_rmpp(rmpp_mad->mad_hdr.mgmt_class)) {
553 rmpp_mad->mad_hdr.tid = *tid;
H A Dcm.c3353 switch (mad_recv_wc->recv_buf.mad->mad_hdr.attr_id) {
3395 attr_id = be16_to_cpu(mad_recv_wc->recv_buf.mad->mad_hdr.attr_id);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/rdma/
H A Dib_mad.h170 struct ib_mad_hdr mad_hdr; member in struct:ib_mad
175 struct ib_mad_hdr mad_hdr; member in struct:ib_rmpp_mad
181 struct ib_mad_hdr mad_hdr; member in struct:ib_sa_mad
188 struct ib_mad_hdr mad_hdr; member in struct:ib_vendor_mad
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/qib/
H A Dqib_mad.c1826 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO &&
2058 switch (in_mad->mad_hdr.mgmt_class) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/ipath/
H A Dipath_mad.c1617 switch (in_mad->mad_hdr.mgmt_class) {

Completed in 283 milliseconds