Fix to show tx_broadcast_packets and tx_multicast_packets counters.

Fixes: 91fe49c87d76 ("net/txgbe: support device xstats")
Cc: sta...@dpdk.org

Signed-off-by: Jiawen Wu <jiawe...@trustnetic.com>
---
 drivers/net/txgbe/txgbe_ethdev.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/txgbe/txgbe_ethdev.c b/drivers/net/txgbe/txgbe_ethdev.c
index 962667acdc..74765a469d 100644
--- a/drivers/net/txgbe/txgbe_ethdev.c
+++ b/drivers/net/txgbe/txgbe_ethdev.c
@@ -180,7 +180,9 @@ static const struct rte_txgbe_xstats_name_off 
rte_txgbe_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),
-- 
2.27.0

Reply via email to