bnxt_en: Fix wrong flag value passed to HWRM_PORT_QSTATS_EXT fw call.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 21 Sep 2020 01:08:59 +0000 (21:08 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2020 02:04:45 +0000 (19:04 -0700)
commitc07fa08f02f4053b51dae1a6ee08bc644dc7846d
treec7bb46cee8d075719518b4a6e3b0ce7755643306
parentd2b42d010f2941c2a85d970500b9d4ba79765593
bnxt_en: Fix wrong flag value passed to HWRM_PORT_QSTATS_EXT fw call.

The wrong flag value caused the firmware call to return actual port
counters instead of the counter masks.  This messed up the counter
overflow logic and caused erratic extended port counters to be
displayed under ethtool -S.

Fixes: 531d1d269c1d ("bnxt_en: Retrieve hardware masks for port counters.")
Reviewed-by: Edwin Peer <edwin.peer@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