Lines Matching refs:inl
300 if (!tx_info->inl) { in mlx4_en_free_tx_desc()
695 struct mlx4_wqe_inline_seg *inl = &tx_desc->inl; in build_inline_wqe() local
696 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof(*inl); in build_inline_wqe()
701 inl->byte_count = cpu_to_be32(1 << 31 | skb->len); in build_inline_wqe()
703 inl->byte_count = cpu_to_be32(1 << 31 | MIN_PKT_LEN); in build_inline_wqe()
704 memset(inl->data + skb->len, 0, in build_inline_wqe()
707 skb_copy_from_linear_data(skb, inl->data, hlen); in build_inline_wqe()
709 memcpy(inl->data + hlen, fragptr, in build_inline_wqe()
713 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe()
715 skb_copy_from_linear_data(skb, inl->data, hlen); in build_inline_wqe()
717 memcpy(inl->data + hlen, in build_inline_wqe()
721 inl = (void *)inl->data + spc; in build_inline_wqe()
722 memcpy(inl->data, fragptr, skb->len - spc); in build_inline_wqe()
724 skb_copy_from_linear_data(skb, inl->data, spc); in build_inline_wqe()
725 inl = (void *)inl->data + spc; in build_inline_wqe()
726 skb_copy_from_linear_data_offset(skb, spc, inl->data, in build_inline_wqe()
729 memcpy(inl->data + hlen - spc, in build_inline_wqe()
735 inl->byte_count = cpu_to_be32(1 << 31 | (skb->len - spc)); in build_inline_wqe()
971 tx_info->inl = inline_ok; in mlx4_en_xmit()
978 if (!tx_info->inl) in mlx4_en_xmit()
1067 if (tx_info->inl) in mlx4_en_xmit()
1162 tx_info->inl = 0; in mlx4_en_init_tx_xdp_ring_descs()