Spdk/lib/vhost/rte_vhost
Daniel Verkamp a32ba31665 vhost/nvme: remove cmd and cqe magic numbers
Replace the hard-coded 64 and 16 constants, which are the size of the
submission queue entry and completion queue entry, with equivalent
sizeof expressions.

Change-Id: I5a9d8fc1ab98276312445f0699aae3d86beee705
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/408762
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-04-25 02:38:30 +00:00
..
fd_man.c vhost: upgrade SPDK vhost code to DPDK 17.05 2017-05-08 17:04:29 -07:00
fd_man.h vhost: upgrade SPDK vhost code to DPDK 17.05 2017-05-08 17:04:29 -07:00
Makefile rte_vhost: include rte_config.h via compiler option 2017-09-07 18:02:09 -04:00
rte_vhost.h vhost_scsi: support initiators without eventq/controlq 2018-04-23 20:23:30 +00:00
socket.c rte_vhost: mantain separate virtio features field in virtio_net 2017-11-14 15:39:49 -05:00
vhost_user.c vhost/nvme: remove cmd and cqe magic numbers 2018-04-25 02:38:30 +00:00
vhost_user.h vhost-nvme: reserve a bigger enough opcode to avoid conflict with QEMU 2018-04-24 16:41:40 +00:00
vhost.c vhost_scsi: support initiators without eventq/controlq 2018-04-23 20:23:30 +00:00
vhost.h vhost_user_nvme: add vhost user nvme target to SPDK 2018-04-03 15:01:24 -04:00