Skip to main content

nvme_set_features_arbitration

Function nvme_set_features_arbitration 

Source
pub unsafe extern "C" fn nvme_set_features_arbitration(
    fd: c_int,
    ab: __u8,
    lpw: __u8,
    mpw: __u8,
    hpw: __u8,
    save: bool,
    result: *mut __u32,
) -> c_int
Expand description

nvme_set_features_arbitration() - Set arbitration features @fd: File descriptor of nvme device @ab: Arbitration Burst @lpw: Low Priority Weight @mpw: Medium Priority Weight @hpw: High Priority Weight @save: Save value across power states @result: The command completion result from CQE dword0

Return: The nvme command status if a response was received (see &enum nvme_status_field) or -1 with errno set otherwise.