diff options
author | Michael Chan <michael.chan@broadcom.com> | 2019-07-29 06:10:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-29 14:19:09 -0700 |
commit | 4e7485066373f3e9a87fa063b65d0838990753e5 (patch) | |
tree | 23ba1f76560a3967f588e6871098cf84fcb16dc8 /drivers/net/ethernet/broadcom/bnxt/bnxt.h | |
parent | bnxt_en: Refactor ethtool ring statistics logic. (diff) | |
download | linux-dev-4e7485066373f3e9a87fa063b65d0838990753e5.tar.xz linux-dev-4e7485066373f3e9a87fa063b65d0838990753e5.zip |
bnxt_en: Allocate the larger per-ring statistics block for 57500 chips.
The new TPA implemantation has additional TPA counters that extend the
per-ring statistics block. Allocate the proper size accordingly.
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.h b/drivers/net/ethernet/broadcom/bnxt/bnxt.h index 309cf99bcda9..6c710d70adbd 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.h +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.h @@ -1607,6 +1607,7 @@ struct bnxt { int hw_port_stats_size; u16 fw_rx_stats_ext_size; u16 fw_tx_stats_ext_size; + u16 hw_ring_stats_size; u8 pri2cos[8]; u8 pri2cos_valid; |