virtio_ring: leverage event idx in packed ring
authorTiwei Bie <tiwei.bie@intel.com>
Wed, 21 Nov 2018 10:03:28 +0000 (18:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Nov 2018 06:17:39 +0000 (22:17 -0800)
commitf51f982682e2a612fa642dfee47cc8da63677148
treed7fee1b20490d8d2dff82d2f7ae254a200a6fdc0
parent1ce9e6055fa0a9043405c5604cf19169ec5379ff
virtio_ring: leverage event idx in packed ring

Leverage the EVENT_IDX feature in packed ring to suppress
events when it's available.

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