Commit 2768b2de authored by Jan Glauber's avatar Jan Glauber Committed by Martin Schwidefsky

[S390] qdio: reset outbound SBAL error states

Don't leave outbound SBALs in error state after a target full condition.
Reset the state to not initialized to make the error handling consistent
across all types of errors.
Signed-off-by: default avatarJan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 25f269f1
...@@ -450,7 +450,7 @@ static void process_buffer_error(struct qdio_q *q, int count) ...@@ -450,7 +450,7 @@ static void process_buffer_error(struct qdio_q *q, int count)
qperf_inc(q, target_full); qperf_inc(q, target_full);
DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "OUTFULL FTC:%02x", DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "OUTFULL FTC:%02x",
q->first_to_check); q->first_to_check);
return; goto set;
} }
DBF_ERROR("%4x BUF ERROR", SCH_NO(q)); DBF_ERROR("%4x BUF ERROR", SCH_NO(q));
...@@ -460,6 +460,7 @@ static void process_buffer_error(struct qdio_q *q, int count) ...@@ -460,6 +460,7 @@ static void process_buffer_error(struct qdio_q *q, int count)
q->sbal[q->first_to_check]->element[14].sflags, q->sbal[q->first_to_check]->element[14].sflags,
q->sbal[q->first_to_check]->element[15].sflags); q->sbal[q->first_to_check]->element[15].sflags);
set:
/* /*
* Interrupts may be avoided as long as the error is present * Interrupts may be avoided as long as the error is present
* so change the buffer state immediately to avoid starvation. * so change the buffer state immediately to avoid starvation.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment