Home
last modified time | relevance | path

Searched refs:cq_period (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dcq.c212 u16 cq_period, in mlx5_core_modify_cq_moderation() argument
220 MLX5_SET(cqc, cqc, cq_period, cq_period); in mlx5_core_modify_cq_moderation()
/linux-6.1.9/include/linux/mlx5/
Dcq.h132 #define MLX5_MAX_CQ_PERIOD (BIT(__mlx5_bit_sz(cqc, cq_period)) - 1)
196 struct mlx5_core_cq *cq, u16 cq_period,
Dmlx5_ifc.h4247 u8 cq_period[0xc]; member
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h101 u16 cq_period; member
Dib_verbs.c2885 cq->cq_period = cq->qplib_cq.period; in bnxt_re_create_cq()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dcq.c1129 int mlx5_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period) in mlx5_ib_modify_cq() argument
1138 if (cq_period > MLX5_MAX_CQ_PERIOD) in mlx5_ib_modify_cq()
1142 cq_period, cq_count); in mlx5_ib_modify_cq()
Dmlx5_ib.h1250 int mlx5_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period);
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dcq.c93 int mlx4_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period) in mlx4_ib_modify_cq() argument
98 return mlx4_cq_modify(dev->dev, &mcq->mcq, cq_count, cq_period); in mlx4_ib_modify_cq()
Dmlx4_ib.h765 int mlx4_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period);
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dcq.c182 cq_context->cq_period = cpu_to_be16(period); in mlx4_cq_modify()
Dmlx4.h347 __be16 cq_period; member
/linux-6.1.9/include/uapi/rdma/
Dib_user_verbs.h1289 __u16 cq_period; member
/linux-6.1.9/drivers/infiniband/core/
Dverbs.c2085 int rdma_set_cq_moderation(struct ib_cq *cq, u16 cq_count, u16 cq_period) in rdma_set_cq_moderation() argument
2092 cq_period) : -EOPNOTSUPP; in rdma_set_cq_moderation()
Duverbs_cmd.c3667 ret = rdma_set_cq_moderation(cq, cmd.attr.cq_count, cmd.attr.cq_period); in ib_uverbs_ex_modify_cq()
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c5836 static int hns_roce_v2_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period) in hns_roce_v2_modify_cq() argument
5858 if (cq_period * HNS_ROCE_CLOCK_ADJUST > USHRT_MAX) { in hns_roce_v2_modify_cq()
5861 cq_period); in hns_roce_v2_modify_cq()
5862 cq_period = HNS_ROCE_MAX_CQ_PERIOD; in hns_roce_v2_modify_cq()
5864 cq_period *= HNS_ROCE_CLOCK_ADJUST; in hns_roce_v2_modify_cq()
5866 hr_reg_write(cq_context, CQC_CQ_PERIOD, cq_period); in hns_roce_v2_modify_cq()
/linux-6.1.9/include/rdma/
Dib_verbs.h2471 int (*modify_cq)(struct ib_cq *cq, u16 cq_count, u16 cq_period);
3927 int rdma_set_cq_moderation(struct ib_cq *cq, u16 cq_count, u16 cq_period);