Home
last modified time | relevance | path

Searched refs:mgm (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
H A Dmthca_mcg.c49 * Caller must hold MCG table semaphore. gid and mgm parameters must
55 * and *mgm holds MGM entry.
58 * previous entry in hash chain and *mgm holds AMGM entry.
61 * entry in hash chain and *mgm holds end of hash chain.
68 struct mthca_mgm *mgm = mgm_mailbox->buf; in find_mgm() local
98 if (!memcmp(mgm->gid, zero_gid, 16)) { in find_mgm()
106 if (!memcmp(mgm->gid, gid, 16)) in find_mgm()
110 *index = be32_to_cpu(mgm->next_gid_index) >> 6; in find_mgm()
124 struct mthca_mgm *mgm; in mthca_multicast_attach() local
134 mgm in mthca_multicast_attach()
218 struct mthca_mgm *mgm; mthca_multicast_detach() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/
H A Dmthca_mcg.c49 * Caller must hold MCG table semaphore. gid and mgm parameters must
55 * and *mgm holds MGM entry.
58 * previous entry in hash chain and *mgm holds AMGM entry.
61 * entry in hash chain and *mgm holds end of hash chain.
68 struct mthca_mgm *mgm = mgm_mailbox->buf; in find_mgm() local
98 if (!memcmp(mgm->gid, zero_gid, 16)) { in find_mgm()
106 if (!memcmp(mgm->gid, gid, 16)) in find_mgm()
110 *index = be32_to_cpu(mgm->next_gid_index) >> 6; in find_mgm()
124 struct mthca_mgm *mgm; in mthca_multicast_attach() local
134 mgm in mthca_multicast_attach()
218 struct mthca_mgm *mgm; mthca_multicast_detach() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Dmcg.c153 struct mlx4_mgm *mgm; in new_steering_entry() local
199 mgm = mailbox->buf; in new_steering_entry()
205 members_count = be32_to_cpu(mgm->members_count) & 0xffffff; in new_steering_entry()
206 prot = be32_to_cpu(mgm->members_count) >> 30; in new_steering_entry()
218 mgm->qp[members_count++] = cpu_to_be32(pqp->qpn & MGM_QPN_MASK); in new_steering_entry()
221 mgm->members_count = cpu_to_be32(members_count | (prot << 30)); in new_steering_entry()
287 * If so, it should not be removed from mgm */
335 struct mlx4_mgm *mgm; in promisc_steering_entry() local
346 mgm = mailbox->buf; in promisc_steering_entry()
350 m_count = be32_to_cpu(mgm in promisc_steering_entry()
423 struct mlx4_mgm *mgm; add_promisc_qp() local
554 struct mlx4_mgm *mgm; remove_promisc_qp() local
700 struct mlx4_mgm *mgm = mgm_mailbox->buf; find_entry() local
1110 struct mlx4_mgm *mgm; mlx4_qp_attach_common() local
1219 struct mlx4_mgm *mgm; mlx4_qp_detach_common() local
[all...]
H 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Dmcg.c153 struct mlx4_mgm *mgm; in new_steering_entry() local
199 mgm = mailbox->buf; in new_steering_entry()
205 members_count = be32_to_cpu(mgm->members_count) & 0xffffff; in new_steering_entry()
206 prot = be32_to_cpu(mgm->members_count) >> 30; in new_steering_entry()
218 mgm->qp[members_count++] = cpu_to_be32(pqp->qpn & MGM_QPN_MASK); in new_steering_entry()
221 mgm->members_count = cpu_to_be32(members_count | (prot << 30)); in new_steering_entry()
287 * If so, it should not be removed from mgm */
335 struct mlx4_mgm *mgm; in promisc_steering_entry() local
346 mgm = mailbox->buf; in promisc_steering_entry()
350 m_count = be32_to_cpu(mgm in promisc_steering_entry()
423 struct mlx4_mgm *mgm; add_promisc_qp() local
554 struct mlx4_mgm *mgm; remove_promisc_qp() local
700 struct mlx4_mgm *mgm = mgm_mailbox->buf; find_entry() local
1110 struct mlx4_mgm *mgm; mlx4_qp_attach_common() local
1219 struct mlx4_mgm *mgm; mlx4_qp_detach_common() local
[all...]
H 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 13 milliseconds