bhyve: fix NVMe Get Features, Predictable Latency
If the Predictable Latency Mode is not supported, NVMe Controllers must return Invalid Field in Command status for the Get Features command with IDs: - Predictable Latency Mode Config - Predictable Latency Mode Window Fixes UNH Tests 3.6 Tested by: Jason Tubnor MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D24899
This commit is contained in:
parent
ec62e183eb
commit
7ba02710da
@ -618,6 +618,10 @@ pci_nvme_init_features(struct pci_nvme_softc *sc)
|
||||
sc->feat[NVME_FEAT_NUMBER_OF_QUEUES].set = nvme_feature_num_queues;
|
||||
sc->feat[NVME_FEAT_INTERRUPT_VECTOR_CONFIGURATION].set =
|
||||
nvme_feature_iv_config;
|
||||
sc->feat[NVME_FEAT_PREDICTABLE_LATENCY_MODE_CONFIG].get =
|
||||
nvme_feature_invalid_cb;
|
||||
sc->feat[NVME_FEAT_PREDICTABLE_LATENCY_MODE_WINDOW].get =
|
||||
nvme_feature_invalid_cb;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user