Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dqp.c81 *real_qp0 = qp->qpn >= dev->phys_caps.base_sqpn && in is_master_qp0()
82 qp->qpn <= dev->phys_caps.base_sqpn + 1; in is_master_qp0()
795 dev->phys_caps.base_sqpn = ALIGN(bottom_reserved_for_rss_bitmap, 8); in mlx4_init_qp_table()
847 dev->phys_caps.base_proxy_sqpn = dev->phys_caps.base_sqpn + 8; in mlx4_init_qp_table()
848 dev->phys_caps.base_tunnel_sqpn = dev->phys_caps.base_sqpn + 8 + 8 * MLX4_MFUNC_MAX; in mlx4_init_qp_table()
871 err = mlx4_CONF_SPECIAL_QP(dev, dev->phys_caps.base_sqpn); in mlx4_init_qp_table()
/linux-6.1.9/include/linux/mlx4/
Ddevice.h520 u32 base_sqpn; member
1041 return dev->phys_caps.base_sqpn + 8 + in mlx4_num_reserved_sqps()
1047 return (qpn < dev->phys_caps.base_sqpn + 8 + in mlx4_is_qp_reserved()
1049 qpn >= dev->phys_caps.base_sqpn) || in mlx4_is_qp_reserved()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dqp.c122 qp->mqp.qpn >= dev->dev->phys_caps.base_sqpn && in is_sqp()
123 qp->mqp.qpn <= dev->dev->phys_caps.base_sqpn + 3); in is_sqp()
150 qp->mqp.qpn >= dev->dev->phys_caps.base_sqpn && in is_qp0()
151 qp->mqp.qpn <= dev->dev->phys_caps.base_sqpn + 1); in is_qp0()
1466 return dev->dev->phys_caps.base_sqpn + in get_sqp_num()