Skip to content

Commit 1e1a61f

Browse files
committed
Removed tx_partial_reads
- metric is not used Signed-off-by: Milan Dhaduk <mdhaduk7@gmail.com> Signed-off-by: LDagnachew <leulmdagnachew@gmail.com>
1 parent 02817e8 commit 1e1a61f

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/vmm/src/devices/virtio/net/metrics.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,6 @@ pub struct NetDeviceMetrics {
189189
pub tx_count: SharedIncMetric,
190190
/// Number of transmitted packets.
191191
pub tx_packets_count: SharedIncMetric,
192-
/// Number of TX partial reads from guest.
193-
pub tx_partial_reads: SharedIncMetric,
194192
/// Number of events associated with the transmitting queue.
195193
pub tx_queue_event_count: SharedIncMetric,
196194
/// Number of events associated with the rate limiter installed on the transmitting path.
@@ -252,8 +250,6 @@ impl NetDeviceMetrics {
252250
self.tx_count.add(other.tx_count.fetch_diff());
253251
self.tx_packets_count
254252
.add(other.tx_packets_count.fetch_diff());
255-
self.tx_partial_reads
256-
.add(other.tx_partial_reads.fetch_diff());
257253
self.tx_queue_event_count
258254
.add(other.tx_queue_event_count.fetch_diff());
259255
self.tx_rate_limiter_event_count

tests/host_tools/fcmetrics.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ def validate_fc_metrics(metrics):
117117
"tx_fails",
118118
"tx_count",
119119
"tx_packets_count",
120-
"tx_partial_reads",
121120
"tx_queue_event_count",
122121
"tx_rate_limiter_event_count",
123122
"tx_rate_limiter_throttled",

0 commit comments

Comments
 (0)