Skip to content

Commit

Permalink
net/ngbe: fix extended statistics
Browse files Browse the repository at this point in the history
[ upstream commit 9e2d2fadf89721b6b3ad639f9ad69b672589820a ]

Fix to show tx_broadcast_packets and tx_multicast_packets counters.

Fixes: 8b433d0 ("net/ngbe: support device xstats")

Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
  • Loading branch information
Jiawen Wu authored and kevintraynor committed Jul 12, 2023
1 parent edf9b54 commit fcea6b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/ngbe/ngbe_ethdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ static const struct rte_ngbe_xstats_name_off rte_ngbe_stats_strings[] = {
HW_XSTAT(tx_total_packets),
HW_XSTAT(rx_total_missed_packets),
HW_XSTAT(rx_broadcast_packets),
HW_XSTAT(tx_broadcast_packets),
HW_XSTAT(rx_multicast_packets),
HW_XSTAT(tx_multicast_packets),
HW_XSTAT(rx_management_packets),
HW_XSTAT(tx_management_packets),
HW_XSTAT(rx_management_dropped),
Expand Down

0 comments on commit fcea6b6

Please sign in to comment.