Lines Matching full:seg
47 * @seg: Current WQE position (16B aligned).
51 static inline void handle_post_send_edge(struct mlx5_ib_wq *sq, void **seg, in handle_post_send_edge() argument
56 if (likely(*seg != *cur_edge)) in handle_post_send_edge()
62 *seg = mlx5_frag_buf_get_wqe(&sq->fbc, idx); in handle_post_send_edge()
66 * WQ's pointers. At the end @seg is aligned to 16B regardless the copied size.
69 * @seg: Current WQE position (16B aligned).
75 void **seg, u32 *wqe_sz, in mlx5r_memcpy_send_wqe() argument
79 size_t leftlen = *cur_edge - *seg; in mlx5r_memcpy_send_wqe()
83 memcpy(*seg, src, copysz); in mlx5r_memcpy_send_wqe()
88 *seg += stride; in mlx5r_memcpy_send_wqe()
90 handle_post_send_edge(sq, seg, *wqe_sz, cur_edge); in mlx5r_memcpy_send_wqe()
95 int mlx5r_begin_wqe(struct mlx5_ib_qp *qp, void **seg,
100 void *seg, u8 size, void *cur_edge, unsigned int idx,