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:
Daniel Verkamp 2016-05-12 09:40:21 -07:00
parent 8f4ef2a843
commit cd8e9833f9
2 changed files with 1 additions and 4 deletions

View File

@ -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;
}

View File

@ -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 */
};
/**