Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Dmcg.c128 struct mlx4_promisc_qp *pqp; in get_promisc_qp() local
135 list_for_each_entry(pqp, &s_steer->promisc_qps[steer], list) { in get_promisc_qp()
136 if (pqp->qpn == qpn) in get_promisc_qp()
137 return pqp; in get_promisc_qp()
156 struct mlx4_promisc_qp *pqp; in new_steering_entry() local
176 pqp = get_promisc_qp(dev, port, steer, qpn); in new_steering_entry()
177 if (pqp) { in new_steering_entry()
207 list_for_each_entry(pqp, &s_steer->promisc_qps[steer], list) { in new_steering_entry()
209 if (pqp->qpn == qpn) in new_steering_entry()
218 mgm->qp[members_count++] = cpu_to_be32(pqp->qpn & MGM_QPN_MASK); in new_steering_entry()
[all …]
Dmain.c3201 struct mlx4_promisc_qp *pqp, *tmp_pqp; in mlx4_clear_steering() local
3207 list_for_each_entry_safe(pqp, tmp_pqp, in mlx4_clear_steering()
3210 list_del(&pqp->list); in mlx4_clear_steering()
3211 kfree(pqp); in mlx4_clear_steering()
3217 list_for_each_entry_safe(pqp, tmp_pqp, in mlx4_clear_steering()
3220 list_del(&pqp->list); in mlx4_clear_steering()
3221 kfree(pqp); in mlx4_clear_steering()
/linux-6.6.21/drivers/infiniband/sw/rdmavt/
Dqp.c2686 struct rvt_qp *pqp = iter->qp; in rvt_qp_iter_next() local
2705 if (pqp) { in rvt_qp_iter_next()
2706 qp = rcu_dereference(pqp->next); in rvt_qp_iter_next()
2721 pqp = qp; in rvt_qp_iter_next()