nvme: remove unused CMB_SQ_SUPPORTED flag
The user can determine whether submission queues will be placed in the controller memory buffer by checking the controller options use_cmb_sqs flag in the attach callback. Change-Id: I8a925ef99a48665a0e2ffaa90d9ff2b79b90b2fa Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
8f4ef2a843
commit
cd8e9833f9
@ -963,9 +963,7 @@ nvme_ctrlr_map_cmb(struct spdk_nvme_ctrlr *ctrlr)
|
||||
ctrlr->cmb_size = size;
|
||||
ctrlr->cmb_current_offset = offset;
|
||||
|
||||
if (cmbsz.bits.sqs) {
|
||||
ctrlr->flags |= SPDK_NVME_CTRLR_CMB_SQ_SUPPORTED;
|
||||
} else {
|
||||
if (!cmbsz.bits.sqs) {
|
||||
ctrlr->opts.use_cmb_sqs = false;
|
||||
}
|
||||
|
||||
|
@ -139,7 +139,6 @@ enum nvme_payload_type {
|
||||
*/
|
||||
enum spdk_nvme_ctrlr_flags {
|
||||
SPDK_NVME_CTRLR_SGL_SUPPORTED = 0x1, /**< The SGL is supported */
|
||||
SPDK_NVME_CTRLR_CMB_SQ_SUPPORTED = 0x2, /**< The submission queue in controller memory buffer is supported */
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user