---
name: "mptscsih_IssueTaskMgmt"
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_IssueTaskMgmt"
---

# mptscsih\_IssueTaskMgmt(9)

Generic send Task Management function.

## NAME

mptscsih\_IssueTaskMgmt - Generic send Task Management function.

## SYNOPSIS

**int mptscsih\_IssueTaskMgmt(MPT\_SCSI\_HOST \*** *hd***, u8** *type***, u8** *channel***, u8** *id***, int** *lun***, int** *ctx2abort***, ulong** *timeout***);**

## ARGUMENTS

*hd*

Pointer to MPT\_SCSI\_HOST structure

*type*

Task Management type

*channel*

channel number for task management

*id*

Logical Target ID for reset (if appropriate)

*lun*

Logical Unit for reset (if appropriate)

*ctx2abort*

Context for the task to be aborted (if appropriate)

*timeout*

timeout for task management control

## REMARK

\_HardResetHandler can be invoked from an interrupt thread (timer) or a non-interrupt thread. In the former, must not call **schedule**.

Not all fields are meaningfull for all task types.

Returns 0 for SUCCESS, or FAILED.

## COPYRIGHT
