Lines Matching refs:spc
694 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof(*inl); in build_inline_wqe() local
697 if (skb->len <= spc) { in build_inline_wqe()
711 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe()
712 if (hlen <= spc) { in build_inline_wqe()
714 if (hlen < spc) { in build_inline_wqe()
716 fragptr, spc - hlen); in build_inline_wqe()
717 fragptr += spc - 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()
725 hlen - spc); 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()