diff options
author | Raghu Vatsavayi <rvatsavayi@caviumnetworks.com> | 2016-06-22 08:53:11 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-25 19:08:29 +0300 |
commit | 1f164717cb1ee722dc58dc32bbcb01ac506d254f (patch) | |
tree | e979d57fda645aba0d6f2c89938d4dac5753751f /drivers/net/ethernet/cavium/liquidio/octeon_device.h | |
parent | 78e6a9b4a43b2e45c5d0f26d487b2890ffb0f0b5 (diff) | |
download | linux-1f164717cb1ee722dc58dc32bbcb01ac506d254f.tar.xz |
liquidio: New statistics support
This patch adds extensive support of statistics for data path,
control path and firmware.
Signed-off-by: Derek Chickles <derek.chickles@caviumnetworks.com>
Signed-off-by: Satanand Burla <satananda.burla@caviumnetworks.com>
Signed-off-by: Felix Manlunas <felix.manlunas@caviumnetworks.com>
Signed-off-by: Raghu Vatsavayi <raghu.vatsavayi@caviumnetworks.com>
Signed-off-by: Raghu Vatsavayi <rvatsavayi@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/liquidio/octeon_device.h')
-rw-r--r-- | drivers/net/ethernet/cavium/liquidio/octeon_device.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cavium/liquidio/octeon_device.h b/drivers/net/ethernet/cavium/liquidio/octeon_device.h index ceb905d9ef4c..95b4eb71c533 100644 --- a/drivers/net/ethernet/cavium/liquidio/octeon_device.h +++ b/drivers/net/ethernet/cavium/liquidio/octeon_device.h @@ -394,6 +394,12 @@ struct octeon_device { struct cavium_wk console_poll_work[MAX_OCTEON_MAPS]; void *priv; + + int rx_pause; + int tx_pause; + + struct oct_link_stats link_stats; /*stastics from firmware*/ + }; #define OCT_DRV_ONLINE 1 |