Loading
ut/nvme_pcie: allocate nvme_pcie_qpair instead of spdk_nvme_qpair
This patch fixes stack-buffer-underflow errors, which started to appear after introducing e431ba2e ("nvme/pcie: add disable_pcie_sgl_merge option"). It happens, because nvme_pcie_qpair_build_hw_sgl_request() now touches nvme_pcie_qpair to retrieve the disable_pcie_sgl_merge option, while the test only allocated spdk_nvme_pqair. Fixes: #3451 Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I4fd778b11ff8ef12568b8b71b5f01aea9d2a5d03 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24300 Community-CI: Mellanox Build Bot Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Bypass-Merge-Requirements: Tomasz Zawadzki <tomasz.zawadzki@intel.com>