Lines Matching refs:scat
52 struct mlx5_wqe_data_seg *scat; in mlx5_copy_to_recv_srq() local
58 scat = (struct mlx5_wqe_data_seg *) (next + 1); in mlx5_copy_to_recv_srq()
61 copy = min_t(long, size, be32toh(scat->byte_count)); in mlx5_copy_to_recv_srq()
62 memcpy((void *)(unsigned long)be64toh(scat->addr), buf, copy); in mlx5_copy_to_recv_srq()
68 ++scat; in mlx5_copy_to_recv_srq()
92 struct mlx5_wqe_data_seg *scat; in mlx5_post_srq_recv() local
117 scat = (struct mlx5_wqe_data_seg *) (next + 1); in mlx5_post_srq_recv()
120 scat[i].byte_count = htobe32(wr->sg_list[i].length); in mlx5_post_srq_recv()
121 scat[i].lkey = htobe32(wr->sg_list[i].lkey); in mlx5_post_srq_recv()
122 scat[i].addr = htobe64(wr->sg_list[i].addr); in mlx5_post_srq_recv()
126 scat[i].byte_count = 0; in mlx5_post_srq_recv()
127 scat[i].lkey = htobe32(MLX5_INVALID_LKEY); in mlx5_post_srq_recv()
128 scat[i].addr = 0; in mlx5_post_srq_recv()