libnvme_mi_submit_entry-libnvme3(2)

libnvme_mi_submit_entry-libnvme32

Weak hook called before an mi message is sent.

Usage

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

Arguments

type

MCTP message type

hdr

Pointer to the MI message header

hdr_len

Length of the message header in bytes

data

Pointer to message payload data

data_len

Length of payload data in bytes

Overview

This is a weak symbol that can be overridden by an application to intercept outgoing MI messages for tracing or testing purposes. The return value is passed back as user_data to the matching libnvme_mi_submit_exit call.

Return

An opaque pointer passed to libnvme_mi_submit_exit, or NULL.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.