Functions provided

Red Hat Enterprise Linux 8.6 LPAR mode z/VM guest

The zfcp HBA API implements Fibre Channel - HBA API (FC-HBA) functions as defined in the FC-HBA specification.

You can find the FC-HBA specification at www.t11.org. The following functions are available:

  • HBA_GetVersion()
  • HBA_LoadLibrary()
  • HBA_FreeLibrary()
  • HBA_RegisterLibrary()
  • HBA_RegisterLibraryV2()
  • HBA_GetNumberOfAdapters()
  • HBA_GetAdapterName()
  • HBA_OpenAdapter()
  • HBA_CloseAdapter()
  • HBA_RefreshInformation()
  • HBA_RefreshAdapterConfiguration()
  • HBA_GetAdapterAttributes()
  • HBA_GetAdapterPortAttributes()
  • HBA_GetDiscoveredPortAttributes()
  • HBA_GetFcpTargetMapping()
  • HBA_GetFcpTargetMappingV2()
  • HBA_SendScsiInquiry()
  • HBA_SendReadCapacity()
  • HBA_SendReportLUNs()
  • HBA_SendReportLUNsV2()
  • HBA_SendCTPassThru()
  • HBA_SendCTPassThruV2()
  • HBA_SetRNIDMgmtInfo()
  • HBA_GetRNIDMgmtInfo()
  • HBA_SendRNID()
  • HBA_SendRNIDV()
  • HBA_SendRPL()
  • HBA_SendRPS()
  • HBA_SendSRL()
  • HBA_SendLIRR()
  • HBA_GetEventBuffer()
  • HBA_RegisterForAdapterAddEvents()
  • HBA_RegisterForAdapterEvents()
  • HBA_RegisterForAdapterPortEvents()
  • HBA_RegisterForAdapterPortStatEvents()
  • HBA_RegisterForTargetEvents()
  • HBA_RegisterForLinkEvents()
  • HBA_RemoveCallback()

All other FC-HBA functions return status code HBA_STATUS_ERROR_NOT_SUPPORTED where possible.

Note: ZFCP HBA API can access only FCP devices, ports, and units that are configured in the operating system.