Blame README

Packit Service 35c908
                      Linux* HBAAPI Vendor Library
Packit Service 35c908
                      ============================
Packit Service 35c908
Packit Service 35c908
Introduction
Packit Service 35c908
------------
Packit Service 35c908
Packit Service 35c908
HBAAPI stands for Host Bus Adapter API (Applications Programming Interface).
Packit Service 35c908
It is a C-level shared library to manage Fibre Channel Host Bus Adapters.
Packit Service 35c908
The HBAAPI library source code may be downloaded from http://sourceforge.net/.
Packit Service 35c908
For a detailed description of HBAAPI please see the FC-HBA working draft in
Packit Service 35c908
http://www.t11.org/index.html. The HBAAPI shared library will also be built
Packit Service 35c908
when the vendor library is built, and will be named as libHBAAPI.so.
Packit Service 35c908
Packit Service 35c908
The HBAAPI vendor library is a shared library with functions that support
Packit Service 35c908
the API routines in the HBAAPI library. The HBAAPI vendor library will be
Packit Service 35c908
named as libhbalinux.so and is loaded by the HBAAPI library as a dynamic
Packit Service 35c908
library when the HBAAPI library is initialized. The vendor library invokes
Packit Service 35c908
the /sys file system for information of FCoE network adapters, local ports,
Packit Service 35c908
remote ports and discovered LUNs. It also gets adapter information with
Packit Service 35c908
the assistance from libpciaccess while the information are not available in
Packit Service 35c908
/sys. The ioctl calls are only used for SG_IO to issue SCSI commands to
Packit Service 35c908
generic scsi block devices. No ioctl are called to the libfc.ko or fcoe.ko
Packit Service 35c908
modules.
Packit Service 35c908
Packit Service 35c908
When applications are developed to link with libHBAAPI.so, they may
Packit Service 35c908
indirectly invoke libhbalinux.so behind the libHBAAPI.so. For instructions
Packit Service 35c908
of how to build and install the libraries, please see the file INSTALL.
Packit Service 35c908
Packit Service 35c908
Packit Service 35c908
In This Release
Packit Service 35c908
---------------
Packit Service 35c908
Packit Service 35c908
This release of the vendor library is implemented in association with the
Packit Service 35c908
version 2.2 (August 2002) of HBAAPI code from Source Forge.
Packit Service 35c908
Packit Service 35c908
The supported API's in this release are:
Packit Service 35c908
Packit Service 35c908
    HBA_GetVersion
Packit Service 35c908
    HBA_LoadLibrary
Packit Service 35c908
    HBA_FreeLibrary
Packit Service 35c908
    HBA_RegisterLibrary
Packit Service 35c908
    HBA_GetNumberOfAdapters
Packit Service 35c908
    HBA_GetAdapterName
Packit Service 35c908
    HBA_OpenAdapter
Packit Service 35c908
    HBA_CloseAdapter
Packit Service 35c908
    HBA_GetAdapterAttributes
Packit Service 35c908
    HBA_GetAdapterPortAttributes
Packit Service 35c908
    HBA_GetPortStatistics
Packit Service 35c908
    HBA_GetFC4Statistics
Packit Service 35c908
    HBA_GetFcpTargetMapping
Packit Service 35c908
    HBA_GetFcpTargetMappingV2
Packit Service 35c908
    HBA_SendScsiInquiry
Packit Service 35c908
    HBA_SendReportLUNs
Packit Service 35c908
    HBA_SendReadCapacity
Packit Service 35c908
    HBA_ScsiInquiryV2
Packit Service 35c908
    HBA_ScsiReportLUNsV2
Packit Service 35c908
    HBA_ScsiReadCapacityV2
Packit Service 35c908
Packit Service 35c908
Libhbalinux is maintained at www.Open-FCoE.org and the latest version can
Packit Service 35c908
be obtained there. Questions, comments and contributions should take place
Packit Service 35c908
on the development mailing list at www.Open-FCoE.org as well.
Packit Service 35c908