|
| static uint32_t | sli_page_count (size_t bytes, uint32_t page_size) |
| |
| static uint32_t | sli_eq_doorbell (uint16_t n_popped, uint16_t id, uint8_t arm) |
| |
| static uint32_t | sli_cq_doorbell (uint16_t n_popped, uint16_t id, uint8_t arm) |
| |
| static uint32_t | sli_iftype6_eq_doorbell (uint16_t n_popped, uint16_t id, uint8_t arm) |
| |
| static uint32_t | sli_iftype6_cq_doorbell (uint16_t n_popped, uint16_t id, uint8_t arm) |
| |
| static void | sli_set_wq_id_association (void *entry, uint16_t q_id) |
| | Format a WQE with WQ_ID Association performance hint. More...
|
| |
| static void | sli_queue_lock (sli4_queue_t *q) |
| |
| static void | sli_queue_unlock (sli4_queue_t *q) |
| |
| static uint32_t | sli_get_max_rsrc (sli4_t *sli4, sli4_resource_e rsrc) |
| |
| static uint32_t | sli_get_max_queue (sli4_t *sli4, sli4_qtype_e qtype) |
| |
| static uint32_t | sli_get_max_qentries (sli4_t *sli4, sli4_qtype_e qtype) |
| |
| static uint32_t | sli_get_max_sge (sli4_t *sli4) |
| |
| static uint32_t | sli_get_max_sgl (sli4_t *sli4) |
| |
| static sli4_link_medium_e | sli_get_medium (sli4_t *sli4) |
| |
| static void | sli_skh_chain_sge_build (sli4_t *sli4, sli4_sge_t *sge, uint32_t xri_index, uint32_t frag_num, uint32_t offset) |
| |
| static uint32_t | sli_get_sli_rev (sli4_t *sli4) |
| |
| static uint32_t | sli_get_sli_family (sli4_t *sli4) |
| |
| static uint32_t | sli_get_if_type (sli4_t *sli4) |
| |
| static void * | sli_get_wwn_port (sli4_t *sli4) |
| |
| static void * | sli_get_wwn_node (sli4_t *sli4) |
| |
| static void * | sli_get_vpd (sli4_t *sli4) |
| |
| static uint32_t | sli_get_vpd_len (sli4_t *sli4) |
| |
| static uint32_t | sli_get_fw_revision (sli4_t *sli4, uint32_t which) |
| |
| static void * | sli_get_fw_name (sli4_t *sli4, uint32_t which) |
| |
| static char * | sli_get_ipl_name (sli4_t *sli4) |
| |
| static uint32_t | sli_get_hw_revision (sli4_t *sli4, uint32_t which) |
| |
| static uint32_t | sli_get_auto_xfer_rdy_capable (sli4_t *sli4) |
| |
| static uint32_t | sli_get_tow_capable (sli4_t *sli4) |
| |
| static uint32_t | sli_get_tow_xris_max (sli4_t *sli4) |
| |
| static uint32_t | sli_get_xib_capable (sli4_t *sli4) |
| |
| static uint32_t | sli_get_suppress_rsp_not_supported (sli4_t *sli4) |
| |
| static uint32_t | sli_get_dif_capable (sli4_t *sli4) |
| |
| static uint32_t | sli_is_dif_inline_capable (sli4_t *sli4) |
| |
| static uint32_t | sli_is_dif_separate_capable (sli4_t *sli4) |
| |
| static uint32_t | sli_get_is_dual_ulp_capable (sli4_t *sli4) |
| |
| static uint32_t | sli_get_is_sgl_chaining_capable (sli4_t *sli4) |
| |
| static uint32_t | sli_get_is_ulp_enabled (sli4_t *sli4, uint16_t ulp) |
| |
| static uint32_t | sli_get_hlm_capable (sli4_t *sli4) |
| |
| static int32_t | sli_set_hlm (sli4_t *sli4, uint32_t value) |
| |
| static uint32_t | sli_get_hlm (sli4_t *sli4) |
| |
| static uint32_t | sli_get_dpp_capable (sli4_t *sli4) |
| |
| static int32_t | sli_set_dpp (sli4_t *sli4, uint32_t value) |
| |
| static uint32_t | sli_get_dpp (sli4_t *sli4) |
| |
| static uint32_t | sli_get_sgl_preregister_required (sli4_t *sli4) |
| |
| static uint32_t | sli_get_sgl_preregister (sli4_t *sli4) |
| |
| static int32_t | sli_set_sgl_preregister (sli4_t *sli4, uint32_t value) |
| |
| static sli4_asic_type_e | sli_get_asic_type (sli4_t *sli4) |
| |
| static sli4_asic_rev_e | sli_get_asic_rev (sli4_t *sli4) |
| |
| static int32_t | sli_set_topology (sli4_t *sli4, uint32_t value) |
| |
| static uint16_t | sli_get_link_module_type (sli4_t *sli4) |
| |
| static uint32_t | sli_get_portnum (sli4_t *sli4) |
| |
| static char * | sli_get_bios_version_string (sli4_t *sli4) |
| |
| static uint32_t | sli_convert_mask_to_count (uint32_t method, uint32_t mask) |
| |
| int32_t | sli_cmd_config_auto_xfer_rdy (sli4_t *, void *, size_t, uint32_t) |
| | Write an CONFIG_AUTO_XFER_RDY command to the provided buffer. Command to enable AXR in G5. More...
|
| |
| int32_t | sli_cmd_config_auto_xfer_rdy_hp (sli4_t *, void *, size_t, uint32_t, uint32_t) |
| | Write an CONFIG_AUTO_XFER_RDY_HP command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_config_optimized_write (sli4_t *, void *, size_t, uint32_t, uint32_t, uint32_t) |
| | Write an CONFIG_OPTIMIZED_WRITE command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_config_optimized_write_hp (sli4_t *, void *, size_t, uint32_t, uint32_t, uint32_t, uint32_t) |
| | Write an CONFIG_OPTIMIZED_WRITE_HP command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_config_link (sli4_t *, void *, size_t) |
| | Write a CONFIG_LINK command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_down_link (sli4_t *, void *, size_t) |
| | Write a DOWN_LINK command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_dump_type4 (sli4_t *, void *, size_t, uint16_t) |
| | Write a DUMP Type 4 command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_common_read_transceiver_data (sli4_t *, void *, size_t, uint32_t, ocs_dma_t *) |
| | Write a COMMON_READ_TRANSCEIVER_DATA command. More...
|
| |
| int32_t | sli_cmd_read_link_stats (sli4_t *, void *, size_t, uint8_t, uint8_t, uint8_t) |
| | Write a READ_LINK_STAT command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_read_status (sli4_t *sli4, void *buf, size_t size, uint8_t clear_counters) |
| | Write a READ_STATUS command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_init_link (sli4_t *, void *, size_t, uint32_t, uint8_t) |
| | Write an INIT_LINK command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_init_vfi (sli4_t *, void *, size_t, uint16_t, uint16_t, uint16_t) |
| | Write an INIT_VFI command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_init_vpi (sli4_t *, void *, size_t, uint16_t, uint16_t) |
| | Write an INIT_VPI command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_post_xri (sli4_t *, void *, size_t, uint16_t, uint16_t) |
| | Write a POST_XRI command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_release_xri (sli4_t *, void *, size_t, uint8_t) |
| | Write a RELEASE_XRI command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_read_sparm64 (sli4_t *, void *, size_t, ocs_dma_t *, uint16_t) |
| | Write a READ_SPARM64 command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_read_topology (sli4_t *, void *, size_t, ocs_dma_t *) |
| | Write a READ_TOPOLOGY command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_read_config (sli4_t *, void *, size_t) |
| | Write a READ_CONFIG command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_read_nvparms (sli4_t *, void *, size_t) |
| | Write a READ_NVPARMS command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_write_nvparms (sli4_t *, void *, size_t, uint8_t *, uint8_t *, uint8_t, uint32_t) |
| | Write a WRITE_NVPARMS command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_reg_fcfi (sli4_t *, void *, size_t, uint16_t, sli4_cmd_rq_cfg_t rq_cfg[SLI4_CMD_REG_FCFI_NUM_RQ_CFG], uint16_t) |
| | Write a REG_FCFI command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_reg_fcfi_mrq (sli4_t *, void *, size_t, uint8_t, uint16_t, uint16_t, sli4_cmd_rq_cfg_t *) |
| |
| int32_t | sli_cmd_reg_rpi (sli4_t *, void *, size_t, uint32_t, uint16_t, uint16_t, ocs_dma_t *, uint8_t, uint8_t, uint8_t) |
| | Write a REG_RPI command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_reg_vfi (sli4_t *, void *, size_t, ocs_domain_t *) |
| | Write a REG_VFI command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_reg_vpi (sli4_t *, void *, size_t, ocs_sli_port_t *, uint8_t) |
| | Write a REG_VPI command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_sli_config (sli4_t *, void *, size_t, uint32_t, ocs_dma_t *) |
| | Write a SLI_CONFIG command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_unreg_fcfi (sli4_t *, void *, size_t, uint16_t) |
| | Write a UNREG_FCFI command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_unreg_rpi (sli4_t *, void *, size_t, uint16_t, sli4_resource_e, uint32_t) |
| | Write an UNREG_RPI command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_unreg_vfi (sli4_t *, void *, size_t, ocs_domain_t *, uint32_t) |
| | Write an UNREG_VFI command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_unreg_vpi (sli4_t *, void *, size_t, uint16_t, uint32_t) |
| | Write an UNREG_VPI command to the provided buffer. More...
|
| |
| int32_t | sli_cmd_common_nop (sli4_t *, void *, size_t, uint64_t) |
| | Write a COMMON_NOP command. More...
|
| |
| int32_t | sli_cmd_common_get_resource_extent_info (sli4_t *, void *, size_t, uint16_t) |
| | Write a COMMON_GET_RESOURCE_EXTENT_INFO command. More...
|
| |
| int32_t | sli_cmd_common_get_sli4_parameters (sli4_t *, void *, size_t) |
| | Write a COMMON_GET_SLI4_PARAMETERS command. More...
|
| |
| int32_t | sli_cmd_common_write_object (sli4_t *, void *, size_t, uint16_t, uint16_t, uint32_t, uint32_t, char *, ocs_dma_t *) |
| | Write a COMMON_WRITE_OBJECT command. More...
|
| |
| int32_t | sli_cmd_common_delete_object (sli4_t *, void *, size_t, char *) |
| | Write a COMMON_DELETE_OBJECT command. More...
|
| |
| int32_t | sli_cmd_common_read_object (sli4_t *, void *, size_t, uint32_t, uint32_t, char *, ocs_dma_t *) |
| | Write a COMMON_READ_OBJECT command. More...
|
| |
| int32_t | sli_cmd_dmtf_exec_clp_cmd (sli4_t *sli4, void *buf, size_t size, ocs_dma_t *cmd, ocs_dma_t *resp) |
| | Write a DMTF_EXEC_CLP_CMD command. More...
|
| |
| int32_t | sli_cmd_common_set_dump_location (sli4_t *sli4, void *buf, size_t size, uint8_t query, uint8_t is_buffer_list, ocs_dma_t *buffer, uint8_t fdb) |
| | Write a COMMON_SET_DUMP_LOCATION command. More...
|
| |
| int32_t | sli_cmd_config_run_biu_diag (sli4_t *sli4, void *buf, size_t size, ocs_dma_t *tx_buffer, size_t tx_buf_len, ocs_dma_t *rx_buffer, size_t rx_buf_len) |
| | Write a RUN_BIU_DIAG command. More...
|
| |
| int32_t | sli_cmd_fcoe_set_loopback_mode (sli4_t *sli4, void *buf, size_t size, int type) |
| | Write a SLI4_OPC_FCOE_SET_LINK_DIAG_LOOPBACK command. More...
|
| |
| int32_t | sli_cmd_fc_set_trunk_mode (sli4_t *sli4, void *buf, size_t size, uint32_t trunk_mode) |
| | Write a SLI4_OPC_FC_SET_TRUNK_MODE command. More...
|
| |
| int32_t | sli_cmd_common_set_features (sli4_t *, void *, size_t, uint32_t, uint32_t, void *) |
| | Write a COMMON_SET_FEATURES command. More...
|
| |
| int32_t | sli_cmd_common_get_profile_list (sli4_t *sli4, void *buf, size_t size, uint32_t start_profile_index, ocs_dma_t *dma) |
| | Write a COMMON_COMMON_GET_PROFILE_LIST command. More...
|
| |
| int32_t | sli_cmd_common_get_active_profile (sli4_t *sli4, void *buf, size_t size) |
| | Write a COMMON_COMMON_GET_ACTIVE_PROFILE command. More...
|
| |
| int32_t | sli_cmd_common_set_active_profile (sli4_t *sli4, void *buf, size_t size, uint32_t fd, uint32_t active_profile_id) |
| | Write a COMMON_COMMON_SET_ACTIVE_PROFILE command. More...
|
| |
| int32_t | sli_cmd_common_get_reconfig_link_info (sli4_t *sli4, void *buf, size_t size, ocs_dma_t *dma) |
| | Write a COMMON_GET_RECONFIG_LINK_INFO command. More...
|
| |
| int32_t | sli_cmd_common_set_reconfig_link_id (sli4_t *sli4, void *buf, size_t size, ocs_dma_t *dma, uint32_t fd, uint32_t active_link_config_id) |
| | Write a COMMON_SET_RECONFIG_LINK_ID command. More...
|
| |
| int32_t | sli_cmd_common_get_function_config (sli4_t *sli4, void *buf, size_t size) |
| |
| int32_t | sli_cmd_common_get_profile_config (sli4_t *sli4, void *buf, size_t size, ocs_dma_t *dma) |
| | Write a COMMON_COMMON_GET_PROFILE_CONFIG command. More...
|
| |
| int32_t | sli_cmd_common_set_profile_config (sli4_t *sli4, void *buf, size_t size, ocs_dma_t *dma, uint8_t profile_id, uint32_t descriptor_count, uint8_t isap) |
| | Write a COMMON_COMMON_SET_PROFILE_CONFIG command. More...
|
| |
| int32_t | sli_cqe_mq (void *) |
| | Check the mailbox/queue completion entry. More...
|
| |
| int32_t | sli_cqe_async (sli4_t *, void *) |
| | Check the asynchronous event completion entry. More...
|
| |
| int32_t | sli_setup (sli4_t *, ocs_os_handle_t, sli4_port_type_e) |
| | Set up the SLI context. More...
|
| |
| void | sli_calc_max_qentries (sli4_t *sli4) |
| | Calculate max queue entries. More...
|
| |
| int32_t | sli_init (sli4_t *) |
| |
| int32_t | sli_reset (sli4_t *) |
| |
| int32_t | sli_fw_reset (sli4_t *) |
| | Issue a Firmware Reset. More...
|
| |
| int32_t | sli_port_migration (sli4_t *) |
| |
| int32_t | sli_teardown (sli4_t *) |
| | Tear down a SLI context. More...
|
| |
| int32_t | sli_callback (sli4_t *, sli4_callback_e, void *, void *) |
| | Register a callback for the given event. More...
|
| |
| int32_t | sli_bmbx_command (sli4_t *) |
| | Submit a command to the bootstrap mailbox and check the status. More...
|
| |
| int32_t | __sli_queue_init (sli4_t *, sli4_queue_t *, uint32_t, size_t, uint32_t, uint32_t) |
| | Initialize a queue object. More...
|
| |
| int32_t | __sli_create_queue (sli4_t *, sli4_queue_t *) |
| | Issue the command to create a queue. More...
|
| |
| int32_t | sli_eq_modify_delay (sli4_t *sli4, sli4_queue_t *eq, uint32_t num_eq, uint32_t shift, uint32_t delay_mult) |
| | Modify the delay timer for all the EQs. More...
|
| |
| int32_t | sli_queue_alloc (sli4_t *, uint32_t, sli4_queue_t *, uint32_t, sli4_queue_t *, uint16_t) |
| | Allocate a queue. More...
|
| |
| int32_t | sli_cq_alloc_set (sli4_t *, sli4_queue_t *qs[], uint32_t, uint32_t, sli4_queue_t *eqs[]) |
| | Allocate a c queue set. More...
|
| |
| int32_t | sli_get_queue_entry_size (sli4_t *, uint32_t) |
| | Get queue entry size. More...
|
| |
| int32_t | sli_queue_free (sli4_t *, sli4_queue_t *, uint32_t, uint32_t) |
| | Free a queue. More...
|
| |
| int32_t | sli_queue_reset (sli4_t *, sli4_queue_t *) |
| |
| int32_t | sli_queue_is_empty (sli4_t *, sli4_queue_t *) |
| | Check if the given queue is empty. More...
|
| |
| int32_t | sli_queue_eq_arm (sli4_t *, sli4_queue_t *, uint8_t) |
| | Arm an EQ. More...
|
| |
| int32_t | sli_queue_arm (sli4_t *, sli4_queue_t *, uint8_t) |
| | Arm a queue. More...
|
| |
| int32_t | _sli_queue_write (sli4_t *, sli4_queue_t *, uint8_t *) |
| | Write an entry to the queue object. More...
|
| |
| int32_t | sli_queue_write (sli4_t *, sli4_queue_t *, uint8_t *) |
| | Write an entry to the queue object. More...
|
| |
| int32_t | sli_queue_read (sli4_t *, sli4_queue_t *, uint8_t *) |
| | Read an entry from the queue object. More...
|
| |
| int32_t | sli_queue_index (sli4_t *, sli4_queue_t *) |
| |
| int32_t | _sli_queue_poke (sli4_t *, sli4_queue_t *, uint32_t, uint8_t *) |
| |
| int32_t | sli_queue_poke (sli4_t *, sli4_queue_t *, uint32_t, uint8_t *) |
| |
| int32_t | sli_resource_alloc (sli4_t *, sli4_resource_e, uint32_t *, uint32_t *) |
| | Allocate SLI Port resources. More...
|
| |
| int32_t | sli_resource_free (sli4_t *, sli4_resource_e, uint32_t) |
| | Free the SLI Port resources. More...
|
| |
| int32_t | sli_resource_reset (sli4_t *, sli4_resource_e) |
| |
| int32_t | sli_eq_parse (sli4_t *, uint8_t *, uint16_t *) |
| | Parse an EQ entry to retrieve the CQ_ID for this event. More...
|
| |
| int32_t | sli_cq_parse (sli4_t *, sli4_queue_t *, uint8_t *, sli4_qentry_e *, uint16_t *) |
| | Parse a CQ entry to retrieve the event type and the associated queue. More...
|
| |
| int32_t | sli_raise_ue (sli4_t *, uint8_t) |
| | Cause chip to enter an unrecoverable error state. More...
|
| |
| int32_t | sli_dump_is_ready (sli4_t *) |
| | Read the SLIPORT_STATUS register to to check if a dump is present. More...
|
| |
| int32_t | sli_dump_is_present (sli4_t *) |
| | Read the SLIPORT_STATUS register to check if a dump is present. More...
|
| |
| int32_t | sli_reset_required (sli4_t *) |
| | Read the SLIPORT_STATUS register to check if the reset required is set. More...
|
| |
| int32_t | sli_fw_error_status (sli4_t *) |
| | Read the SLIPORT_SEMAPHORE and SLIPORT_STATUS registers to check if the port status indicates that a FW error has occurred. More...
|
| |
| int32_t | sli_fw_ready (sli4_t *) |
| | Determine if the chip FW is in a ready state. More...
|
| |
| uint32_t | sli_reg_read (sli4_t *, sli4_regname_e) |
| | Read the given SLI register. More...
|
| |
| void | sli_reg_write (sli4_t *, sli4_regname_e, uint32_t) |
| | Write the value to the given SLI register. More...
|
| |
| int32_t | sli_link_is_configurable (sli4_t *) |
| | Determine if the link can be configured. More...
|
| |
| int32_t | sli_is_paused (sli4_t *sli4) |
| |
| void | sli_validate_pause_errors (sli4_t *slit, uint32_t *skip_dump) |
| |