Searched refs:xsrq_table (Results 1 - 4 of 4) sorted by relevance

/freebsd-11-stable/contrib/ofed/libmlx4/
H A Dsrq.c175 void mlx4_init_xsrq_table(struct mlx4_xsrq_table *xsrq_table, int size) argument
177 memset(xsrq_table, 0, sizeof *xsrq_table);
178 xsrq_table->num_xsrq = size;
179 xsrq_table->shift = ffs(size) - 1 - MLX4_XSRQ_TABLE_BITS;
180 xsrq_table->mask = (1 << xsrq_table->shift) - 1;
182 pthread_mutex_init(&xsrq_table->mutex, NULL);
185 struct mlx4_srq *mlx4_find_xsrq(struct mlx4_xsrq_table *xsrq_table, uint32_t srqn) argument
189 index = (srqn & (xsrq_table
196 mlx4_store_xsrq(struct mlx4_xsrq_table *xsrq_table, uint32_t srqn, struct mlx4_srq *srq) argument
220 mlx4_clear_xsrq(struct mlx4_xsrq_table *xsrq_table, uint32_t srqn) argument
[all...]
H A Dmlx4.h70 } xsrq_table[MLX4_XSRQ_TABLE_SIZE]; member in struct:mlx4_xsrq_table
148 struct mlx4_xsrq_table xsrq_table; member in struct:mlx4_context
417 void mlx4_init_xsrq_table(struct mlx4_xsrq_table *xsrq_table, int size);
418 struct mlx4_srq *mlx4_find_xsrq(struct mlx4_xsrq_table *xsrq_table, uint32_t srqn);
419 int mlx4_store_xsrq(struct mlx4_xsrq_table *xsrq_table, uint32_t srqn,
421 void mlx4_clear_xsrq(struct mlx4_xsrq_table *xsrq_table, uint32_t srqn);
H A Dmlx4.c195 mlx4_init_xsrq_table(&context->xsrq_table, context->num_qps);
H A Dcq.c270 srq = mlx4_find_xsrq(&mctx->xsrq_table,

Completed in 55 milliseconds