Skip to content

Commit 4c52228

Browse files
braunuMartin Schwidefsky
authored andcommitted
[S390] qdio: continue polling for buffer state ERROR
Inbound traffic handling may hang if next buffer to check is in state ERROR, polling is stopped and the final check for further available inbound buffers disregards buffers in state ERROR. This patch includes state ERROR when checking availability of more inbound buffers. Cc: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
1 parent deb0c98 commit 4c52228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/s390/cio/qdio_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ static inline int qdio_inbound_q_done(struct qdio_q *q)
531531
qdio_siga_sync_q(q);
532532
get_buf_state(q, q->first_to_check, &state, 0);
533533

534-
if (state == SLSB_P_INPUT_PRIMED)
534+
if (state == SLSB_P_INPUT_PRIMED || state == SLSB_P_INPUT_ERROR)
535535
/* more work coming */
536536
return 0;
537537

0 commit comments

Comments
 (0)