Spdk/lib/virtio
Dariusz Stojaczyk 8c6bd59704 virtio: remove unnecessary if
This `if` came from the original DPDK virtio PMD.
Generally, we do not want to trigger cache coherency
updates if we don't have to, but in this particular
case we know we always do.

If there were no changes to the avail index, there
would be no requests started and the function would
return much earlier.

Change-Id: Ic1231cf82288c1cb95dc89346f54d51849b8bae9
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/415589
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2018-06-18 22:31:32 +00:00
..
virtio_user virtio: merge contiguous memory regions 2018-06-01 20:14:32 +00:00
Makefile virtio: add new library virtio 2017-12-26 13:03:29 -05:00
virtio_pci.c virtio: rename ops->get_queue_num callback 2018-04-18 12:32:00 -04:00
virtio_user.c virtio: rename ops->get_queue_num callback 2018-04-18 12:32:00 -04:00
virtio.c virtio: remove unnecessary if 2018-06-18 22:31:32 +00:00