Loading
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>