aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorRusty Russell <[email protected]>2010-07-02 16:34:01 +0000
committerDavid S. Miller <[email protected]>2010-07-02 22:27:26 -0700
commit58eba97d0774c69b1cf3e5a8ac74419409d1abbf (patch)
tree985ad7b05c0b4952ff76f83dfab87f18466ebe4f /tools/perf/util/trace-event-scripting.c
parent1788f49548860fa1c861ee3454d47b466c877e43 (diff)
virtio_net: fix oom handling on tx
virtio net will never try to overflow the TX ring, so the only reason add_buf may fail is out of memory. Thus, we can not stop the device until some request completes - there's no guarantee anything at all is outstanding. Make the error message clearer as well: error here does not indicate queue full. Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Rusty Russell <[email protected]> (...and avoid TX_BUSY) Cc: [email protected] # .34.x (s/virtqueue_/vi->svq->vq_ops->/) 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