Home
last modified time | relevance | path

Searched refs:xrc_srqn (Results 1 – 6 of 6) sorted by relevance

/NextBSD/contrib/ofed/libmlx4/src/
HDsrq.c177 struct mlx4_srq *mlx4_find_xrc_srq(struct mlx4_context *ctx, uint32_t xrc_srqn) in mlx4_find_xrc_srq() argument
179 int tind = (xrc_srqn & (ctx->num_xrc_srqs - 1)) >> ctx->xrc_srq_table_shift; in mlx4_find_xrc_srq()
182 return ctx->xrc_srq_table[tind].table[xrc_srqn & ctx->xrc_srq_table_mask]; in mlx4_find_xrc_srq()
187 int mlx4_store_xrc_srq(struct mlx4_context *ctx, uint32_t xrc_srqn, in mlx4_store_xrc_srq() argument
190 int tind = (xrc_srqn & (ctx->num_xrc_srqs - 1)) >> ctx->xrc_srq_table_shift; in mlx4_store_xrc_srq()
205 ctx->xrc_srq_table[tind].table[xrc_srqn & ctx->xrc_srq_table_mask] = srq; in mlx4_store_xrc_srq()
212 void mlx4_clear_xrc_srq(struct mlx4_context *ctx, uint32_t xrc_srqn) in mlx4_clear_xrc_srq() argument
214 int tind = (xrc_srqn & (ctx->num_xrc_srqs - 1)) >> ctx->xrc_srq_table_shift; in mlx4_clear_xrc_srq()
221 ctx->xrc_srq_table[tind].table[xrc_srqn & ctx->xrc_srq_table_mask] = NULL; in mlx4_clear_xrc_srq()
HDmlx4.h397 struct mlx4_srq *mlx4_find_xrc_srq(struct mlx4_context *ctx, uint32_t xrc_srqn);
398 int mlx4_store_xrc_srq(struct mlx4_context *ctx, uint32_t xrc_srqn,
400 void mlx4_clear_xrc_srq(struct mlx4_context *ctx, uint32_t xrc_srqn);
/NextBSD/contrib/ofed/libmlx4/fixes/
HDxrc_consolidated_v2.patch281 +struct mlx4_srq *mlx4_find_xrc_srq(struct mlx4_context *ctx, uint32_t xrc_srqn);
282 +int mlx4_store_xrc_srq(struct mlx4_context *ctx, uint32_t xrc_srqn,
284 +void mlx4_clear_xrc_srq(struct mlx4_context *ctx, uint32_t xrc_srqn);
353 +struct mlx4_srq *mlx4_find_xrc_srq(struct mlx4_context *ctx, uint32_t xrc_srqn)
355 + int tind = (xrc_srqn & (ctx->num_xrc_srqs - 1)) >> ctx->xrc_srq_table_shift;
358 + return ctx->xrc_srq_table[tind].table[xrc_srqn & ctx->xrc_srq_table_mask];
363 +int mlx4_store_xrc_srq(struct mlx4_context *ctx, uint32_t xrc_srqn,
366 + int tind = (xrc_srqn & (ctx->num_xrc_srqs - 1)) >> ctx->xrc_srq_table_shift;
381 + ctx->xrc_srq_table[tind].table[xrc_srqn & ctx->xrc_srq_table_mask] = srq;
388 +void mlx4_clear_xrc_srq(struct mlx4_context *ctx, uint32_t xrc_srqn)
[all …]
/NextBSD/sys/dev/mlx5/mlx5_core/
HDmlx5_transobj.c291 *xsrqn = MLX5_GET(create_xrc_srq_out, out, xrc_srqn); in mlx5_core_create_xsrq()
305 MLX5_SET(destroy_xrc_srq_in, in, xrc_srqn, xsrqn); in mlx5_core_destroy_xsrq()
320 MLX5_SET(query_xrc_srq_in, in, xrc_srqn, xsrqn); in mlx5_core_query_xsrq()
344 MLX5_SET(arm_xrc_srq_in, in, xrc_srqn, xsrqn); in mlx5_core_arm_xsrq()
/NextBSD/sys/dev/mlx5/
HDqp.h208 __be32 xrc_srqn; member
HDmlx5_ifc.h3266 u8 xrc_srqn[0x18]; member
5203 u8 xrc_srqn[0x18]; member
5799 u8 xrc_srqn[0x18]; member
6350 u8 xrc_srqn[0x18]; member