Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44608
b: refs/heads/master
c: 028cf91
h: refs/heads/master
v: v3
  • Loading branch information
Ursula Braun authored and Martin Schwidefsky committed Dec 15, 2006
1 parent a89fc76 commit 4fb0ff2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 86b22470f68528c68cb25dbd58886040e1917494
refs/heads/master: 028cf917b258b11286437a1b96e64030f94fd46d
13 changes: 8 additions & 5 deletions trunk/drivers/s390/cio/qdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -979,12 +979,11 @@ __qdio_outbound_processing(struct qdio_q *q)

if (q->is_iqdio_q) {
/*
* for asynchronous queues, we better check, if the fill
* level is too high. for synchronous queues, the fill
* level will never be that high.
* for asynchronous queues, we better check, if the sent
* buffer is already switched from PRIMED to EMPTY.
*/
if (atomic_read(&q->number_of_buffers_used)>
IQDIO_FILL_LEVEL_TO_POLL)
if ((q->queue_type == QDIO_IQDIO_QFMT_ASYNCH) &&
!qdio_is_outbound_q_done(q))
qdio_mark_q(q);

} else if (!q->hydra_gives_outbound_pcis)
Expand Down Expand Up @@ -1825,6 +1824,10 @@ qdio_fill_qs(struct qdio_irq *irq_ptr, struct ccw_device *cdev,
q->sbal[j]=*(outbound_sbals_array++);

q->queue_type=q_format;
if ((q->queue_type == QDIO_IQDIO_QFMT) &&
(no_output_qs > 1) &&
(i == no_output_qs-1))
q->queue_type = QDIO_IQDIO_QFMT_ASYNCH;
q->int_parm=int_parm;
q->is_input_q=0;
q->schid = irq_ptr->schid;
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-s390/qdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#define QDIO_QETH_QFMT 0
#define QDIO_ZFCP_QFMT 1
#define QDIO_IQDIO_QFMT 2
#define QDIO_IQDIO_QFMT_ASYNCH 3

struct qdio_buffer_element{
unsigned int flags;
Expand Down

0 comments on commit 4fb0ff2

Please sign in to comment.