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.

Reviewed by: imp, allanjude
Tested by: jason@tubnor.net
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D33570

Details

Provenance
chuckAuthored on Jan 30 2022, 7:07 AM
Reviewer
imp
Differential Revision
D33570: bhyve nvme: Remove redundant AER Limit checks
Parents
rG785b5da318bf: bhyve nvme: Add missing Admin opcodes
Branches
Unknown
Tags
Unknown