+9
−2
Loading
User may configure opts.max_qpairs_per_ctrlr, so use opts.max_qpairs_per_ctrlr instead of using fixed default NVMF_VFIO_USER_DEFAULT_MAX_QPAIRS_PER_CTRLR. Also do not allow users to configure max_qpairs_per_ctrl > NVMF_VFIO_USER_DEFAULT_MAX_QPAIRS_PER_CTRLR. Signed-off-by:Swapnil Ingle <swapnil.ingle@nutanix.com> Change-Id: Id9f1f796559f3bb8b2d3f5031606050470681b99 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9994 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
John Levon <levon@movementarian.org> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>