Home
last modified time | relevance | path

Searched refs:cur_post (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmem.c118 idx = qp->sq.cur_post & (qp->sq.wqe_cnt - 1); in post_send_nop()
124 cpu_to_be32(((u32)(qp->sq.cur_post) << 8) | MLX5_OPCODE_NOP); in post_send_nop()
131 qp->sq.cur_post += DIV_ROUND_UP(sizeof(struct mlx5_wqe_ctrl_seg), in post_send_nop()
133 qp->sq.w_list[idx].next = qp->sq.cur_post; in post_send_nop()
145 qp->db.db[MLX5_SND_DBR] = cpu_to_be32(qp->sq.cur_post); in post_send_nop()
Dwr.h59 idx = (sq->cur_post + (wqe_sz >> 2)) & (sq->wqe_cnt - 1); in handle_post_send_edge()
Dwr.c732 *idx = qp->sq.cur_post & (qp->sq.wqe_cnt - 1); in mlx5r_begin_wqe()
764 ctrl->opmod_idx_opcode = cpu_to_be32(((u32)(qp->sq.cur_post) << 8) | in mlx5r_finish_wqe()
774 qp->sq.cur_post += DIV_ROUND_UP(size * 16, MLX5_SEND_WQE_BB); in mlx5r_finish_wqe()
775 qp->sq.w_list[idx].next = qp->sq.cur_post; in mlx5r_finish_wqe()
782 get_sq_edge(&qp->sq, qp->sq.cur_post & in mlx5r_finish_wqe()
1037 qp->db.db[MLX5_SND_DBR] = cpu_to_be32(qp->sq.cur_post); in mlx5r_ring_db()
Dmlx5_ib.h357 u16 cur_post; member
Dqp.c4304 qp->sq.cur_post = 0; in __mlx5_ib_modify_qp()