bnxt_en: enable interrupt sampling on 5750X for DIM
authorAndy Gospodarek <gospo@broadcom.com>
Mon, 27 Dec 2021 08:00:28 +0000 (03:00 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Dec 2021 12:00:28 +0000 (12:00 +0000)
commitdc1f5d1ebc5c7f70cd352b2b71097f972b244c94
tree40e535a8536cef217421d2d27d9a7cd920ef24fe
parent0fb8582ae5b9bf0dc5a4fededabe7db16a8b430a
bnxt_en: enable interrupt sampling on 5750X for DIM

5750X (P5) chips handle receiving packets on the NQ rather than the main
completion queue so we need to get and set stats from the correct spots
for dynamic interrupt moderation.

Signed-off-by: Andy Gospodarek <gospo@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