Message ID | 20171018154025.73630-13-jwi@linux.vnet.ibm.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
Series | s390/net: updates 2017-10-18 | expand |
On Wed, 2017-10-18 at 17:40 +0200, Julian Wiedmann wrote: > 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: Julian Wiedmann <jwi@linux.vnet.ibm.com> > --- Reviewed-by: Eric Dumazet <edumazet@google.com>
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index 8855bc8534d2..98b7e1ce0dd1 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c @@ -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)) napi_schedule(&card->napi); out:
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: Julian Wiedmann <jwi@linux.vnet.ibm.com> --- drivers/s390/net/qeth_core_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)