aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vhost/vhost.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-04-28 08:51:40 -0400
committerMichael S. Tsirkin <mst@redhat.com>2013-05-01 03:02:53 -0400
commit81f95a55802be669b3191b2828c34006d0f04214 (patch)
treea13e1b13c962f738c53d15411d9b4ab1584dfdae /drivers/vhost/vhost.h
parent3dfbff328f0491b7049673cf7fd568d26a14fc4d (diff)
vhost: move per-vq net specific fields out to net
This will remove the need for vhost scsi to pull in virtio-net.h. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/vhost.h')
-rw-r--r--drivers/vhost/vhost.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h
index 3a36712e0792..1627eec0ca25 100644
--- a/drivers/vhost/vhost.h
+++ b/drivers/vhost/vhost.h
@@ -102,10 +102,7 @@ struct vhost_virtqueue {
102 /* hdr is used to store the virtio header. 102 /* hdr is used to store the virtio header.
103 * Since each iovec has >= 1 byte length, we never need more than 103 * Since each iovec has >= 1 byte length, we never need more than
104 * header length entries to store the header. */ 104 * header length entries to store the header. */
105 struct iovec hdr[sizeof(struct virtio_net_hdr_mrg_rxbuf)];
106 struct iovec *indirect; 105 struct iovec *indirect;
107 size_t vhost_hlen;
108 size_t sock_hlen;
109 struct vring_used_elem *heads; 106 struct vring_used_elem *heads;
110 /* We use a kind of RCU to access private pointer. 107 /* We use a kind of RCU to access private pointer.
111 * All readers access it from worker, which makes it possible to 108 * All readers access it from worker, which makes it possible to