Lines Matching +full:ctrl +full:- +full:b
1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
20 /* get_sq_edge - Get the next nearby edge.
27 * @sq - SQ buffer.
28 * @idx - Stride index in the SQ buffer.
38 (&sq->fbc, in get_sq_edge()
39 mlx5_frag_buf_get_idx_last_contig_stride(&sq->fbc, idx)); in get_sq_edge()
44 /* handle_post_send_edge - Check if we get to SQ edge. If yes, update to the
47 * @seg: Current WQE position (16B aligned).
48 * @wqe_sz: Total current WQE size [16B].
59 idx = (sq->cur_post + (wqe_sz >> 2)) & (sq->wqe_cnt - 1); in handle_post_send_edge()
62 *seg = mlx5_frag_buf_get_wqe(&sq->fbc, idx); in handle_post_send_edge()
65 /* mlx5r_memcpy_send_wqe - copy data from src to WQE and update the relevant
66 * WQ's pointers. At the end @seg is aligned to 16B regardless the copied size.
69 * @seg: Current WQE position (16B aligned).
70 * @wqe_sz: Total current WQE size [16B].
79 size_t leftlen = *cur_edge - *seg; in mlx5r_memcpy_send_wqe()
85 n -= copysz; in mlx5r_memcpy_send_wqe()
96 struct mlx5_wqe_ctrl_seg **ctrl, unsigned int *idx,
99 void mlx5r_finish_wqe(struct mlx5_ib_qp *qp, struct mlx5_wqe_ctrl_seg *ctrl,
103 struct mlx5_wqe_ctrl_seg *ctrl);