---
name: "mptscsih_taskmgmt_complete"
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/mptscsih_taskmgmt_complete"
---

# mptscsih\_taskmgmt\_complete(9)

Registered with Fusion MPT base driver

## NAME

mptscsih\_taskmgmt\_complete - Registered with Fusion MPT base driver

## SYNOPSIS

**int mptscsih\_taskmgmt\_complete(MPT\_ADAPTER \*** *ioc***, MPT\_FRAME\_HDR \*** *mf***, MPT\_FRAME\_HDR \*** *mr***);**

## ARGUMENTS

*ioc*

Pointer to MPT\_ADAPTER structure

*mf*

Pointer to SCSI task mgmt request frame

*mr*

Pointer to SCSI task mgmt reply frame

## DESCRIPTION

This routine is called from mptbase.c::**mpt\_interrupt** at the completion of any SCSI task management request. This routine is registered with the MPT (base) driver at driver load/init time via the **mpt\_register** API call.

Returns 1 indicating alloc'd request frame ptr should be freed.

## COPYRIGHT
