1nvme_get_feature_length2(9) libnvme API manual nvme_get_feature_length2(9)
2
3
4
6 nvme_get_feature_length2 - Retreive the command payload length for a
7 specific feature identifier
8
10 int nvme_get_feature_length2 (int fid , __u32 cdw11 , enum
11 nvme_data_tfr dir , __u32 *len );
12
14 fid Feature identifier, see enum nvme_features_id.
15
16 cdw11 The cdw11 value may affect the transfer (only known fid is
17 NVME_FEAT_FID_HOST_ID)
18
19 dir Data transfer direction: false - host to controller, true -
20 controller to host may affect the transfer (only known fid
21 is NVME_FEAT_FID_HOST_MEM_BUF).
22
23 len On success, set to this features payload length in bytes.
24
26 0 on success, -1 with errno set to EINVAL if the function did not rec‐
27 ognize fid.
28
29
30
31November 2022 nvme_get_feature_length2nvme_get_feature_length2(9)