Home
last modified time | relevance | path

Searched refs:max_srq_wqes (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dsrq.c201 __u32 max_srq_wqes = 1 << MLX5_CAP_GEN(dev->mdev, log_max_srq_sz); in mlx5_ib_create_srq() local
211 if (init_attr->attr.max_wr >= max_srq_wqes || in mlx5_ib_create_srq()
214 init_attr->attr.max_wr, max_srq_wqes, in mlx5_ib_create_srq()
/linux-6.12.1/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.h69 u32 max_srq_wqes; member
Dqplib_sp.c155 attr->max_srq_wqes = le32_to_cpu(sb->max_srq_wr) - 1; in bnxt_qplib_get_dev_attr()
Dib_verbs.c204 ib_attr->max_srq_wr = dev_attr->max_srq_wqes; in bnxt_re_query_device()
1789 if (srq_init_attr->attr.max_wr >= dev_attr->max_srq_wqes) { in bnxt_re_create_srq()
1808 if (entries > dev_attr->max_srq_wqes + 1) in bnxt_re_create_srq()
1809 entries = dev_attr->max_srq_wqes + 1; in bnxt_re_create_srq()
/linux-6.12.1/drivers/infiniband/hw/mlx4/
Dsrq.c94 if (init_attr->attr.max_wr >= dev->dev->caps.max_srq_wqes || in mlx4_ib_create_srq()
Dmain.c547 props->max_srq_wr = dev->dev->caps.max_srq_wqes - 1; in mlx4_ib_query_device()
/linux-6.12.1/drivers/infiniband/hw/mthca/
Dmthca_dev.h149 int max_srq_wqes; member
Dmthca_srq.c215 if (attr->max_wr > dev->limits.max_srq_wqes || in mthca_alloc_srq()
Dmthca_main.c217 mdev->limits.max_srq_wqes = dev_lim->max_srq_sz; in mthca_dev_lim()
Dmthca_provider.c103 props->max_srq_wr = mdev->limits.max_srq_wqes; in mthca_query_device()
/linux-6.12.1/include/linux/mlx4/
Ddevice.h565 int max_srq_wqes; member
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dmain.c506 dev->caps.max_srq_wqes = dev_cap->max_srq_sz; in mlx4_dev_cap()