numam-dpdk/lib/librte_vhost
Yuanhan Liu abba423c1b vhost: reserve some space in structures
So that we will not break ABI in future extension by adding few more
fields.

Struct vhost_virtqueue is reserved with 16 qwords (the later vhost-live
migration support would at least consume 3 of them), and struct virtio_net
is reserved with a bit more, 64 qwords, as there is only one instance for
a virtio nic instance.

Note that both reservation are not placed at the end of the struct, but
instead before the last field, since both the last field at the two struct
take a lot spaces. Putting the reservation after it would divide those
reserved fields to another cacheline. (we might need fix them in future, btw)

Suggested-by: Panu Matilainen <pmatilai@redhat.com>
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2015-12-08 03:00:42 +01:00
..
eventfd_link vhost: fix kernel module insertion 2015-11-24 21:34:11 +01:00
libvirt vhost: fix qemu shutdown 2015-09-24 14:57:36 +02:00
vhost_cuse vhost: use new eventfd copy 2015-10-30 20:06:51 +01:00
vhost_user vhost: fix enabling vring per queue 2015-11-24 21:34:11 +01:00
Makefile vhost: realloc device and queues to same numa node as vring desc 2015-06-29 18:57:33 +02:00
rte_vhost_version.map vhost: cleanup unix socket 2015-06-30 17:49:08 +02:00
rte_virtio_net.h vhost: reserve some space in structures 2015-12-08 03:00:42 +01:00
vhost_rxtx.c vhost-user: handle message to enable vring 2015-10-26 21:23:53 +01:00
vhost-net.h lib: fix C++11 compilation 2015-02-24 02:46:52 +01:00
virtio-net.c vhost: fix guest descriptor closed on reset owner message 2015-11-24 21:34:11 +01:00
virtio-net.h vhost: implement cuse memory table 2015-02-24 01:38:14 +01:00