Searched refs:limit_watermark (Results 1 – 4 of 4) sorted by relevance
/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
|
/drivers/infiniband/hw/mlx4/ |
D | srq.c | 255 int limit_watermark; in mlx4_ib_query_srq() local 257 ret = mlx4_srq_query(dev->dev, &srq->msrq, &limit_watermark); in mlx4_ib_query_srq() 261 srq_attr->srq_limit = limit_watermark; in mlx4_ib_query_srq()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_srq.c | 55 __be16 limit_watermark; member 67 __be16 limit_watermark; member 415 srq_attr->srq_limit = be16_to_cpu(arbel_ctx->limit_watermark); in mthca_query_srq() 418 srq_attr->srq_limit = be16_to_cpu(tavor_ctx->limit_watermark); in mthca_query_srq()
|