man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: July 2014
 
 

FCOE_DeletePort(3FCOE)

Name

FCOE_DeletePort - delete an FCoE port

Synopsis

cc [ flag... ] file... -lfcoe [ 
library... ]
#include <libfcoe.h>


FCOE_STATUS FCOE_DeletePort(
const FCOE_UINT8 *macLinkName);

Parameters

macLinkName

The name of the MAC link from which to delete the FCoE port.

Description

The FCOE_DeletePort() function deletes an FCoE port from the specified MAC link.

Return Values

The following values are returned:

FCOE_STATUS_ERROR_BUSY

The fcoe driver is busy and cannot complete the operation.

FCOE_STATUS_ERROR_MAC_LEN

The MAC link name exceeds the maximum length.

FCOE_STATUS_ERROR_MAC_NOT_FOUND

The FCoE port was not found on the specified MAC link.

FCOE_STATUS_OK

The API call was successful.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
Safe

See Also

libfcoe(3LIB) , attributes (5)