Skip to content

Commit

Permalink
s390/qeth: support GRO flush timer
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
julianwiedmann authored and davem330 committed Oct 20, 2017
1 parent 864c17c commit 978759e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/s390/net/qeth_core_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 978759e

Please sign in to comment.