Lines Matching defs:packets
41 /* Amount of XDP headroom to prepend to packets for use by xdp_adjust_head */
84 u64_stats_t packets;
94 u64_stats_t packets;
108 { "packets", VIRTNET_SQ_STAT(packets) },
117 { "packets", VIRTNET_RQ_STAT(packets) },
257 /* I like... big packets and I cannot lie! */
260 /* number of sg entries allocated for big packets */
263 /* Host will merge rx buffers for big packets (shake it! shake it!) */
384 * private is used to chain pages for big packets, put the whole
763 unsigned int packets = 0;
781 packets++;
784 /* Avoid overhead when no packets have been processed
787 if (!packets)
792 u64_stats_add(&sq->stats.packets, packets);
815 /* If running out of space, stop queue to avoid getting packets that we
822 * Since most packets only take 1 or 2 ring slots, stopping the queue
935 int packets = 0;
970 packets++;
992 u64_stats_add(&sq->stats.packets, packets);
1084 * at most queue size packets.
1086 * XDP should preclude the underlying device from sending packets
1504 * in-flight packets from before XDP was enabled reach
1524 * This should only happen for the first several packets.
1976 * before we're receiving packets, or from refill_work which is
2021 * won't get another interrupt, so process any outstanding packets now.
2081 int packets = 0;
2088 while (packets < budget &&
2091 packets++;
2094 while (packets < budget &&
2097 packets++;
2110 u64_stats_set(&stats.packets, packets);
2122 return packets;
2169 /* Out of packets? */
2442 /* Prevent the upper layer from trying to send packets. */
2572 tpackets = u64_stats_read(&sq->stats.packets);
2579 rpackets = u64_stats_read(&rq->stats.packets);
3129 /* TODO: Eliminate OOO packets during switching */
4370 /* If device can receive ANY guest GSO packets, regardless of mtu,
4371 * allocate packets of maximum size, otherwise limit it to only