---
name: "mpt_get_msg_frame"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/mpt_get_msg_frame"
---

# mpt\_get\_msg\_frame(9)

Obtain an MPT request frame from the pool

## NAME

mpt\_get\_msg\_frame - Obtain an MPT request frame from the pool

## SYNOPSIS

**MPT\_FRAME\_HDR\* mpt\_get\_msg\_frame(u8** *cb\_idx***, MPT\_ADAPTER \*** *ioc***);**

## ARGUMENTS

*cb\_idx*

Handle of registered MPT protocol driver

*ioc*

Pointer to MPT adapter structure

## DESCRIPTION

Obtain an MPT request frame from the pool (of 1024) that are allocated per MPT adapter.

Returns pointer to a MPT request frame or **NULL** if none are available or IOC is not active.

## COPYRIGHT
