DOKK / manpages / debian 12 / libnvme-dev / nvme_directive_recv_stream_allocate.2.en
nvme_directive_recv_stream_allocate(2) libnvme API manual nvme_directive_recv_stream_allocate(2)

nvme_directive_recv_stream_allocate - Directive receive stream allocate

int nvme_directive_recv_stream_allocate (int fd , __u32 nsid , __u16 nsr , __u32 *result );

File descriptor of nvme device
Namespace ID
Namespace Streams Requested
If successful, the CQE dword0 value

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

nvme_directive_recv_stream_allocate January 2023