Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Dqp.c79 static int is_master_qp0(struct mlx4_dev *dev, struct mlx4_qp *qp, int *real_qp0, int *proxy_qp0) in is_master_qp0() argument
84 *proxy_qp0 = qp->qpn >= pf_proxy_offset && qp->qpn <= pf_proxy_offset + 1; in is_master_qp0()
89 return *real_qp0 || *proxy_qp0; in is_master_qp0()
142 int proxy_qp0 = 0; in __mlx4_qp_modify() local
154 is_master_qp0(dev, qp, &real_qp0, &proxy_qp0)) { in __mlx4_qp_modify()
156 if (proxy_qp0) in __mlx4_qp_modify()
192 if (mlx4_is_master(dev) && is_master_qp0(dev, qp, &real_qp0, &proxy_qp0)) { in __mlx4_qp_modify()
197 if (proxy_qp0) in __mlx4_qp_modify()
202 if (proxy_qp0) in __mlx4_qp_modify()
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dqp.c153 int proxy_qp0 = 0; in is_qp0() local
166 proxy_qp0 = 1; in is_qp0()
171 return proxy_qp0; in is_qp0()