Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/mthca/
A Dmthca_mcg.c106 if (!memcmp(mgm->gid, gid, 16)) in find_mgm()
124 struct mthca_mgm *mgm; in mthca_multicast_attach() local
134 mgm = mailbox->buf; in mthca_multicast_attach()
144 memcpy(mgm->gid, gid->raw, 16); in mthca_multicast_attach()
160 memset(mgm, 0, sizeof *mgm); in mthca_multicast_attach()
161 memcpy(mgm->gid, gid->raw, 16); in mthca_multicast_attach()
218 struct mthca_mgm *mgm; in mthca_multicast_detach() local
227 mgm = mailbox->buf; in mthca_multicast_detach()
254 mgm->qp[loc] = mgm->qp[i - 1]; in mthca_multicast_detach()
255 mgm->qp[i - 1] = 0; in mthca_multicast_detach()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
A Dmcg.c153 struct mlx4_mgm *mgm; in new_steering_entry() local
199 mgm = mailbox->buf; in new_steering_entry()
346 mgm = mailbox->buf; in promisc_steering_entry()
458 mgm = mailbox->buf; in add_promisc_qp()
517 memset(mgm, 0, sizeof(*mgm)); in add_promisc_qp()
588 mgm = mailbox->buf; in remove_promisc_qp()
652 mgm->qp[loc] = mgm->qp[members_count - 1]; in remove_promisc_qp()
1122 mgm = mailbox->buf; in mlx4_qp_attach_common()
1147 memset(mgm, 0, sizeof(*mgm)); in mlx4_qp_attach_common()
1230 mgm = mailbox->buf; in mlx4_qp_detach_common()
[all …]
A Dfw.c2709 struct mlx4_mgm *mgm; in mlx4_opreq_action() local
2755 mgm = (struct mlx4_mgm *)((u8 *)(outbox) + in mlx4_opreq_action()
2757 num_qps = be32_to_cpu(mgm->members_count) & in mlx4_opreq_action()
2759 rem_mcg = ((u8 *)(&mgm->members_count))[0] & 1; in mlx4_opreq_action()
2760 prot = ((u8 *)(&mgm->members_count))[0] >> 6; in mlx4_opreq_action()
2763 qp.qpn = be32_to_cpu(mgm->qp[i]); in mlx4_opreq_action()
2766 mgm->gid, in mlx4_opreq_action()
2770 mgm->gid, in mlx4_opreq_action()
2771 mgm->gid[5] in mlx4_opreq_action()

Completed in 16 milliseconds