Allocate a fabric domain object.
- Description
- This function starts a series of commands needed to connect to the domain, including
- REG_FCFI
- INIT_VFI
- READ_SPARMS
Note: Not all SLI interface types use all of the above commands.
Upon successful allocation, the HAL generates a OCS_HAL_DOMAIN_ALLOC_OK event. On failure, it generates a OCS_HAL_DOMAIN_ALLOC_FAIL event.
- Parameters
-
| hal | Hardware context. |
| domain | Pointer to the domain object. |
| fcf | FCF index. |
| vlan | VLAN ID. |
- Returns
- Returns 0 on success, or a non-zero value on failure.
Definition at line 3217 of file ocs_hal.c.