]> git.baikalelectronics.ru Git - 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)
commit881528d42865116e9e79fdaef52a5a3d2dc8ece3
treee497ab48d572448fb62802ab5da602b1906f57eb
parent79e407a3ffa81dacb883fb271d0c0f9238e652f2
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