Reference

libnvme_mi_submit_exit-libnvme3(2)

Weak hook called after an MI message completes.

NAME

libnvme_mi_submit_exit - Weak hook called after an MI message completes.

SYNOPSIS

void libnvme_mi_submit_exit (__u8 type , const struct nvme_mi_msg_hdr *hdr , size_t hdr_len , const void *data , size_t data_len , void *user_data );

ARGUMENTS

type

MCTP message type

hdr

Pointer to the MI response message header

hdr_len

Length of the response message header in bytes

data

Pointer to response payload data

data_len

Length of response payload data in bytes

user_data

Value returned by the matching libnvme_mi_submit_entry call

DESCRIPTION

This is a weak symbol that can be overridden by an application to intercept completed MI transactions. Called with the opaque pointer returned by the corresponding libnvme_mi_submit_entry call.