Lines Matching refs:inl
241 struct mlx4_wqe_inline_seg *inl; in post_nop_wqe() local
258 inl = wqe + s; in post_nop_wqe()
259 inl->byte_count = cpu_to_be32(1 << 31 | (size - s - sizeof *inl)); in post_nop_wqe()
2149 struct mlx4_wqe_inline_seg *inl = wqe + sizeof *mlx; in build_sriov_qp0_header() local
2221 ((unsigned long) (inl + 1) & (MLX4_INLINE_ALIGN - 1)); in build_sriov_qp0_header()
2223 inl->byte_count = cpu_to_be32(1 << 31 | header_size); in build_sriov_qp0_header()
2224 memcpy(inl + 1, sqp->header_buf, header_size); in build_sriov_qp0_header()
2227 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_sriov_qp0_header()
2228 memcpy(inl + 1, sqp->header_buf, spc); in build_sriov_qp0_header()
2230 inl = (void *) (inl + 1) + spc; in build_sriov_qp0_header()
2231 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); in build_sriov_qp0_header()
2246 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); in build_sriov_qp0_header()
2271 struct mlx4_wqe_inline_seg *inl = wqe + sizeof *mlx; in build_mlx_header() local
2452 ((unsigned long) (inl + 1) & (MLX4_INLINE_ALIGN - 1)); in build_mlx_header()
2454 inl->byte_count = cpu_to_be32(1 << 31 | header_size); in build_mlx_header()
2455 memcpy(inl + 1, sqp->header_buf, header_size); in build_mlx_header()
2458 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_mlx_header()
2459 memcpy(inl + 1, sqp->header_buf, spc); in build_mlx_header()
2461 inl = (void *) (inl + 1) + spc; in build_mlx_header()
2462 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); in build_mlx_header()
2477 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); in build_mlx_header()
2625 struct mlx4_wqe_inline_seg *inl = wqe; in build_tunnel_header() local
2639 ((unsigned long) (inl + 1) & (MLX4_INLINE_ALIGN - 1)); in build_tunnel_header()
2641 memcpy(inl + 1, &hdr, sizeof (hdr)); in build_tunnel_header()
2643 inl->byte_count = cpu_to_be32(1 << 31 | sizeof (hdr)); in build_tunnel_header()
2646 memcpy(inl + 1, &hdr, spc); in build_tunnel_header()
2648 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_tunnel_header()
2650 inl = (void *) (inl + 1) + spc; in build_tunnel_header()
2651 memcpy(inl + 1, (void *) &hdr + spc, sizeof (hdr) - spc); in build_tunnel_header()
2653 inl->byte_count = cpu_to_be32(1 << 31 | (sizeof (hdr) - spc)); in build_tunnel_header()
2743 struct mlx4_wqe_inline_seg *inl = wqe; in add_zero_len_inline() local
2745 inl->byte_count = cpu_to_be32(1 << 31); in add_zero_len_inline()