Spdk/lib/virtio
Darek Stojaczyk 01103b2e4d virtio: allocate virtqueue structs using regular calloc
The DMA-able vrings are allocated separately, so
the general virtqueue object can be allocated with
regular malloc - it only contains some local PMD
context.

While here, also allocate those DMA-able vrings using
spdk_zmalloc() instead of spdk_dma_zmalloc(), as
spdk_dma_*malloc() is about to be deprecated.

Change-Id: I06b9e0256c14c21747c253f05b63ef2361f465c7
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/450550
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2019-04-17 22:53:05 +00:00
..
virtio_user virtio: export spec-defined structures into a separate header 2019-03-13 14:26:20 +00:00
Makefile virtio: add new library virtio 2017-12-26 13:03:29 -05:00
virtio_pci.c virtio: allocate virtqueue structs using regular calloc 2019-04-17 22:53:05 +00:00
virtio_user.c virtio: allocate virtqueue structs using regular calloc 2019-04-17 22:53:05 +00:00
virtio.c virtio: allocate virtqueue structs using regular calloc 2019-04-17 22:53:05 +00:00