Searched refs:size_bins (Results 1 – 6 of 6) sorted by relevance
| /dpdk/drivers/net/virtio/ |
| H A D | virtio_ethdev.c | 111 {"undersize_packets", offsetof(struct virtnet_rx, stats.size_bins[0])}, 112 {"size_64_packets", offsetof(struct virtnet_rx, stats.size_bins[1])}, 113 {"size_65_127_packets", offsetof(struct virtnet_rx, stats.size_bins[2])}, 114 {"size_128_255_packets", offsetof(struct virtnet_rx, stats.size_bins[3])}, 115 {"size_256_511_packets", offsetof(struct virtnet_rx, stats.size_bins[4])}, 116 {"size_512_1023_packets", offsetof(struct virtnet_rx, stats.size_bins[5])}, 117 {"size_1024_1518_packets", offsetof(struct virtnet_rx, stats.size_bins[6])}, 1225 memset(txvq->stats.size_bins, 0, in virtio_dev_stats_reset() 1226 sizeof(txvq->stats.size_bins[0]) * 8); in virtio_dev_stats_reset() 1239 memset(rxvq->stats.size_bins, 0, in virtio_dev_stats_reset() [all …]
|
| H A D | virtio_rxtx.h | 17 uint64_t size_bins[8]; member
|
| H A D | virtio_rxtx.c | 92 stats->size_bins[1]++; in virtio_update_packet_stats() 98 stats->size_bins[bin]++; in virtio_update_packet_stats() 101 stats->size_bins[0]++; in virtio_update_packet_stats() 103 stats->size_bins[6]++; in virtio_update_packet_stats() 105 stats->size_bins[7]++; in virtio_update_packet_stats()
|
| /dpdk/drivers/net/netvsc/ |
| H A D | hn_ethdev.c | 75 { "undersize_packets", offsetof(struct hn_stats, size_bins[0]) }, 76 { "size_64_packets", offsetof(struct hn_stats, size_bins[1]) }, 77 { "size_65_127_packets", offsetof(struct hn_stats, size_bins[2]) }, 78 { "size_128_255_packets", offsetof(struct hn_stats, size_bins[3]) }, 79 { "size_256_511_packets", offsetof(struct hn_stats, size_bins[4]) }, 80 { "size_512_1023_packets", offsetof(struct hn_stats, size_bins[5]) }, 81 { "size_1024_1518_packets", offsetof(struct hn_stats, size_bins[6]) }, 82 { "size_1519_max_packets", offsetof(struct hn_stats, size_bins[7]) },
|
| H A D | hn_rxtx.c | 114 stats->size_bins[1]++; in hn_update_packet_stats() 120 stats->size_bins[bin]++; in hn_update_packet_stats() 123 stats->size_bins[0]++; in hn_update_packet_stats() 125 stats->size_bins[6]++; in hn_update_packet_stats() 127 stats->size_bins[7]++; in hn_update_packet_stats()
|
| H A D | hn_var.h | 50 uint64_t size_bins[8]; member
|