nvme: add SPDK_NVME_OPC_GET_LBA_STATUS
This optional OPC was added to the NVMe 1.4 spec. Also add its corresponding bit in OACS. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I61d7e7f0210b0617aaaf932e8fac060df79f7d6b Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/482016 Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
3fa2205647
commit
4df28960e2
@ -1263,6 +1263,8 @@ enum spdk_nvme_admin_opcode {
|
||||
SPDK_NVME_OPC_SECURITY_RECEIVE = 0x82,
|
||||
|
||||
SPDK_NVME_OPC_SANITIZE = 0x84,
|
||||
|
||||
SPDK_NVME_OPC_GET_LBA_STATUS = 0x86,
|
||||
};
|
||||
|
||||
/**
|
||||
@ -1588,7 +1590,10 @@ struct __attribute__((packed)) __attribute__((aligned)) spdk_nvme_ctrlr_data {
|
||||
/** Supports SPDK_NVME_OPC_DOORBELL_BUFFER_CONFIG */
|
||||
uint16_t doorbell_buffer_config : 1;
|
||||
|
||||
uint16_t oacs_rsvd : 7;
|
||||
/** Supports SPDK_NVME_OPC_GET_LBA_STATUS */
|
||||
uint16_t get_lba_status : 1;
|
||||
|
||||
uint16_t oacs_rsvd : 6;
|
||||
} oacs;
|
||||
|
||||
/** abort command limit */
|
||||
|
Loading…
x
Reference in New Issue
Block a user