Skip to content

Commit 6ffed94

Browse files
Jan GlauberMartin Schwidefsky
authored andcommitted
[S390] qdio: remove multicast polling
The multicast poll check for the outbound queue is redundant since 3d6c76f "[S390] qdio: outbound tasklet scan threshold". Remove the check. Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
1 parent 2768b2d commit 6ffed94

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

‎drivers/s390/cio/qdio.h‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@
1818
#define QDIO_BUSY_BIT_RETRIES 1000 /* = 10s retry time */
1919
#define QDIO_INPUT_THRESHOLD (500 << 12) /* 500 microseconds */
2020

21-
/*
22-
* if an asynchronous HiperSockets queue runs full, the 10 seconds timer wait
23-
* till next initiative to give transmitted skbs back to the stack is too long.
24-
* Therefore polling is started in case of multicast queue is filled more
25-
* than 50 percent.
26-
*/
27-
#define QDIO_IQDIO_POLL_LVL 65 /* HS multicast queue */
28-
2921
enum qdio_irq_states {
3022
QDIO_IRQ_STATE_INACTIVE,
3123
QDIO_IRQ_STATE_ESTABLISHED,

‎drivers/s390/cio/qdio_main.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -921,10 +921,6 @@ static void __qdio_outbound_processing(struct qdio_q *q)
921921
if (!pci_out_supported(q) && !qdio_outbound_q_done(q))
922922
goto sched;
923923

924-
if ((queue_type(q) == QDIO_IQDIO_QFMT) &&
925-
(atomic_read(&q->nr_buf_used)) > QDIO_IQDIO_POLL_LVL)
926-
goto sched;
927-
928924
if (q->u.out.pci_out_enabled)
929925
return;
930926

0 commit comments

Comments
 (0)