Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dsrq.c227 __u32 max_srq_wqes = 1 << MLX5_CAP_GEN(dev->mdev, log_max_srq_sz); in mlx5_ib_create_srq() local
230 if (init_attr->attr.max_wr >= max_srq_wqes) { in mlx5_ib_create_srq()
233 max_srq_wqes); in mlx5_ib_create_srq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.h69 u32 max_srq_wqes; member
Dqplib_sp.c136 attr->max_srq_wqes = le32_to_cpu(sb->max_srq_wr) - 1; in bnxt_qplib_get_dev_attr()
Dib_verbs.c181 ib_attr->max_srq_wr = dev_attr->max_srq_wqes; in bnxt_re_query_device()
1637 if (srq_init_attr->attr.max_wr >= dev_attr->max_srq_wqes) { in bnxt_re_create_srq()
1655 if (entries > dev_attr->max_srq_wqes + 1) in bnxt_re_create_srq()
1656 entries = dev_attr->max_srq_wqes + 1; in bnxt_re_create_srq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dsrq.c90 if (init_attr->attr.max_wr >= dev->dev->caps.max_srq_wqes || in mlx4_ib_create_srq()
Dmain.c549 props->max_srq_wr = dev->dev->caps.max_srq_wqes - 1; in mlx4_ib_query_device()
/kernel/linux/linux-5.10/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.c111 props->max_srq_wr = mdev->limits.max_srq_wqes; in mthca_query_device()
/kernel/linux/linux-5.10/include/linux/mlx4/
Ddevice.h565 int max_srq_wqes; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dmain.c511 dev->caps.max_srq_wqes = dev_cap->max_srq_sz; in mlx4_dev_cap()