Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx4/
Dqp.c74 static int is_master_qp0(struct mlx4_dev *dev, struct mlx4_qp *qp, int *real_qp0, int *proxy_qp0) in is_master_qp0() argument
79 *proxy_qp0 = qp->qpn >= pf_proxy_offset && qp->qpn <= pf_proxy_offset + 1; in is_master_qp0()
84 return *real_qp0 || *proxy_qp0; in is_master_qp0()
137 int proxy_qp0 = 0; in __mlx4_qp_modify() local
149 is_master_qp0(dev, qp, &real_qp0, &proxy_qp0)) { in __mlx4_qp_modify()
151 if (proxy_qp0) in __mlx4_qp_modify()
187 if (mlx4_is_master(dev) && is_master_qp0(dev, qp, &real_qp0, &proxy_qp0)) { in __mlx4_qp_modify()
192 if (proxy_qp0) in __mlx4_qp_modify()
197 if (proxy_qp0) in __mlx4_qp_modify()
/Linux-v6.1/drivers/infiniband/hw/mlx4/
Dqp.c145 int proxy_qp0 = 0; in is_qp0() local
158 proxy_qp0 = 1; in is_qp0()
163 return proxy_qp0; in is_qp0()