commit | f7bc9594513d8f5a6e88e1486d48687ce5831834 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Wed Mar 20 15:44:28 2013 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Mar 20 15:45:01 2013 +1030 |
tree | 9a0f267c28eac13ff049ad98de342a05d2a1f733 | |
parent | bf9582910b26525d4eeaa9840b07e7bf820f04fb [diff] |
virtio_net: use virtqueue_add_sgs[] for command buffers. It's a bit cleaner to hand multiple sgs, rather than one big one. Cc: "Michael S. Tsirkin" <mst@redhat.com> Tested-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>