Lines Matching refs:sg_list
285 addr = (void *) (unsigned long)(wr->sg_list[i].addr + offset); in set_data_inl_seg()
286 len = wr->sg_list[i].length - offset; in set_data_inl_seg()
374 if (likely(wr->sg_list[0].length >= MLX5_ETH_L2_INLINE_HEADER_SIZE)) { in copy_eth_inline_headers()
377 (void *)(uintptr_t)wr->sg_list[0].addr, in copy_eth_inline_headers()
381 inl_hdr_copy_size = min(wr->sg_list[j].length, in copy_eth_inline_headers()
385 (void *)(uintptr_t)wr->sg_list[j].addr, in copy_eth_inline_headers()
402 if (unlikely(wr->sg_list[j].length == inl_hdr_copy_size)) { in copy_eth_inline_headers()
875 if (likely(wr->sg_list[i].length)) { in _mlx5_post_send()
880 set_data_ptr_seg_atomic(dpseg, wr->sg_list + i); in _mlx5_post_send()
883 if (max_tso < wr->sg_list[i].length) { in _mlx5_post_send()
888 max_tso -= wr->sg_list[i].length; in _mlx5_post_send()
890 set_data_ptr_seg(dpseg, wr->sg_list + i, in _mlx5_post_send()
1098 if (unlikely(!wr->sg_list[i].length)) in mlx5_post_wq_recv()
1100 set_data_ptr_seg(scat + j++, wr->sg_list + i, 0); in mlx5_post_wq_recv()
1171 if (unlikely(!wr->sg_list[i].length)) in mlx5_post_recv()
1173 set_data_ptr_seg(scat + j++, wr->sg_list + i, 0); in mlx5_post_recv()