]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve nvme: Remove redundant AER Limit checks
authorChuck Tuffli <chuck@FreeBSD.org>
Sun, 30 Jan 2022 07:07:29 +0000 (23:07 -0800)
committerChuck Tuffli <chuck@FreeBSD.org>
Sun, 30 Jan 2022 07:07:29 +0000 (23:07 -0800)
commit45ab4076f36b428595ba1ce200515fda6af58a76
treea3f86150b8a56eef6e6c87ab55defd8aabc59477
parent785b5da318bf0e523fa00b3c9c6fde94b1156542
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
usr.sbin/bhyve/pci_nvme.c