Commit 978759e8 authored by Julian Wiedmann's avatar Julian Wiedmann Committed by David S. Miller

s390/qeth: support GRO flush timer

Switch to napi_complete_done(), and thus enable delayed GRO flushing.
The timeout is configured via /sys/class/net/<if>/gro_flush_timeout.

Default timeout is 0, so no change in behaviour.
Signed-off-by: default avatarJulian Wiedmann <jwi@linux.vnet.ibm.com>
Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 864c17c3
...@@ -5370,7 +5370,7 @@ int qeth_poll(struct napi_struct *napi, int budget) ...@@ -5370,7 +5370,7 @@ int qeth_poll(struct napi_struct *napi, int budget)
} }
} }
napi_complete(napi); napi_complete_done(napi, work_done);
if (qdio_start_irq(card->data.ccwdev, 0)) if (qdio_start_irq(card->data.ccwdev, 0))
napi_schedule(&card->napi); napi_schedule(&card->napi);
out: out:
......
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