Lines Matching refs:inl

240 	struct mlx4_wqe_inline_seg *inl;  in post_nop_wqe()  local
257 inl = wqe + s; in post_nop_wqe()
258 inl->byte_count = cpu_to_be32(1 << 31 | (size - s - sizeof *inl)); in post_nop_wqe()
2040 struct mlx4_wqe_inline_seg *inl = wqe + sizeof *mlx; in build_sriov_qp0_header() local
2112 ((unsigned long) (inl + 1) & (MLX4_INLINE_ALIGN - 1)); in build_sriov_qp0_header()
2114 inl->byte_count = cpu_to_be32(1 << 31 | header_size); in build_sriov_qp0_header()
2115 memcpy(inl + 1, sqp->header_buf, header_size); in build_sriov_qp0_header()
2118 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_sriov_qp0_header()
2119 memcpy(inl + 1, sqp->header_buf, spc); in build_sriov_qp0_header()
2121 inl = (void *) (inl + 1) + spc; in build_sriov_qp0_header()
2122 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); in build_sriov_qp0_header()
2137 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); in build_sriov_qp0_header()
2162 struct mlx4_wqe_inline_seg *inl = wqe + sizeof *mlx; in build_mlx_header() local
2340 ((unsigned long) (inl + 1) & (MLX4_INLINE_ALIGN - 1)); in build_mlx_header()
2342 inl->byte_count = cpu_to_be32(1 << 31 | header_size); in build_mlx_header()
2343 memcpy(inl + 1, sqp->header_buf, header_size); in build_mlx_header()
2346 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_mlx_header()
2347 memcpy(inl + 1, sqp->header_buf, spc); in build_mlx_header()
2349 inl = (void *) (inl + 1) + spc; in build_mlx_header()
2350 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); in build_mlx_header()
2365 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); in build_mlx_header()
2516 struct mlx4_wqe_inline_seg *inl = wqe; in build_tunnel_header() local
2530 ((unsigned long) (inl + 1) & (MLX4_INLINE_ALIGN - 1)); in build_tunnel_header()
2532 memcpy(inl + 1, &hdr, sizeof (hdr)); in build_tunnel_header()
2534 inl->byte_count = cpu_to_be32(1 << 31 | sizeof (hdr)); in build_tunnel_header()
2537 memcpy(inl + 1, &hdr, spc); in build_tunnel_header()
2539 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_tunnel_header()
2541 inl = (void *) (inl + 1) + spc; in build_tunnel_header()
2542 memcpy(inl + 1, (void *) &hdr + spc, sizeof (hdr) - spc); in build_tunnel_header()
2544 inl->byte_count = cpu_to_be32(1 << 31 | (sizeof (hdr) - spc)); in build_tunnel_header()
2634 struct mlx4_wqe_inline_seg *inl = wqe; in add_zero_len_inline() local
2636 inl->byte_count = cpu_to_be32(1 << 31); in add_zero_len_inline()