| 1 |
.TH "libnvme" 9 "struct nvme_mi_aem_config" "November 2025" "API Manual" LINUX |
| 2 |
.SH NAME |
| 3 |
struct nvme_mi_aem_config \- Provided for nvme_mi_aem_enable |
| 4 |
.SH SYNOPSIS |
| 5 |
struct nvme_mi_aem_config { |
| 6 |
.br |
| 7 |
.BI " enum nvme_mi_aem_handler_next_action (*aem_handler)(nvme_mi_ep_t ep,size_t num_events, void *userdata);" |
| 8 |
.br |
| 9 |
.BI " struct nvme_mi_aem_enabled_map enabled_map;" |
| 10 |
.br |
| 11 |
.BI " bool envfa;" |
| 12 |
.br |
| 13 |
.BI " bool empfa;" |
| 14 |
.br |
| 15 |
.BI " bool encfa;" |
| 16 |
.br |
| 17 |
.BI " __u8 aemd;" |
| 18 |
.br |
| 19 |
.BI " __u8 aerd;" |
| 20 |
.br |
| 21 |
.BI " |
| 22 |
}; |
| 23 |
.br |
| 24 |
|
| 25 |
.SH Members |
| 26 |
.IP "aem_handler" 12 |
| 27 |
Callback function for application processing of events |
| 28 |
.IP "enabled_map" 12 |
| 29 |
Map indicating which AE should be enabled on the endpoint |
| 30 |
.IP "envfa" 12 |
| 31 |
Enable SR-IOV virtual functions AE |
| 32 |
.IP "empfa" 12 |
| 33 |
Enable SR-IOV physical functions AE |
| 34 |
.IP "encfa" 12 |
| 35 |
Enable PCIe functions AE |
| 36 |
.IP "aemd" 12 |
| 37 |
AEM Delay (time in seconds from when event happens to AEM being batched and sent) |
| 38 |
.IP "aerd" 12 |
| 39 |
AEM Retry Delay (time in 100s of ms between AEM retries from the endpoint) |
| 40 |
.SH "Description" |
| 41 |
Application callbacks for nvme_mi_aem_process will be able to call |
| 42 |
nvme_mi_aem_get_next_event which will return a pointer to such an identifier |
| 43 |
for the next event the application should parse |