]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
virtio_ring: extract split ring handling from ring creation
authorTiwei Bie <tiwei.bie@intel.com>
Wed, 21 Nov 2018 10:03:25 +0000 (18:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Nov 2018 06:17:39 +0000 (22:17 -0800)
commitd79dca75c79680f52a27a7ee1b6ae75066f36b3e
treee497ab48d572448fb62802ab5da602b1906f57eb
parentcbeedb72b97ad826e31e68e0717b763e2db0806d
virtio_ring: extract split ring handling from ring creation

Introduce a specific function to create the split ring.
And also move the DMA allocation and size information to
the .split sub-structure.

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/virtio/virtio_ring.c