net/virtio: fix interrupt helper for packed ring
authorTiwei Bie <tiwei.bie@intel.com>
Tue, 19 Mar 2019 06:43:04 +0000 (14:43 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Mar 2019 17:15:42 +0000 (18:15 +0100)
commitc68fee95880820138a16cd2637b6de0300081dfb
tree928b8e3e8631ba82a1f802f6faa69c8592fb1ed2
parentba72caa0472f494c61573f65e41bdc6f3bdfc891
net/virtio: fix interrupt helper for packed ring

When disabling interrupt, the shadow event flags should also be
updated accordingly. The unnecessary wmb is also dropped.

Fixes: e9f4feb7e622 ("net/virtio: add packed virtqueue helpers")
Cc: stable@dpdk.org
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtqueue.h