Searched refs:limit_watermark (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | srq.c | 80 static int mlx4_ARM_SRQ(struct mlx4_dev *dev, int srq_num, int limit_watermark) in mlx4_ARM_SRQ() argument 82 return mlx4_cmd(dev, limit_watermark, srq_num, 0, MLX4_CMD_ARM_SRQ, in mlx4_ARM_SRQ() 243 int mlx4_srq_arm(struct mlx4_dev *dev, struct mlx4_srq *srq, int limit_watermark) in mlx4_srq_arm() argument 245 return mlx4_ARM_SRQ(dev, srq->srqn, limit_watermark); in mlx4_srq_arm() 249 int mlx4_srq_query(struct mlx4_dev *dev, struct mlx4_srq *srq, int *limit_watermark) in mlx4_srq_query() argument 264 *limit_watermark = be16_to_cpu(srq_context->limit_watermark); in mlx4_srq_query()
|
D | mlx4.h | 375 __be16 limit_watermark; member
|
/Linux-v4.19/drivers/infiniband/hw/mlx4/ |
D | srq.c | 260 int limit_watermark; in mlx4_ib_query_srq() local 262 ret = mlx4_srq_query(dev->dev, &srq->msrq, &limit_watermark); in mlx4_ib_query_srq() 266 srq_attr->srq_limit = limit_watermark; in mlx4_ib_query_srq()
|
/Linux-v4.19/drivers/infiniband/hw/mthca/ |
D | mthca_srq.c | 53 __be16 limit_watermark; member 65 __be16 limit_watermark; member 407 srq_attr->srq_limit = be16_to_cpu(arbel_ctx->limit_watermark); in mthca_query_srq() 410 srq_attr->srq_limit = be16_to_cpu(tavor_ctx->limit_watermark); in mthca_query_srq()
|
/Linux-v4.19/include/linux/mlx4/ |
D | device.h | 1151 int mlx4_srq_arm(struct mlx4_dev *dev, struct mlx4_srq *srq, int limit_watermark); 1152 int mlx4_srq_query(struct mlx4_dev *dev, struct mlx4_srq *srq, int *limit_watermark);
|