/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
H A D | mcg.c | 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 in mlx4_ib_mcg_work_handler() 931 mlx4_ib_mcg_multiplex_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) mlx4_ib_mcg_multiplex_handler() argument [all...] |
H A D | mad.c | 417 struct ib_sa_mad *sa_mad) in mlx4_ib_demux_sa_handler() 422 switch (be16_to_cpu(sa_mad->mad_hdr.attr_id)) { in mlx4_ib_demux_sa_handler() 424 ret = mlx4_ib_mcg_demux_handler(ibdev, port, slave, sa_mad); in mlx4_ib_demux_sa_handler() 1339 int slave, struct ib_sa_mad *sa_mad) in mlx4_ib_multiplex_sa_handler() 1344 switch (be16_to_cpu(sa_mad->mad_hdr.attr_id)) { in mlx4_ib_multiplex_sa_handler() 1346 ret = mlx4_ib_mcg_multiplex_handler(ibdev, port, slave, sa_mad); in mlx4_ib_multiplex_sa_handler() 416 mlx4_ib_demux_sa_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) mlx4_ib_demux_sa_handler() argument 1338 mlx4_ib_multiplex_sa_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) mlx4_ib_multiplex_sa_handler() argument
|
H A D | mlx4_ib.h | 847 struct ib_sa_mad *sa_mad);
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/ |
H A D | mcg.c | 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 in mlx4_ib_mcg_work_handler() 931 mlx4_ib_mcg_multiplex_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) mlx4_ib_mcg_multiplex_handler() argument [all...] |
H A D | mad.c | 418 struct ib_sa_mad *sa_mad) in mlx4_ib_demux_sa_handler() 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() 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() 417 mlx4_ib_demux_sa_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) mlx4_ib_demux_sa_handler() argument 1340 mlx4_ib_multiplex_sa_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) mlx4_ib_multiplex_sa_handler() argument
|
H A D | mlx4_ib.h | 848 struct ib_sa_mad *sa_mad);
|