Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Dmcg.c140 struct mlx4_promisc_qp *pqp; in get_promisc_qp() local
142 list_for_each_entry(pqp, &s_steer->promisc_qps[steer], list) { in get_promisc_qp()
143 if (pqp->qpn == qpn) in get_promisc_qp()
144 return pqp; in get_promisc_qp()
163 struct mlx4_promisc_qp *pqp; in new_steering_entry() local
180 pqp = get_promisc_qp(dev, port, steer, qpn); in new_steering_entry()
181 if (pqp) { in new_steering_entry()
211 list_for_each_entry(pqp, &s_steer->promisc_qps[steer], list) { in new_steering_entry()
213 if (pqp->qpn == qpn) in new_steering_entry()
222 mgm->qp[members_count++] = cpu_to_be32(pqp->qpn & MGM_QPN_MASK); in new_steering_entry()
[all …]
Dmain.c1988 struct mlx4_promisc_qp *pqp, *tmp_pqp; in mlx4_clear_steering() local
1994 list_for_each_entry_safe(pqp, tmp_pqp, in mlx4_clear_steering()
1997 list_del(&pqp->list); in mlx4_clear_steering()
1998 kfree(pqp); in mlx4_clear_steering()
2004 list_for_each_entry_safe(pqp, tmp_pqp, in mlx4_clear_steering()
2007 list_del(&pqp->list); in mlx4_clear_steering()
2008 kfree(pqp); in mlx4_clear_steering()