Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_mcg.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 …]
H A Dmlx4_main.c3025 struct mlx4_promisc_qp *pqp, *tmp_pqp; in mlx4_clear_steering() local
3031 list_for_each_entry_safe(pqp, tmp_pqp, in mlx4_clear_steering()
3034 list_del(&pqp->list); in mlx4_clear_steering()
3035 kfree(pqp); in mlx4_clear_steering()
3041 list_for_each_entry_safe(pqp, tmp_pqp, in mlx4_clear_steering()
3044 list_del(&pqp->list); in mlx4_clear_steering()
3045 kfree(pqp); in mlx4_clear_steering()