]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bnxt_en: Retrieve hardware masks for port counters.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 27 Jul 2020 09:40:42 +0000 (05:40 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2020 18:47:33 +0000 (11:47 -0700)
commit531d1d269c1d432d691026c82d04b7bb5f1ae318
tree344db28a51b43fbab66cce6375d855c6e7015ef9
parentd752d0536c979068084e0c60ff506c07e1cf613e
bnxt_en: Retrieve hardware masks for port counters.

If supported by newer firmware, make the firmware call to query all
the port counter masks.  If not supported, assume 40-bit port
counter masks.

Reviewed-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
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