lib/nvme: Enable Async ANA Change Notice if supported
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ida297aaf5b8212dde5abfe8e2d3df8d333f6c109 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4157 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
parent
6c6efee89d
commit
ce7eee9861
@ -2228,6 +2228,9 @@ nvme_ctrlr_configure_aer(struct spdk_nvme_ctrlr *ctrlr)
|
||||
if (ctrlr->cdata.oaes.fw_activation_notices) {
|
||||
config.bits.fw_activation_notice = 1;
|
||||
}
|
||||
if (ctrlr->cdata.oaes.ana_change_notices) {
|
||||
config.bits.ana_change_notice = 1;
|
||||
}
|
||||
}
|
||||
if (ctrlr->vs.raw >= SPDK_NVME_VERSION(1, 3, 0) && ctrlr->cdata.lpa.telemetry) {
|
||||
config.bits.telemetry_log_notice = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user