Home
last modified time | relevance | path

Searched refs:in_mad (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c56 struct ib_smp *in_mad; in mthca_query_device() local
64 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_device()
66 if (!in_mad || !out_mad) in mthca_query_device()
73 ib_init_query_mad(in_mad); in mthca_query_device()
74 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mthca_query_device()
77 1, NULL, NULL, in_mad, out_mad); in mthca_query_device()
116 kfree(in_mad); in mthca_query_device()
124 struct ib_smp *in_mad; in mthca_query_port() local
128 in_mad in mthca_query_port()
220 struct ib_smp *in_mad; mthca_query_pkey() local
249 struct ib_smp *in_mad; mthca_query_gid() local
997 struct ib_smp *in_mad; mthca_init_node_data() local
[all...]
H A Dmthca_cmd.h316 const void *in_mad, void *response_mad);
H A Dmthca_cmd.c1864 const void *in_mad, void *response_mad) in mthca_MAD_IFC() argument
1892 memcpy(inbox, in_mad, 256); in mthca_MAD_IFC()
/linux/drivers/infiniband/hw/mlx4/
H A Dmain.c440 struct ib_smp *in_mad; in mlx4_ib_query_device() local
465 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mlx4_ib_query_device()
468 if (!in_mad || !out_mad) in mlx4_ib_query_device()
471 ib_init_query_mad(in_mad); in mlx4_ib_query_device()
472 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mlx4_ib_query_device()
475 1, NULL, NULL, in_mad, out_mad); in mlx4_ib_query_device()
640 kfree(in_mad); in mlx4_ib_query_device()
658 struct ib_smp *in_mad; in ib_link_query_port() local
664 in_mad in ib_link_query_port()
836 struct ib_smp *in_mad; __mlx4_ib_query_gid() local
901 struct ib_smp *in_mad; mlx4_ib_query_sl2vl() local
961 struct ib_smp *in_mad; __mlx4_ib_query_pkey() local
1977 struct ib_smp *in_mad; init_node_data() local
[all...]
H A Dmad.c111 const void *in_mad, void *response_mad) in mlx4_MAD_IFC() argument
130 memcpy(inbox, in_mad, 256); in mlx4_MAD_IFC()
824 const struct ib_mad *in_mad, struct ib_mad *out_mad) in ib_process_mad() argument
832 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP && slid == 0) { in ib_process_mad()
833 forward_trap(to_mdev(ibdev), port_num, in_mad); in ib_process_mad()
837 if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in ib_process_mad()
838 in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) { in ib_process_mad()
839 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && in ib_process_mad()
840 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET && in ib_process_mad()
841 in_mad in ib_process_mad()
939 iboe_process_mad(struct ib_device * ibdev,int mad_flags,u32 port_num,const struct ib_wc * in_wc,const struct ib_grh * in_grh,const struct ib_mad * in_mad,struct ib_mad * out_mad) iboe_process_mad() argument
1129 struct ib_smp *in_mad = NULL; handle_slaves_guid_change() local
[all...]
H A Dmlx4_ib.h817 const void *in_mad, void *response_mad);
/linux/drivers/infiniband/core/
H A Dsysfs.c549 struct ib_mad *in_mad; in get_perf_mad() local
558 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in get_perf_mad()
560 if (!in_mad || !out_mad) { in get_perf_mad()
565 in_mad->mad_hdr.base_version = 1; in get_perf_mad()
566 in_mad->mad_hdr.mgmt_class = IB_MGMT_CLASS_PERF_MGMT; in get_perf_mad()
567 in_mad->mad_hdr.class_version = 1; in get_perf_mad()
568 in_mad->mad_hdr.method = IB_MGMT_METHOD_GET; in get_perf_mad()
569 in_mad->mad_hdr.attr_id = attr; in get_perf_mad()
572 in_mad in get_perf_mad()
[all...]
/linux/drivers/infiniband/hw/hfi1/
H A Dmad.c4415 * @in_mad: MAD packet with header and data
4450 const struct opa_mad *in_mad, in hfi1_pkey_validation_pma() argument
4456 if (!is_local_mad(ibp, in_mad, in_wc) && in hfi1_pkey_validation_pma()
4470 u32 port, const struct opa_mad *in_mad, in process_subn_opa() argument
4481 *out_mad = *in_mad; in process_subn_opa()
4575 u32 port, const struct ib_mad *in_mad, in process_subn() argument
4582 *out_mad = *in_mad; in process_subn()
4602 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in process_subn()
4634 const struct ib_mad *in_mad, in process_perf() argument
4642 *out_mad = *in_mad; in process_perf()
4696 process_perf_opa(struct ib_device * ibdev,u32 port,const struct opa_mad * in_mad,struct opa_mad * out_mad,u32 * resp_len) process_perf_opa() argument
4779 hfi1_process_opa_mad(struct ib_device * ibdev,int mad_flags,u32 port,const struct ib_wc * in_wc,const struct ib_grh * in_grh,const struct opa_mad * in_mad,struct opa_mad * out_mad,size_t * out_mad_size,u16 * out_mad_pkey_index) hfi1_process_opa_mad() argument
4833 hfi1_process_ib_mad(struct ib_device * ibdev,int mad_flags,u32 port,const struct ib_wc * in_wc,const struct ib_grh * in_grh,const struct ib_mad * in_mad,struct ib_mad * out_mad) hfi1_process_ib_mad() argument
4877 hfi1_process_mad(struct ib_device * ibdev,int mad_flags,u32 port,const struct ib_wc * in_wc,const struct ib_grh * in_grh,const struct ib_mad * in_mad,struct ib_mad * out_mad,size_t * out_mad_size,u16 * out_mad_pkey_index) hfi1_process_mad() argument
[all...]
H A Dverbs.h291 const struct ib_mad *in_mad, struct ib_mad *out_mad,
/linux/include/rdma/
H A Dib_verbs.h2393 const struct ib_mad *in_mad, struct ib_mad *out_mad,