]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - include/linux/virtio_ring.h
virtio: modify vring_init and vring_size to take account of the layout containing...
authorWang Sheng-Hui <shhuiw@gmail.com>
Mon, 29 Aug 2011 07:55:59 +0000 (15:55 +0800)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 2 Nov 2011 01:10:59 +0000 (11:40 +1030)
commit00b894e874581f6b388c5817d4d5546c22cf9640
tree18cf5e1b2067986b36996dc75321cea7c9935ac2
parent5f41f8bfc95e84536207b2af8918f2e674164a42
virtio: modify vring_init and vring_size to take account of the layout containing *_event_idx

Based on the layout description in the comments, take account of
the *_event_idx in functions vring_init and vring_size.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/virtio_ring.h