71159819b0
Command with cns SPDK_NVME_IDENTIFY_ACTIVE_NS_LIST is issued during controller initialization and if the controller supports SGL, this command will be built as a contig SGL. This leads to a failed completion with the following status: INVALID FIELD (00/02) sqid:0 cid:95 cdw0:0 sqhd:0004 p:1 m:0 dnr:0 The first identify command SPDK_NVME_IDENTIFY_CTRLR passed since it was built as a PRP command - we didn't know that the controller supported SGL at that time. Fix - do not build SGL requests for admin qpair Change-Id: I72ab7fe33c03e60ea9f20a9c8afd7c79c40843aa Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478320 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>