be2net: stats for packets received due to internal switching in ASIC.
Subsystems (2)
PATCH 5/6 be2net: stats for packets received due to internal switching in ASIC.
Counters for packets received due to internal switching are already available. This change will start displaying them in ethtool -S
Signed-off-by Ajit Khaparde <[email protected]>
--- drivers/net/benet/be_ethtool.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/net/benet/be_ethtool.c +3 -0
@@ -91,6 +91,9 @@ static const struct be_ethtool_stat et_stats[] = { {PORTSTAT_INFO(rx_non_rss_packets)}, {PORTSTAT_INFO(rx_ipv4_packets)}, {PORTSTAT_INFO(rx_ipv6_packets)}, + {PORTSTAT_INFO(rx_switched_unicast_packets)}, + {PORTSTAT_INFO(rx_switched_multicast_packets)}, + {PORTSTAT_INFO(rx_switched_broadcast_packets)}, {PORTSTAT_INFO(tx_unicastframes)}, {PORTSTAT_INFO(tx_multicastframes)}, {PORTSTAT_INFO(tx_broadcastframes)},
Signature · 1 line
1.7.0.4