aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAmos Kong <[email protected]>2014-04-18 13:45:41 +0800
committerDavid S. Miller <[email protected]>2014-04-22 16:01:35 -0400
commitc18e9cd623b8aa88090615602c3db7f1386a139d (patch)
tree323cdee996e69c3d25862087585ac8125591a4b9 /tools/perf/scripts/python
parent235a251abad38910120ba2dbd77296983c1d71b2 (diff)
virtio_net: zero is an invald queue_pairs number
Execute "ethtool -L eth0 combined 0" in guest, if multiqueue is enabled, virtnet_send_command() will return -EINVAL error, there is a validation in QEMU. But if multiqueue is disabled, virtnet_set_queues() will just return zero (success). We should return error for this situation. Signed-off-by: Amos Kong <[email protected]> Acked-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions