Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Dqp.c71 static int is_master_qp0(struct mlx4_dev *dev, struct mlx4_qp *qp, int *real_qp0, int *proxy_qp0) in is_master_qp0() argument
76 *proxy_qp0 = qp->qpn >= pf_proxy_offset && qp->qpn <= pf_proxy_offset + 1; in is_master_qp0()
81 return *real_qp0 || *proxy_qp0; in is_master_qp0()
134 int proxy_qp0 = 0; in __mlx4_qp_modify() local
146 is_master_qp0(dev, qp, &real_qp0, &proxy_qp0)) { in __mlx4_qp_modify()
148 if (proxy_qp0) in __mlx4_qp_modify()
178 if (mlx4_is_master(dev) && is_master_qp0(dev, qp, &real_qp0, &proxy_qp0)) { in __mlx4_qp_modify()
183 if (proxy_qp0) in __mlx4_qp_modify()
188 if (proxy_qp0) in __mlx4_qp_modify()
/drivers/infiniband/hw/mlx4/
Dqp.c152 int proxy_qp0 = 0; in is_qp0() local
165 proxy_qp0 = 1; in is_qp0()
170 return proxy_qp0; in is_qp0()