Lines Matching full:spc
693 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof(*inl); in build_inline_wqe() local
696 if (skb->len <= spc) { in build_inline_wqe()
710 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe()
711 if (hlen <= spc) { in build_inline_wqe()
713 if (hlen < spc) { in build_inline_wqe()
715 fragptr, spc - hlen); in build_inline_wqe()
716 fragptr += spc - 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()
724 hlen - spc); 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()