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

/freebsd-10.2-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c198 struct ib_mad *in_mad,
208 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP &&
210 forward_trap(to_mdev(ibdev), port_num, in_mad); local
220 if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED ||
221 in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) {
222 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET &&
223 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET &&
224 in_mad->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS)
231 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO ||
232 ((in_mad
193 mthca_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, struct ib_wc *in_wc, struct ib_grh *in_grh, struct ib_mad *in_mad, struct ib_mad *out_mad) argument
[all...]
H A Dmthca_provider.c61 struct ib_smp *in_mad = NULL; local
68 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL);
70 if (!in_mad || !out_mad)
77 init_query_mad(in_mad);
78 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO;
81 1, NULL, NULL, in_mad, out_mad,
133 kfree(in_mad);
141 struct ib_smp *in_mad = NULL; local
146 in_mad
248 struct ib_smp *in_mad = NULL; local
283 struct ib_smp *in_mad = NULL; local
1253 struct ib_smp *in_mad = NULL; local
[all...]
H A Dmthca_cmd.h321 void *in_mad, void *response_mad, u8 *status);
H A Dmthca_dev.h581 struct ib_mad *in_mad,
H A Dmthca_cmd.c1824 void *in_mad, void *response_mad, u8 *status)
1852 memcpy(inbox, in_mad, 256);
1822 mthca_MAD_IFC(struct mthca_dev *dev, int ignore_mkey, int ignore_bkey, int port, struct ib_wc *in_wc, struct ib_grh *in_grh, void *in_mad, void *response_mad, u8 *status) argument
/freebsd-10.2-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dmain.c128 struct ib_smp *in_mad = NULL; local
132 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL);
134 if (!in_mad || !out_mad)
137 init_query_mad(in_mad);
138 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO;
141 1, NULL, NULL, in_mad, out_mad);
216 kfree(in_mad);
234 struct ib_smp *in_mad = NULL; local
240 in_mad
405 struct ib_smp *in_mad = NULL; local
480 struct ib_smp *in_mad = NULL; local
1257 struct ib_smp *in_mad = NULL; local
[all...]
H A Dmad.c107 void *in_mad, void *response_mad)
126 memcpy(inbox, in_mad, 256);
682 struct ib_mad *in_mad, struct ib_mad *out_mad)
695 in_mad->mad_hdr.mgmt_class, in_mad->mad_hdr.method,
696 be16_to_cpu(in_mad->mad_hdr.attr_id));
710 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP && slid == 0) {
711 forward_trap(to_mdev(ibdev), port_num, in_mad); local
715 if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED ||
716 in_mad
105 mlx4_MAD_IFC(struct mlx4_ib_dev *dev, int mad_ifc_flags, int port, struct ib_wc *in_wc, struct ib_grh *in_grh, void *in_mad, void *response_mad) argument
680 ib_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, struct ib_wc *in_wc, struct ib_grh *in_grh, struct ib_mad *in_mad, struct ib_mad *out_mad) argument
958 iboe_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, struct ib_wc *in_wc, struct ib_grh *in_grh, struct ib_mad *in_mad, struct ib_mad *out_mad) argument
999 mlx4_ib_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, struct ib_wc *in_wc, struct ib_grh *in_grh, struct ib_mad *in_mad, struct ib_mad *out_mad) argument
1112 struct ib_smp *in_mad = NULL; local
[all...]
H A Dmlx4_ib.h697 void *in_mad, void *response_mad);
700 struct ib_mad *in_mad, struct ib_mad *out_mad);
/freebsd-10.2-release/sys/ofed/drivers/infiniband/core/
H A Dsysfs.c304 struct ib_mad *in_mad = NULL; local
311 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL);
313 if (!in_mad || !out_mad) {
318 in_mad->mad_hdr.base_version = 1;
319 in_mad->mad_hdr.mgmt_class = IB_MGMT_CLASS_PERF_MGMT;
320 in_mad->mad_hdr.class_version = 1;
321 in_mad->mad_hdr.method = IB_MGMT_METHOD_GET;
323 in_mad->mad_hdr.attr_id = IB_PMA_PORT_COUNTERS_EXT;
325 in_mad
[all...]
/freebsd-10.2-release/sys/dev/cxgbe/iw_cxgbe/
H A Dprovider.c80 struct ib_grh *in_grh, struct ib_mad *in_mad,
78 c4iw_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, struct ib_wc *in_wc, struct ib_grh *in_grh, struct ib_mad *in_mad, struct ib_mad *out_mad) argument
/freebsd-10.2-release/sys/ofed/drivers/net/mlx4/
H A Dcmd.c850 struct ib_smp *in_mad = (struct ib_smp *)(inbox->buf); local
858 in_mad->attr_mod = cpu_to_be32(index / 32);
/freebsd-10.2-release/sys/ofed/include/rdma/
H A Dib_verbs.h1328 struct ib_mad *in_mad,
/freebsd-10.2-release/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_provider.c121 struct ib_mad *in_mad, struct ib_mad *out_mad)
116 iwch_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, struct ib_wc *in_wc, struct ib_grh *in_grh, struct ib_mad *in_mad, struct ib_mad *out_mad) argument

Completed in 221 milliseconds