Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
81 *real_qp0 = qp->qpn >= dev->phys_caps.base_sqpn && in is_master_qp0()
84 return *real_qp0 || *proxy_qp0; in is_master_qp0()
136 int real_qp0 = 0; in __mlx4_qp_modify() local
149 is_master_qp0(dev, qp, &real_qp0, &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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dqp.c146 int real_qp0 = 0; in is_qp0() local
149 real_qp0 = ((mlx4_is_master(dev->dev) || !mlx4_is_mfunc(dev->dev)) && in is_qp0()
152 if (real_qp0) in is_qp0()