sfc: Recover from RX queue flush failure
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 sfc: Recover from RX queue flush failure
From: Steve Hodgson <[email protected]>
RX queue flush can fail if traffic continues to arrive. Recover by performing an invisible reset.
Signed-off-by Ben Hutchings <[email protected]>
--- drivers/net/sfc/falcon.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
drivers/net/sfc/falcon.c +3 -1
@@ -842,8 +842,10 @@ void falcon_fini_rx(struct efx_rx_queue *rx_queue)continue ;break ; } -if (rc) +if (rc) {EFX_ERR (efx,"failed to flush rx queue %d\n" , rx_queue->queue); +efx_schedule_reset (efx,RESET_TYPE_INVISIBLE ); + }/* Remove RX descriptor ring from card */ EFX_ZERO_OWORD (rx_desc_ptr);
Signature · 2 lines
Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job.
Jeff Garzik
AppliedQuoted 9 lines · Ben Hutchings
From: Steve Hodgson <[email protected]>
RX queue flush can fail if traffic continues to arrive. Recover by performing an invisible reset.
Signed-off-by Ben Hutchings <[email protected]>--- drivers/net/sfc/falcon.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
applied