mlx4_wqe_data_seg
#define DS_SIZE sizeof(struct mlx4_wqe_data_seg)
struct mlx4_wqe_data_seg data; /* at least one data segment */
struct mlx4_wqe_data_seg data[MLX4_EN_MAX_RX_SEGS];
static volatile struct mlx4_wqe_data_seg *
mlx4_en_store_inline_lso_data(volatile struct mlx4_wqe_data_seg *dseg,
mlx4_en_store_inline_lso_header(volatile struct mlx4_wqe_data_seg *dseg,
static volatile struct mlx4_wqe_data_seg *
mlx4_en_store_inline_data(volatile struct mlx4_wqe_data_seg *dseg,
mlx4_en_store_inline_header(volatile struct mlx4_wqe_data_seg *dseg,
volatile struct mlx4_wqe_data_seg *dseg;
volatile struct mlx4_wqe_data_seg *dseg_inline;
ds_cnt = (dseg - ((volatile struct mlx4_wqe_data_seg *)tx_desc)) + nr_segs;
static void set_data_seg(struct mlx4_wqe_data_seg *dseg, struct ib_sge *sg)
static void __set_data_seg(struct mlx4_wqe_data_seg *dseg, struct ib_sge *sg)
struct mlx4_wqe_data_seg *dseg;
size += wr->num_sge * (sizeof (struct mlx4_wqe_data_seg) / 16);
size += sizeof (struct mlx4_wqe_data_seg) / 16;
struct mlx4_wqe_data_seg *scat;
sizeof (struct mlx4_wqe_data_seg)) +
sizeof (struct mlx4_wqe_data_seg));
qp->rq.wqe_shift = ilog2(qp->rq.max_gs * sizeof (struct mlx4_wqe_data_seg));
s = max(cap->max_send_sge * sizeof (struct mlx4_wqe_data_seg),
sizeof (struct mlx4_wqe_data_seg);
sizeof (struct mlx4_wqe_data_seg)));
struct mlx4_wqe_data_seg *scat;
scat = (struct mlx4_wqe_data_seg *) (next + 1);
struct mlx4_wqe_data_seg *scatter;