Page MenuHomeFreeBSD

bhyve nvme: Implement LBA Range Type feature
AbandonedPublic

Authored by chuck on Dec 19 2021, 4:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 6 2024, 9:46 AM
Unknown Object (File)
Sep 28 2024, 7:32 AM
Unknown Object (File)
Sep 23 2024, 1:54 AM
Unknown Object (File)
Sep 19 2024, 6:05 AM
Unknown Object (File)
Sep 4 2024, 8:52 PM
Unknown Object (File)
Sep 2 2024, 3:04 PM
Unknown Object (File)
Jul 9 2024, 8:01 PM
Unknown Object (File)
Jun 7 2024, 3:20 AM

Details

Reviewers
grehan
jhb
imp
rpokala
allanjude
Group Reviewers
bhyve
Summary

Add minimal support for setting and getting the LBA Range Type feature.

Tested by:
MFC after: 2 weeks

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43480
Build 40368: arc lint + arc unit

Event Timeline

chuck requested review of this revision.Dec 19 2021, 4:16 PM

struct nvme_lba_range_type lba_range did not initialize when the controller initialized/reset.
how about add an init method to the nvme_feature_obj struct and call it when the feature needs initialization.

allanjude added a subscriber: allanjude.

Reviewed By: allanjude

This revision is now accepted and ready to land.Dec 23 2021, 5:21 PM
imp added inline comments.
usr.sbin/bhyve/pci_nvme.c
336

Does this need to be initialized to something other than 0? Do we need to persist set values?

Dropping this feature as it is not mandatory