commit | 9d8b5f05529c619b63d68b0dd26a1dfe35a4fab2 | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Mon May 04 04:50:39 2020 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon May 04 10:44:11 2020 -0700 |
tree | 7d51afe852a1efd657f0638fd2aa01dedff91282 | |
parent | 098286ff930ca752e4c9295ea65840dd55f5f290 [diff] |
bnxt_en: Refactor the software ring counters. We currently have 3 software ring counters, rx_l4_csum_errors, rx_buf_errors, and missed_irqs. The 1st two are RX counters and the last one is a common counter. Organize them into 2 structures bnxt_rx_sw_stats and bnxt_cmn_sw_stats. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>