Lines Matching refs:sa_mad
133 struct ib_sa_mad sa_mad; member
252 static int send_join_to_wire(struct mcast_group *group, struct ib_sa_mad *sa_mad) in send_join_to_wire() argument
259 memcpy(&mad, sa_mad, sizeof mad); in send_join_to_wire()
597 send_reply_to_slave(req->func, group, &req->sa_mad, status); in handle_leave_req()
611 struct ib_sa_mcmember_data *sa_data = (struct ib_sa_mcmember_data *)req->sa_mad.data; in handle_join_req()
615 status = cmp_rec(&group->rec, sa_data, req->sa_mad.sa_hdr.comp_mask); in handle_join_req()
620 send_reply_to_slave(req->func, group, &req->sa_mad, status); in handle_join_req()
628 if (send_join_to_wire(group, &req->sa_mad)) { in handle_join_req()
678 send_reply_to_slave(req->func, group, &req->sa_mad, status); in mlx4_ib_mcg_work_handler()
712 sa_data = (struct ib_sa_mcmember_data *)req->sa_mad.data; in mlx4_ib_mcg_work_handler()
718 if (req->sa_mad.mad_hdr.method == IB_SA_METHOD_DELETE) in mlx4_ib_mcg_work_handler()
932 int slave, struct ib_sa_mad *sa_mad) in mlx4_ib_mcg_multiplex_handler() argument
935 struct ib_sa_mcmember_data *rec = (struct ib_sa_mcmember_data *)sa_mad->data; in mlx4_ib_mcg_multiplex_handler()
944 switch (sa_mad->mad_hdr.method) { in mlx4_ib_mcg_multiplex_handler()
954 req->sa_mad = *sa_mad; in mlx4_ib_mcg_multiplex_handler()
985 port, slave, sa_mad->mad_hdr.method); in mlx4_ib_mcg_multiplex_handler()
1016 be64_to_cpu(req->sa_mad.mad_hdr.tid)); in sysfs_show_group()
1167 struct ib_sa_mad *mad = &req->sa_mad; in build_leave_mad()