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