Lines Matching refs:inl
298 if (!tx_info->inl) { in mlx4_en_free_tx_desc()
693 struct mlx4_wqe_inline_seg *inl = &tx_desc->inl; in build_inline_wqe() local
694 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof(*inl); in build_inline_wqe()
699 inl->byte_count = cpu_to_be32(1 << 31 | skb->len); in build_inline_wqe()
701 inl->byte_count = cpu_to_be32(1 << 31 | MIN_PKT_LEN); in build_inline_wqe()
702 memset(inl->data + skb->len, 0, in build_inline_wqe()
705 skb_copy_from_linear_data(skb, inl->data, hlen); in build_inline_wqe()
707 memcpy(inl->data + hlen, fragptr, in build_inline_wqe()
711 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe()
713 skb_copy_from_linear_data(skb, inl->data, hlen); in build_inline_wqe()
715 memcpy(inl->data + hlen, in build_inline_wqe()
719 inl = (void *)inl->data + spc; in build_inline_wqe()
720 memcpy(inl->data, fragptr, skb->len - spc); in build_inline_wqe()
722 skb_copy_from_linear_data(skb, inl->data, spc); in build_inline_wqe()
723 inl = (void *)inl->data + spc; in build_inline_wqe()
724 skb_copy_from_linear_data_offset(skb, spc, inl->data, in build_inline_wqe()
727 memcpy(inl->data + hlen - spc, in build_inline_wqe()
733 inl->byte_count = cpu_to_be32(1 << 31 | (skb->len - spc)); in build_inline_wqe()
969 tx_info->inl = inline_ok; in mlx4_en_xmit()
976 if (!tx_info->inl) in mlx4_en_xmit()
1065 if (tx_info->inl) in mlx4_en_xmit()
1160 tx_info->inl = 0; in mlx4_en_init_tx_xdp_ring_descs()