Lines Matching refs:inl
301 if (!tx_info->inl) { in mlx4_en_free_tx_desc()
692 struct mlx4_wqe_inline_seg *inl = &tx_desc->inl; in build_inline_wqe() local
693 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof(*inl); in build_inline_wqe()
698 inl->byte_count = cpu_to_be32(1 << 31 | skb->len); in build_inline_wqe()
700 inl->byte_count = cpu_to_be32(1 << 31 | MIN_PKT_LEN); in build_inline_wqe()
701 memset(inl->data + skb->len, 0, in build_inline_wqe()
704 skb_copy_from_linear_data(skb, inl->data, hlen); in build_inline_wqe()
706 memcpy(inl->data + hlen, fragptr, in build_inline_wqe()
710 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe()
712 skb_copy_from_linear_data(skb, inl->data, hlen); in build_inline_wqe()
714 memcpy(inl->data + hlen, in build_inline_wqe()
718 inl = (void *)inl->data + spc; in build_inline_wqe()
719 memcpy(inl->data, fragptr, skb->len - spc); in build_inline_wqe()
721 skb_copy_from_linear_data(skb, inl->data, spc); in build_inline_wqe()
722 inl = (void *)inl->data + spc; in build_inline_wqe()
723 skb_copy_from_linear_data_offset(skb, spc, inl->data, in build_inline_wqe()
726 memcpy(inl->data + hlen - spc, in build_inline_wqe()
732 inl->byte_count = cpu_to_be32(1 << 31 | (skb->len - spc)); in build_inline_wqe()
968 tx_info->inl = inline_ok; in mlx4_en_xmit()
975 if (!tx_info->inl) in mlx4_en_xmit()
1064 if (tx_info->inl) in mlx4_en_xmit()
1159 tx_info->inl = 0; in mlx4_en_init_tx_xdp_ring_descs()