提交 def824c0 编写于 作者: A Ajit Khaparde 提交者: David S. Miller

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: NAjit Khaparde <ajitk@serverengines.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 6d87f5c3
...@@ -90,6 +90,9 @@ static const struct be_ethtool_stat et_stats[] = { ...@@ -90,6 +90,9 @@ static const struct be_ethtool_stat et_stats[] = {
{PORTSTAT_INFO(rx_non_rss_packets)}, {PORTSTAT_INFO(rx_non_rss_packets)},
{PORTSTAT_INFO(rx_ipv4_packets)}, {PORTSTAT_INFO(rx_ipv4_packets)},
{PORTSTAT_INFO(rx_ipv6_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_unicastframes)},
{PORTSTAT_INFO(tx_multicastframes)}, {PORTSTAT_INFO(tx_multicastframes)},
{PORTSTAT_INFO(tx_broadcastframes)}, {PORTSTAT_INFO(tx_broadcastframes)},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册