Home
last modified time | relevance | path

Searched refs:base_sqpn (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dqp.c86 *real_qp0 = qp->qpn >= dev->phys_caps.base_sqpn && in is_master_qp0()
87 qp->qpn <= dev->phys_caps.base_sqpn + 1; in is_master_qp0()
799 dev->phys_caps.base_sqpn = ALIGN(bottom_reserved_for_rss_bitmap, 8); in mlx4_init_qp_table()
851 dev->phys_caps.base_proxy_sqpn = dev->phys_caps.base_sqpn + 8; in mlx4_init_qp_table()
852 dev->phys_caps.base_tunnel_sqpn = dev->phys_caps.base_sqpn + 8 + 8 * MLX4_MFUNC_MAX; in mlx4_init_qp_table()
875 err = mlx4_CONF_SPECIAL_QP(dev, dev->phys_caps.base_sqpn); in mlx4_init_qp_table()
/openbmc/linux/include/linux/mlx4/
H A Ddevice.h521 u32 base_sqpn; member
1048 return dev->phys_caps.base_sqpn + 8 + in mlx4_num_reserved_sqps()
1054 return (qpn < dev->phys_caps.base_sqpn + 8 + in mlx4_is_qp_reserved()
1056 qpn >= dev->phys_caps.base_sqpn) || in mlx4_is_qp_reserved()
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dqp.c130 qp->mqp.qpn >= dev->dev->phys_caps.base_sqpn && in is_sqp()
131 qp->mqp.qpn <= dev->dev->phys_caps.base_sqpn + 3); in is_sqp()
158 qp->mqp.qpn >= dev->dev->phys_caps.base_sqpn && in is_qp0()
159 qp->mqp.qpn <= dev->dev->phys_caps.base_sqpn + 1); in is_qp0()
1505 return dev->dev->phys_caps.base_sqpn + in get_sqp_num()