Lines Matching defs:size
50 /* RX packet size EWMA. The average packet size is used to determine the packet
51 * buffer size when refilling RX rings. As the entire RX ring may be refilled
53 * term, transient changes in packet size.
189 /* Min single buffer size for mergeable buffers case. */
280 /* Packet virtio header size */
672 static void *virtnet_rq_alloc(struct receive_queue *rq, u32 size, gfp_t gfp)
679 if (unlikely(!skb_page_frag_refill(size, alloc_frag, gfp)))
698 dma->len = alloc_frag->size - sizeof(*dma);
725 alloc_frag->offset += size;
1084 * at most queue size packets.
1272 pr_debug("%s: rx error: len %u exceeds max size %d\n",
1351 * 1. The size of the prefilled buffer is not fixed before xdp is set.
1510 /* Now XDP core assumes frag size is PAGE_SIZE, but buffers
1804 net_warn_ratelimited("%s: bad gso: type: %u, size: %u\n",
1824 * same size, except for the headroom. For this reason we do
1946 hole = alloc_frag->size - alloc_frag->offset;
4371 * allocate packets of maximum size, otherwise limit it to only
4372 * mtu size worth only.