diff options
author | Paul Durrant <[email protected]> | 2013-12-11 10:57:15 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-12-12 13:35:38 -0500 |
commit | 10574059ce0451c6572c85329c772aa15085f8eb (patch) | |
tree | 292a2a641e2d6d3ec960c72ef28310c60549d987 /tools/perf/util/trace-event-scripting.c | |
parent | d55d282e6af88120ad90e93a88f70e3116dc0e3d (diff) |
xen-netback: napi: fix abuse of budget
netback seems to be somewhat confused about the napi budget parameter. The
parameter is supposed to limit the number of skbs processed in each poll,
but netback has this confused with grant operations.
This patch fixes that, properly limiting the work done in each poll. Note
that this limit makes sure we do not process any more data from the shared
ring than we intend to pass back from the poll. This is important to
prevent tx_queue potentially growing without bound.
Signed-off-by: Paul Durrant <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Ian Campbell <[email protected]>
Cc: David Vrabel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions