Home
last modified time | relevance | path

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

/linux-6.1.9/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
209 if (init_attr->attr.max_wr >= max_srq_wqes) { in mlx5_ib_create_srq()
212 max_srq_wqes); in mlx5_ib_create_srq()
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.h67 u32 max_srq_wqes; member
Dqplib_sp.c147 attr->max_srq_wqes = le32_to_cpu(sb->max_srq_wr) - 1; in bnxt_qplib_get_dev_attr()
Dib_verbs.c186 ib_attr->max_srq_wr = dev_attr->max_srq_wqes; in bnxt_re_query_device()
1622 if (srq_init_attr->attr.max_wr >= dev_attr->max_srq_wqes) { in bnxt_re_create_srq()
1640 if (entries > dev_attr->max_srq_wqes + 1) in bnxt_re_create_srq()
1641 entries = dev_attr->max_srq_wqes + 1; in bnxt_re_create_srq()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dsrq.c94 if (init_attr->attr.max_wr >= dev->dev->caps.max_srq_wqes || in mlx4_ib_create_srq()
Dmain.c542 props->max_srq_wr = dev->dev->caps.max_srq_wqes - 1; in mlx4_ib_query_device()
/linux-6.1.9/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.1.9/include/linux/mlx4/
Ddevice.h564 int max_srq_wqes; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dmain.c511 dev->caps.max_srq_wqes = dev_cap->max_srq_sz; in mlx4_dev_cap()