nvme_init_directive_send-libnvme32
Initialize passthru command for directive send
Usage
void nvme_init_directive_send (struct libnvme_passthru_cmd *cmd , __u32 nsid , enum nvme_directive_send_doper doper , enum nvme_directive_dtype dtype , __u16 dspec , void *data , __u32 len );
Arguments
cmd
|
Passthru command to use |
|---|---|
nsid
|
Namespace ID, if applicable |
doper
|
Directive send operation, see enum nvme_directive_send_doper |
dtype
|
Directive type, see enum nvme_directive_dtype |
dspec
|
Directive specific field |
data
|
Data payload buffer to be send |
len
|
Length of data payload in bytes |
Overview
Initializes the passthru command buffer for the Directive Send command.