Home
last modified time | relevance | path

Searched refs:size_bins (Results 1 – 6 of 6) sorted by relevance

/f-stack/dpdk/drivers/net/virtio/
H A Dvirtio_ethdev.c113 {"undersize_packets", offsetof(struct virtnet_rx, stats.size_bins[0])},
114 {"size_64_packets", offsetof(struct virtnet_rx, stats.size_bins[1])},
115 {"size_65_127_packets", offsetof(struct virtnet_rx, stats.size_bins[2])},
116 {"size_128_255_packets", offsetof(struct virtnet_rx, stats.size_bins[3])},
117 {"size_256_511_packets", offsetof(struct virtnet_rx, stats.size_bins[4])},
118 {"size_512_1023_packets", offsetof(struct virtnet_rx, stats.size_bins[5])},
119 {"size_1024_1518_packets", offsetof(struct virtnet_rx, stats.size_bins[6])},
1113 memset(txvq->stats.size_bins, 0, in virtio_dev_stats_reset()
1114 sizeof(txvq->stats.size_bins[0]) * 8); in virtio_dev_stats_reset()
1127 memset(rxvq->stats.size_bins, 0, in virtio_dev_stats_reset()
[all …]
H A Dvirtio_rxtx.h17 uint64_t size_bins[8]; member
H A Dvirtio_rxtx.c101 stats->size_bins[1]++; in virtio_update_packet_stats()
107 stats->size_bins[bin]++; in virtio_update_packet_stats()
110 stats->size_bins[0]++; in virtio_update_packet_stats()
112 stats->size_bins[6]++; in virtio_update_packet_stats()
114 stats->size_bins[7]++; in virtio_update_packet_stats()
/f-stack/dpdk/drivers/net/netvsc/
H A Dhn_ethdev.c66 { "undersize_packets", offsetof(struct hn_stats, size_bins[0]) },
67 { "size_64_packets", offsetof(struct hn_stats, size_bins[1]) },
68 { "size_65_127_packets", offsetof(struct hn_stats, size_bins[2]) },
69 { "size_128_255_packets", offsetof(struct hn_stats, size_bins[3]) },
70 { "size_256_511_packets", offsetof(struct hn_stats, size_bins[4]) },
71 { "size_512_1023_packets", offsetof(struct hn_stats, size_bins[5]) },
72 { "size_1024_1518_packets", offsetof(struct hn_stats, size_bins[6]) },
73 { "size_1519_max_packets", offsetof(struct hn_stats, size_bins[7]) },
H A Dhn_rxtx.c114 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 Dhn_var.h52 uint64_t size_bins[8]; member