summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2020-09-20 21:08:59 -0400
committerDavid S. Miller <davem@davemloft.net>2020-09-20 19:04:45 -0700
commitc07fa08f02f4053b51dae1a6ee08bc644dc7846d (patch)
treec7bb46cee8d075719518b4a6e3b0ce7755643306 /net/switchdev/switchdev.c
parentd2b42d010f2941c2a85d970500b9d4ba79765593 (diff)
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions