Spdk/lib/nvmf
Jiewei Ke a9bdb1ee73 lib/nvmf: mask pending AENs
Per section 5.2 of the NVMe 1.3 spec:

"When the controller posts a completion queue entry for an outstanding
Asynchronous Event Request command and thus reports an asynchronous
event, subsequent events of that event type are automatically masked by
the controller until the host clears that event. An event is cleared by
reading the log page associated with that event using the Get Log Page
command (see section 5.14)."

Signed-off-by: Jiewei Ke <jiewei@smartx.com>
Change-Id: I0773ce1b704c2124db354fd19e0a8a19da48da54
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5462
Community-CI: Broadcom CI
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2020-12-18 09:48:07 +00:00
..
ctrlr_bdev.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
ctrlr_discovery.c nvmf: Async event support for discovery log change 2020-11-11 00:53:57 +00:00
ctrlr.c lib/nvmf: mask pending AENs 2020-12-18 09:48:07 +00:00
fc_ls.c Revert "nvmf/fc: Initialize transport id for the newly created FC transport qpair" 2020-12-18 09:40:13 +00:00
fc.c nvmf/fc: Create fc_req pool per connection. 2020-12-17 04:40:33 +00:00
Makefile nvmf: Allow nvmf_transport_qpair_fini to complete asynchronously. 2020-11-18 11:28:02 +00:00
nvmf_fc.h nvmf/fc: Cleanup fc delete connection code. 2020-12-17 04:40:33 +00:00
nvmf_internal.h lib/nvmf: mask pending AENs 2020-12-18 09:48:07 +00:00
nvmf_rpc.c lib/nvmf: support ABI compatibility for spdk_nvmf_transport_opts 2020-12-11 11:10:16 +00:00
nvmf.c nvmf: assert that subsystem cb_fn/cb_arg don't get set twice 2020-12-14 14:32:29 +00:00
rdma.c Revert "lib/nvmf: Add trid to struct spdk_nvmf_qpair" 2020-12-18 09:40:13 +00:00
spdk_nvmf.map nvmf: Add spdk_nvmf_subsystem_disconnect_host 2020-10-15 08:24:05 +00:00
subsystem.c nvmf: The maximum number of namespaces a subsystem may contain must now 2020-12-01 10:20:43 +00:00
tcp.c Revert "lib/nvmf: Add trid to struct spdk_nvmf_qpair" 2020-12-18 09:40:13 +00:00
transport.c lib/nvmf: support ABI compatibility for spdk_nvmf_transport_opts 2020-12-11 11:10:16 +00:00
transport.h nvmf: Allow nvmf_transport_qpair_fini to complete asynchronously. 2020-11-18 11:28:02 +00:00