Skip to content

Commit 08a78af

Browse files
BasharRadyaroot
authored andcommitted
issue: 4397660 Rename SW RX packets drop label
Renamed the print label from 'Packets dropped' to 'SW RX Packets dropped' to make it clear that the drop counter refers to software-level RX drops. Signed-off-by: Bashar Abdelgafer <[email protected]>
1 parent 2432ecf commit 08a78af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/stats/stats_reader.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,8 @@ void print_cq_stats(cq_instance_block_t *p_cq_inst_arr)
572572
p_cq_stats = &p_cq_inst_arr[i].cq_stats;
573573
printf("======================================================\n");
574574
printf("\tCQ=[%u]\n", i);
575-
printf(FORMAT_STATS_64bit, "Packets dropped:", p_cq_stats->n_rx_pkt_drop, post_fix);
575+
printf(FORMAT_STATS_64bit, "SW RX Packets dropped:", p_cq_stats->n_rx_pkt_drop,
576+
post_fix);
576577
printf(FORMAT_STATS_64bit, "HW RX drop counter (out of buffer)",
577578
p_cq_stats->n_rx_drop_counter, post_fix);
578579
printf(FORMAT_STATS_32bit, "Packets queue len:", p_cq_stats->n_rx_sw_queue_len);

0 commit comments

Comments
 (0)