bnxt_en: Add port statistics support.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 7 Mar 2016 20:38:45 +0000 (15:38 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Mar 2016 19:51:43 +0000 (14:51 -0500)
commit3bdf56c47dfcd819ab1e73644c2eb9c72c08f29e
treebe401e2421fdec7ee22b71e2dccda4cd3243a4c5
parentf1a082a6f79fd5f06b27ef05a5ba7ec8d6e83b4c
bnxt_en: Add port statistics support.

Gather periodic port statistics if the device is PF and link is up.  This
is triggered in bnxt_timer() every one second to request firmware to DMA
the counters.

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