Home
last modified time | relevance | path

Searched refs:sa_mad (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/mlx4/
Dmcg.c133 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()
[all …]
Dmad.c418 struct ib_sa_mad *sa_mad) in mlx4_ib_demux_sa_handler() argument
423 switch (be16_to_cpu(sa_mad->mad_hdr.attr_id)) { in mlx4_ib_demux_sa_handler()
425 ret = mlx4_ib_mcg_demux_handler(ibdev, port, slave, sa_mad); in mlx4_ib_demux_sa_handler()
1341 int slave, struct ib_sa_mad *sa_mad) in mlx4_ib_multiplex_sa_handler() argument
1346 switch (be16_to_cpu(sa_mad->mad_hdr.attr_id)) { in mlx4_ib_multiplex_sa_handler()
1348 ret = mlx4_ib_mcg_multiplex_handler(ibdev, port, slave, sa_mad); in mlx4_ib_multiplex_sa_handler()
Dmlx4_ib.h848 struct ib_sa_mad *sa_mad);