mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-20 14:16:02 +00:00
[netdrvr] sfc: Increment rx_reset when reported as driver event
An RX_RESET event can be reported either as a global or as a driver event. We were counting only global events. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
53269e94cd
commit
05e3ec0446
1 changed files with 1 additions and 0 deletions
|
@ -1129,6 +1129,7 @@ static void falcon_handle_driver_event(struct efx_channel *channel,
|
|||
case RX_RECOVERY_EV_DECODE:
|
||||
EFX_ERR(efx, "channel %d seen DRIVER RX_RESET event. "
|
||||
"Resetting.\n", channel->channel);
|
||||
atomic_inc(&efx->rx_reset);
|
||||
efx_schedule_reset(efx,
|
||||
EFX_WORKAROUND_6555(efx) ?
|
||||
RESET_TYPE_RX_RECOVERY :
|
||||
|
|
Loading…
Reference in a new issue