Lines Matching refs:copy_size
744 BUG_ON(ctx->copy_size > skb_headlen(skb)); in vmxnet3_map_pkt()
753 if (ctx->copy_size) { in vmxnet3_map_pkt()
757 ctx->sop_txd->dword[2] = cpu_to_le32(dw2 | ctx->copy_size); in vmxnet3_map_pkt()
775 len = skb_headlen(skb) - ctx->copy_size; in vmxnet3_map_pkt()
776 buf_offset = ctx->copy_size; in vmxnet3_map_pkt()
908 ctx->copy_size = ctx->l4_offset + ctx->l4_hdr_size; in vmxnet3_parse_hdr()
912 ctx->copy_size = ctx->l4_offset + ctx->l4_hdr_size; in vmxnet3_parse_hdr()
960 ctx->copy_size = min(ctx->l4_offset + in vmxnet3_parse_hdr()
966 ctx->copy_size = min_t(unsigned int, in vmxnet3_parse_hdr()
972 ctx->copy_size = skb->len; in vmxnet3_parse_hdr()
975 if (unlikely(!pskb_may_pull(skb, ctx->copy_size))) in vmxnet3_parse_hdr()
979 if (unlikely(ctx->copy_size > tq->txdata_desc_size)) { in vmxnet3_parse_hdr()
981 ctx->copy_size = 0; in vmxnet3_parse_hdr()
1011 memcpy(tdd->data, skb->data, ctx->copy_size); in vmxnet3_copy_hdr()
1014 ctx->copy_size, tq->tx_ring.next2fill); in vmxnet3_copy_hdr()
1152 BUG_ON(ret <= 0 && ctx.copy_size != 0); in vmxnet3_tq_xmit()