]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Add additional extended port statistics.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 14 Oct 2018 11:02:38 +0000 (07:02 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 05:44:31 +0000 (22:44 -0700)
commitf677ad3ee1d619afb3dba83f4136e1513db0c1a8
treef67d888b238ad46e466626815049269844ba5fc1
parenta91a13e552b49a206363f5b27045c80de3129123
bnxt_en: Add additional extended port statistics.

Latest firmware spec. has some additional rx extended port stats and new
tx extended port stats added.  We now need to check the size of the
returned rx and tx extended stats and determine how many counters are
valid.  New counters added include CoS byte and packet counts for rx
and tx.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c