net/virtio: add interrupt helper for split ring
authorTiwei Bie <tiwei.bie@intel.com>
Tue, 19 Mar 2019 06:43:10 +0000 (14:43 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Mar 2019 17:15:42 +0000 (18:15 +0100)
commit13cd890d0105c3ffde3e62ed069cfa913eec5b3c
tree0f862e100a8ea26626b820541aef6a61b20f876a
parentbc80357cd6775f94bacc83b60b01a3c886df8ceb
net/virtio: add interrupt helper for split ring

Add a helper for disabling interrupts in split ring to make the
code consistent with the corresponding code in packed ring.

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Jens Freimann <jfreimann@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtqueue.h