bnx2x: Show port statistics in Multi-function
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Thu, 19 Nov 2015 15:04:36 +0000 (17:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Nov 2015 17:14:52 +0000 (12:14 -0500)
commit3fb2d4926c9363791a61404ac4d3b66f17244f00
treefbb1709144425d2343db5f7a0ec85ecd8c5ccb4e
parent6a5311982e423ddacc2e39e1e32f4371756752d6
bnx2x: Show port statistics in Multi-function

Today, port statistics are being presented when using `ethool -S' only
for single-function devices, but there are some port statistics which are
crucial for analyzing bottle-necks. E.g., HW Rx discards due to lack of
buffer space [when device isn't handling ingress traffic fast enough].

Judging the pros and cons, it was decided that in-order to better support
automatic dump-gathering tools, bnx2x should no longer hide those stats.
This leaves only VFs lacking the port statistics.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c