]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2x: Show port statistics in Multi-function
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Thu, 19 Nov 2015 15:04:36 +0000 (17:04 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 8 Jul 2016 02:28:34 +0000 (19:28 -0700)
commit1e449bb8a6eb890906c5481fa125e3c3a5e2118c
tree30d5bfe364f279fa3fe185011ae5cde4e21c3c01
parent3c7a1356adb85318f0eaa8e91328677bd53bf7f1
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>
Orabug: 23718192
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c