HomeFreeBSD

bhyve nvme: Remove redundant AER Limit checks

Description

bhyve nvme: Remove redundant AER Limit checks

The NVMe emulation checked if the Asynchronous Event Request Limit
(a.k.a AERL) would be exceeded in pci_nvme_aer_add(), but this function
is only called from nvme_opc_async_event_req() which also checks for
exceeding the AERL.

(cherry picked from commit 45ab4076f36b428595ba1ce200515fda6af58a76)

Details

Provenance
chuckAuthored on Jan 30 2022, 7:07 AM
Parents
rGae60b4cfe14b: bhyve nvme: Add missing Admin opcodes
Branches
Unknown
Tags
Unknown