section 9 · Kernel routines 🧠
85608 pages · page 268 of 429
Q (continued)
- qed_dbg_read_attn(9)Reads the attention registers of the specified block and type, and writes the results into the specified buffer.✨
- qed_dbg_reg_fifo_dump(9)Reads the reg fifo and writes the results into the specified buffer.✨
- qed_dbg_reg_fifo_get_dump_buf_size(9)Returns the required buffer size for grc trace fifo results.✨
- qed_dbg_set_bin_ptr(9)Sets a pointer to the binary data with debug arrays.✨
- qed_dbg_user_set_bin_ptr(9)Sets a pointer to the binary data with debug arrays.✨
- qed_dmae_host2grc(9)Copy data from source addr to dmae registers using the given ptt.✨
- qed_dmae_host2host(9)Copy data from to source address to a destination adrress (for SRIOV) using the given ptt.✨
- qed_dmae_idx_to_go_cmd(9)Map the idx to dmae cmd this is declared here since other files will require it.✨
- qed_dmae_info_alloc(9)Init the dmae_info structure which is part of p_hwfn.✨
- qed_dmae_info_free(9)Free the dmae_info structure which is part of p_hwfn.✨
- qed_dmae_to_grc(9)Internal function for writing from host to wide-bus registers (split registers are not supported yet).✨
- qed_dp_tlv_list(9)list the types and lengths of the tlvs on the buffer✨
- qed_enable_context_validation(9)Enable and configure context validation.✨
- qed_eq_alloc(9)Allocates & initializes an EQ struct.✨
- qed_eq_completion(9)Completes currently pending EQ elements.✨
- qed_eq_free(9)deallocates the given EQ struct.✨
- qed_eq_prod_update(9)update the FW with default EQ producer.✨
- qed_eq_setup(9)Reset the EQ to its start state.✨
- qed_eth_cqe_completion(9)handles the completion of a ramrod on the cqe ring.✨
- qed_eth_rx_queue_stop(9)This ramrod closes an Rx queue.✨
- qed_eth_rxq_start_ramrod(9)Starts an Rx queue, when queue_cid is already prepared✨
- qed_eth_tx_queue_stop(9)Closes a Tx queue.✨
- qed_eth_txq_start_ramrod(9)Starts a Tx queue, where queue_cid is already prepared✨
- qed_fid_pretend(9)pretend to another function when accessing the ptt window. There is no way to unpretend a function. The only way to cancel a pretend is to pretend back to the original function.✨
- qed_final_cleanup(9)Cleanup of previous driver remains prior to load.✨
- qed_fw_l2_queue(9)Get absolute L2 queue ID.✨
- qed_fw_overlay_init_ram(9)Initializes the FW overlay RAM.✨
- qed_fw_overlay_mem_alloc(9)Allocates and fills the FW overlay memory.✨
- qed_fw_overlay_mem_free(9)Frees the FW overlay memory.✨
- qed_fw_rss_eng(9)Get absolute RSS engine ID.✨
- qed_fw_vport(9)Get absolute vport ID.✨
- qed_get_fw_asserts_results_buf_size(9)Returns the required buffer size for FW Asserts results (in bytes).✨
- qed_get_idle_chk_results_buf_size(9)Returns the required buffer size for idle check results (in bytes).✨
- qed_get_igu_fifo_results_buf_size(9)Returns the required buffer size for igu_fifo results (in bytes).✨
- qed_get_igu_free_sb(9)Return a pointer to an unused valid SB✨
- qed_get_igu_sb_id(9)Translate the weakly-defined client sb-id into an IGU sb-id✨
- qed_get_mcp_trace_results_buf_size(9)Returns the required buffer size for MCP Trace results (in bytes).✨
- qed_get_process_kill_counter(9)Read the MFW process kill counter.✨
- qed_get_protection_override_results_buf_size(9)Returns the required buffer size for protection override results (in bytes).✨
- qed_get_protocol_stats_fcoe(9)Fills provided statistics struct with statistics.✨
- qed_get_protocol_stats_iscsi(9)Fills provided statistics struct with statistics.✨
- qed_get_protocol_type_str(9)Get a string for Protocol type.✨
- qed_get_queue_coalesce(9)Retrieve coalesce value for a given queue.✨
- qed_get_ramrod_cmd_id_str(9)Get a string for Ramrod command ID.✨
- qed_get_reg_fifo_results_buf_size(9)Returns the required buffer size for reg_fifo results (in bytes).✨
- qed_get_reserved_ptt(9)Get a specific reserved PTT.✨
- qed_get_vport_stats(9)Fills provided statistics struct with statistics.✨
- qed_get_vport_stats_context(9)Fills provided statistics struct with statistics.✨
- qed_gft_config(9)Enable and configure HW for GFT.✨
- qed_gft_disable(9)Disable GFT.✨
- qed_gtt_init(9)Initialize GTT global windows and set admin window related params of GTT/PTT to default values.✨
- qed_hw_err_notify(9)Notify upper layer driver and management FW about a HW error.✨
- qed_hw_init(9)Init Qed hardware.✨
- qed_hw_prepare(9)Prepare Qed hardware.✨
- qed_hw_remove(9)Remove Qed hardware.✨
- qed_hw_start_fastpath(9)Restart fastpath traffic, only if hw_stop_fastpath was called.✨
- qed_hw_stop(9)Stop Qed hardware.✨
- qed_hw_stop_fastpath(9)Should be called incase slowpath is still required for the device, but fastpath is not.✨
- qed_hw_timers_stop_all(9)Stop the timers HW block.✨
- qed_init_alloc(9)Allocate RT array, Store 'values' ptrs.✨
- qed_init_cau_sb_entry(9)Initialize CAU status block entry.✨
- qed_init_dp(9)Initialize the debug level.✨
- qed_init_free(9)Init HW function deallocate.✨
- qed_init_global_rl(9)Initializes the rate limit of the specified rate limiter.✨
- qed_init_iro_array(9)init iro_arr.✨
- qed_init_pf_rl(9)Initializes the rate limit of the specified PF✨
- qed_init_pf_wfq(9)Initializes the WFQ weight of the specified PF.✨
- qed_init_run(9)Run the init-sequence.✨
- qed_init_store_rt_reg(9)Store a configuration value in the RT array.✨
- qed_init_struct(9)Initialize the device structure to its defaults.✨
- qed_init_vport_tc_wfq(9)Initializes the WFQ weight of the specified VPORT and TC.✨
- qed_init_vport_wfq(9)Initializes the WFQ weight of the specified VPORT✨
- qed_int_alloc(9)QED interrupt alloc.✨
- qed_int_assertion(9)Handle asserted attention bits.✨
- qed_int_attn_clr_enable(9)Sets whether the general behavior is preventing attentions from being reasserted, or following the attributes of the specific attention.✨
- qed_int_cau_conf_sb(9)Configure cau for a given status block.✨
- qed_int_deassertion(9)Handle deassertion of previously asserted attentions.✨
- qed_int_deassertion_aeu_bit(9)Handles the effects of a single cause of the attention.✨
- qed_int_deassertion_parity(9)Handle a single parity AEU source.✨
- qed_int_disable_post_isr_release(9)Performs the cleanup post ISR release. The API need to be called after releasing all slowpath IRQs of the device.✨
- qed_int_free(9)QED interrupt free.✨
- qed_int_get_num_sbs(9)Get the number of status blocks configured for this funciton in the igu.✨
- qed_int_get_sb_dbg(9)Read debug information regarding a given SB✨
- qed_int_get_sp_sb_id(9)Get the slowhwfn sb id.✨
- qed_int_igu_disable_int(9)Disable device interrupts.✨
- qed_int_igu_enable(9)Enable Interrupt & Attention for hw function.✨
- qed_int_igu_enable_int(9)Enable device interrupts.✨
- qed_int_igu_init_pure_rt_single(9)Status block cleanup. Should be called for each status block that will be used -> both PF / VF.✨
- qed_int_igu_init_rt(9)Initialize IGU runtime registers.✨
- qed_int_igu_read_cam(9)Reads the IGU CAM. This function needs to be called during hardware prepare. It reads the info from igu cam to know which status block is the default / base status block etc.✨
- qed_int_igu_read_sisr_reg(9)Reads the single isr multiple dpc register from igu.✨
- qed_int_igu_reset_cam(9)Make sure the IGU CAM reflects the resources provided by MFW.✨
- qed_int_register_cb(9)Register callback func for slowhwfn statusblock.✨
- qed_int_sb_init(9)Initializes the sb_info structure.✨
- qed_int_sb_release(9)Releases the sb_info structure.✨
- qed_int_sb_setup(9)Setup the sb.✨
- qed_int_setup(9)QED interrupt setup.✨
- qed_int_sp_dpc(9)To be called when an interrupt is received on the default status block.✨
- qed_int_unregister_cb(9)Unregisters callback function from sp sb.✨
- qed_iov_alloc(9)allocate sriov related resources✨
- qed_iov_config_perm_table(9)Configure the permission zone table.✨
- qed_iov_free(9)free sriov related resources✨
- qed_iov_free_hw_info(9)free sriov related memory that was allocated during hw_prepare✨
- qed_iov_get_next_active_vf(9)Given a VF index, return index of next [including that] active VF.✨
- qed_iov_hw_info(9)Read sriov related information and allocated resources reads from configuration space, shmem, etc.✨
- qed_iov_is_valid_vfid(9)Check if given VF ID @vfid is valid w.r.t. @b_enabled_only value if b_enabled_only = true - only enabled VF id is valid. else any VF id less than max_vfs is valid.✨
- qed_iov_mark_vf_flr(9)Mark structs of vfs that have been FLR-ed.✨
- qed_iov_search_list_tlvs(9)Search extended TLVs in request/reply buffer.✨
- qed_iov_setup(9)setup sriov related resources✨
- qed_ll2_acquire_connection(9)Allocate resources, starts rx & tx (if relevant) queues pair. Provides connecion handler as output parameter.✨
- qed_ll2_alloc(9)Allocates LL2 connections set.✨
- qed_ll2_establish_connection(9)start previously allocated LL2 queues pair✨
- qed_ll2_free(9)Releases LL2 connections set✨
- qed_ll2_get_stats(9)Get LL2 queue's statistics✨
- qed_ll2_post_rx_buffer(9)Submit buffers to LL2 Rx queue.✨
- qed_ll2_prepare_tx_packet(9)Request for start Tx BD to prepare Tx packet submission to FW.✨
- qed_ll2_release_connection(9)Releases resources allocated for LL2 connection.✨
- qed_ll2_set_fragment_of_tx_packet(9)Provides fragments to fill Tx BD of BDs requested by qed_ll2_prepare_tx_packet✨
- qed_ll2_setup(9)Inits LL2 connections set.✨
- qed_ll2_terminate_connection(9)Stops Tx/Rx queues✨
- qed_llh_add_mac_filter(9)Add a LLH MAC filter into the given filter bank.✨
- qed_llh_add_protocol_filter(9)Add a LLH protocol filter into the given filter bank.✨
- qed_llh_get_num_ppfid(9)Return the allocated number of LLH filter banks that are allocated to the PF.✨
- qed_llh_remove_mac_filter(9)Remove a LLH MAC filter from the given filter bank.✨
- qed_llh_remove_protocol_filter(9)Remove a LLH protocol filter from the given filter bank.✨
- qed_llh_set_ppfid_affinity(9)Set the engine affinity for the given LLH filter bank.✨
- qed_llh_set_roce_affinity(9)Set the RoCE engine affinity.✨
- qed_mcp_ack_vf_flr(9)Ack to mfw that driver finished FLR process for VFs✨
- qed_mcp_bist_clock_test(9)Bist clock test.✨
- qed_mcp_bist_nvm_get_image_att(9)Bist nvm test - get image attributes by index.✨
- qed_mcp_bist_nvm_get_num_images(9)Bist nvm test - get number of images.✨
- qed_mcp_bist_register_test(9)Bist register test.✨
- qed_mcp_cmd(9)Sleepable function for sending commands to the MCP mailbox. It acquire mutex lock for the entire operation, from sending the request until the MCP response. Waiting for MCP response will be checked…✨
- qed_mcp_cmd_init(9)Initialize the interface with the MCP.✨
- qed_mcp_cmd_nosleep(9)Function for sending commands to the MCP mailbox. It acquire mutex lock for the entire operation, from sending the request until the MCP response. Waiting for MCP response will be checked up to 5…✨
- qed_mcp_cmd_port_init(9)Initialize the port interface with the MCP✨
- qed_mcp_config_vf_msix(9)Request MFW to configure MSI-X for a VF.✨
- qed_mcp_drain(9)drains the nig, allowing completion to pass in case of pauses. (Should be called only from sleepable context)✨
- qed_mcp_fill_shmem_func_info(9)Calls during init to read shmem of all function-related info.✨
- qed_mcp_free(9)Releases resources allocated during the init process.✨
- qed_mcp_get_board_config(9)Get board configuration.✨
- qed_mcp_get_capabilities(9)Learn of supported MFW features; To be done during early init.✨
- qed_mcp_get_engine_config(9)Get the engine affinity configuration.✨
- qed_mcp_get_esl_status(9)Get enhanced system lockdown status✨
- qed_mcp_get_flash_size(9)Get the flash size value.✨
- qed_mcp_get_link_capabilities(9)Return the link capabilities of the hw function.✨
- qed_mcp_get_link_params(9)Returns the link params of the hw function.✨
- qed_mcp_get_link_state(9)Return the link state of the hw function.✨
- qed_mcp_get_mbi_ver(9)Get the MBI version value.✨
- qed_mcp_get_media_type(9)Get media type value of the port.✨
- qed_mcp_get_mfw_ver(9)Get the management firmware version value.✨
- qed_mcp_get_nvm_image(9)Allows reading a whole nvram image.✨
- qed_mcp_get_nvm_image_att(9)Allows reading a whole nvram image.✨
- qed_mcp_get_ppfid_bitmap(9)Get the PPFID bitmap.✨
- qed_mcp_get_resc_info(9)Gets the MFW allocation info for the given resource.✨
- qed_mcp_get_transceiver_data(9)Get transceiver data of the port.✨
- qed_mcp_halt(9)Halt the MCP.✨
- qed_mcp_handle_events(9)This function is called from the DPC context. After pointing PTT to the mfw mb, check for events sent by the MCP to the driver and ack them. In case a critical event detected, it will be handled…✨
- qed_mcp_initiate_pf_flr(9)Initiates PF FLR.✨
- qed_mcp_is_esl_supported(9)Return whether management firmware support ESL or not.✨
- qed_mcp_is_ext_speed_supported(9)Check if management firmware supports extended speeds.✨
- qed_mcp_is_init(9)indicates whether the MFW objects [under mcp_info] are accessible✨
- qed_mcp_is_smart_an_supported(9)Return whether management firmware support smart AN✨
- qed_mcp_load_done(9)Sends a LOAD_DONE message to the MFW.✨
- qed_mcp_load_req(9)Sends a LOAD_REQ to the MFW, and in case the operation succeeds, returns whether this PF is the first on the engine/port or function.✨
- qed_mcp_nvm_get_cfg(9)Get NVM config attribute value.✨
- qed_mcp_nvm_info_free(9)Delete nvm info shadow in the given hardware function.✨
- qed_mcp_nvm_info_populate(9)Populate the nvm info shadow in the given hardware function.✨
- qed_mcp_nvm_rd_cmd(9)Sends an NVM read command request to the MFW to get a buffer.✨
- qed_mcp_nvm_read(9)Read from NVM.✨
- qed_mcp_nvm_resp(9)Check latest response.✨
- qed_mcp_nvm_set_cfg(9)Set NVM config attribute value.✨
- qed_mcp_nvm_write(9)Write to NVM.✨
- qed_mcp_ov_update_current_config(9)Notify MFW about the change in base device properties✨
- qed_mcp_ov_update_driver_state(9)Notify MFW about the driver state.✨
- qed_mcp_ov_update_eswitch(9)Send eswitch mode to MFW.✨
- qed_mcp_ov_update_mac(9)Send MAC address to MFW.✨
- qed_mcp_ov_update_mtu(9)Send MTU size to MFW.✨
- qed_mcp_ov_update_wol(9)Send WOL mode to MFW.✨
- qed_mcp_phy_sfp_read(9)Read from sfp.✨
- qed_mcp_read_mb(9)Read the MFW mailbox into Current buffer.✨
- qed_mcp_read_ufp_config(9)Read ufp config from the shared memory.✨
- qed_mcp_resc_lock(9)Acquires MFW generic resource lock.✨
- qed_mcp_resc_lock_default_init(9)Default initialization for lock/unlock resource structs.✨
- qed_mcp_resc_unlock(9)Releases MFW generic resource lock.✨
- qed_mcp_reset(9)Reset the MCP using mailbox command.✨
- qed_mcp_resume(9)Wake up the MCP.✨
- qed_mcp_send_drv_version(9)Send driver version to MFW.✨
- qed_mcp_send_raw_debug_data(9)Send raw debug data to the MFW✨
- qed_mcp_set_capabilities(9)Inform MFW of set of features supported by driver. Should be done inside the content of the LOAD_REQ.✨
- qed_mcp_set_led(9)Set LED status.✨
- qed_mcp_set_link(9)Request the MFW to set the link according to 'link_input'.✨
- qed_mcp_set_resc_max_val(9)Sets the MFW's max value for the given resource.✨
- qed_mcp_trace_free_meta_data(9)Frees the MCP Trace meta data. Should be called after continuous MCP Trace parsing.✨
- qed_mcp_trans_speed_mask(9)Get transceiver supported speed mask.✨
- qed_mcp_unload_done(9)Sends a UNLOAD_DONE message to the MFW✨
- qed_mcp_unload_req(9)Sends a UNLOAD_REQ message to the MFW.✨
- qed_memcpy_from(9)Copy n bytes from BAR using the given ptt.✨
- qed_memcpy_to(9)Copy n bytes to BAR using the given ptt✨
- qed_mfw_process_tlv_req(9)Processes the TLV request from MFW i.e., get the required TLV info from the qed client and send it to the MFW.✨
💅
getting it ready, bestie…