diff options
author | 2012-10-16 23:56:14 +1030 | |
---|---|---|
committer | 2012-12-18 15:20:33 +1030 | |
commit | 9ed4cb073438e2154778f0d693d966359afd6549 (patch) | |
tree | d69dcb3b8a8cf9b719a8ee648551debbbf3152b6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | virtio-net: remove unused skb_vnet_hdr->num_sg field (diff) | |
download | linux-dev-9ed4cb073438e2154778f0d693d966359afd6549.tar.xz linux-dev-9ed4cb073438e2154778f0d693d966359afd6549.zip |
virtio_net: don't rely on virtqueue_add_buf() returning capacity.
Now we can easily use vq->num_free to determine if there are descriptors
left in the queue, we're about to change virtqueue_add_buf() to return 0
on success. The virtio_net driver is the only one which actually uses
the return value, so change that.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions