id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
qed_ll2_prepare_tx_packet(9) | NAME qed_ll2_prepare_tx_packet - Request for start Tx BD to prepare Tx packet submission to FW.
SYNOPSIS int qed_ll2_prepare_tx_packet (void *cxt , u8 connection_handle , struct qed_ll2_tx_pkt_info *pkt , bool notify_fw );
ARGUMENTS cxt Pointer to the hw-function [opaque to some].
connection_handle
... |
qed_ll2_release_connection(9) | NAME qed_ll2_release_connection - Releases resources allocated for LL2 connection.
SYNOPSIS void qed_ll2_release_connection (void *cxt , u8 connection_handle );
ARGUMENTS cxt Pointer to the hw-function [opaque to some].
connection_handle
LL2 connection's handle obtained from qed_ll2... |
qed_ll2_set_fragment_of_tx_packet(9) | NAME qed_ll2_set_fragment_of_tx_packet - Provides fragments to fill Tx BD of BDs requested by qed_ll2_prepare_tx_packet
SYNOPSIS int qed_ll2_set_fragment_of_tx_packet (void *cxt , u8 connection_handle , dma_addr_t addr , u16 nbytes );
ARGUMENTS cxt Pointer to the hw-function [opaque to some].
connecti... |
qed_ll2_setup(9) | NAME qed_ll2_setup - Inits LL2 connections set.
SYNOPSIS void qed_ll2_setup (struct qed_hwfn *p_hwfn );
ARGUMENTS p_hwfn HW device data.
RETURN Void.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_ll2.h qed_ll2_acquire_connection(9), qed_ll2_establish_connection(9), qed_ll2_post_rx_buffer... |
qed_ll2_terminate_connection(9) | NAME qed_ll2_terminate_connection - Stops Tx/Rx queues
SYNOPSIS int qed_ll2_terminate_connection (void *cxt , u8 connection_handle );
ARGUMENTS cxt Pointer to the hw-function [opaque to some].
connection_handle
LL2 connection's handle obtained from qed_ll2_require_connection.
RETUR... |
qed_llh_add_mac_filter(9) | NAME qed_llh_add_mac_filter - Add a LLH MAC filter into the given filter bank.
SYNOPSIS int qed_llh_add_mac_filter (struct qed_dev *cdev , u8 ppfid , const u8 mac_addr[ETH_ALEN] );
ARGUMENTS cdev Qed dev pointer.
ppfid Relative within the allocated ppfids ('0' is the default one).
mac_add... |
qed_llh_add_protocol_filter(9) | NAME qed_llh_add_protocol_filter - Add a LLH protocol filter into the given filter bank.
SYNOPSIS int qed_llh_add_protocol_filter (struct qed_dev *cdev , u8 ppfid , enum qed_llh_prot_filter_type_t type , u16 source_port_or_eth_type , u16 dest_port );
ARGUMENTS cdev Qed dev pointer.
ppfid Relative... |
qed_llh_get_num_ppfid(9) | NAME qed_llh_get_num_ppfid - Return the allocated number of LLH filter banks that are allocated to the PF.
SYNOPSIS u8 qed_llh_get_num_ppfid (struct qed_dev *cdev );
ARGUMENTS cdev Qed dev pointer.
RETURN u8 Number of LLH filter banks.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dev_api.h ... |
qed_llh_remove_mac_filter(9) | NAME qed_llh_remove_mac_filter - Remove a LLH MAC filter from the given filter bank.
SYNOPSIS void qed_llh_remove_mac_filter (struct qed_dev *cdev , u8 ppfid , u8 mac_addr[ETH_ALEN] );
ARGUMENTS cdev Qed dev pointer.
ppfid Ppfid.
mac_addr MAC to remove
RETURN Void.
SEE ALSO Kernel ... |
qed_llh_remove_protocol_filter(9) | NAME qed_llh_remove_protocol_filter - Remove a LLH protocol filter from the given filter bank.
SYNOPSIS void qed_llh_remove_protocol_filter (struct qed_dev *cdev , u8 ppfid , enum qed_llh_prot_filter_type_t type , u16 source_port_or_eth_type , u16 dest_port );
ARGUMENTS cdev Qed dev pointer.
ppfid ... |
qed_llh_set_ppfid_affinity(9) | NAME qed_llh_set_ppfid_affinity - Set the engine affinity for the given LLH filter bank.
SYNOPSIS int qed_llh_set_ppfid_affinity (struct qed_dev *cdev , u8 ppfid , enum qed_eng eng );
ARGUMENTS cdev Qed dev pointer.
ppfid Relative within the allocated ppfids ('0' is the default one).
eng ... |
qed_llh_set_roce_affinity(9) | NAME qed_llh_set_roce_affinity - Set the RoCE engine affinity.
SYNOPSIS int qed_llh_set_roce_affinity (struct qed_dev *cdev , enum qed_eng eng );
ARGUMENTS cdev Qed dev pointer.
eng Engine.
RETURN Int.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dev_api.h qed_init_dp(9), q... |
qed_mcp_ack_vf_flr(9) | NAME qed_mcp_ack_vf_flr - Ack to mfw that driver finished FLR process for VFs
SYNOPSIS int qed_mcp_ack_vf_flr (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *vfs_to_ack );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
vfs_to_ack bit mask of all engine VFs for which the PF acks.
RE... |
qed_mcp_bist_clock_test(9) | NAME qed_mcp_bist_clock_test - Bist clock test.
SYNOPSIS int qed_mcp_bist_clock_test (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt PTT required for register access.
RETURN Int - 0 - Operation was successul.
SEE ALSO Kernel file ./drivers/net/ethernet... |
qed_mcp_bist_nvm_get_image_att(9) | NAME qed_mcp_bist_nvm_get_image_att - Bist nvm test - get image attributes by index.
SYNOPSIS int qed_mcp_bist_nvm_get_image_att (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , struct bist_nvm_image_att *p_image_att , u32 image_index );
ARGUMENTS p_hwfn HW device data.
p_ptt PTT required for reg... |
qed_mcp_bist_nvm_get_num_images(9) | NAME qed_mcp_bist_nvm_get_num_images - Bist nvm test - get number of images.
SYNOPSIS int qed_mcp_bist_nvm_get_num_images (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *num_images );
ARGUMENTS p_hwfn HW device data.
p_ptt PTT required for register access.
num_images number of imag... |
qed_mcp_bist_register_test(9) | NAME qed_mcp_bist_register_test - Bist register test.
SYNOPSIS int qed_mcp_bist_register_test (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt PTT required for register access.
RETURN Int - 0 - Operation was successul.
SEE ALSO Kernel file ./drivers/net... |
qed_mcp_cmd(9) | NAME qed_mcp_cmd - 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 up to 5 seconds every 10ms. Should not be called from atomic context.
SYNOPSIS int qed_mcp_cmd (str... |
qed_mcp_cmd_init(9) | NAME qed_mcp_cmd_init - Initialize the interface with the MCP.
SYNOPSIS int qed_mcp_cmd_init (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt PTT required for register access.
RETURN Int.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h ... |
qed_mcp_cmd_nosleep(9) | NAME qed_mcp_cmd_nosleep - 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 seconds every 10us. Should be called when sleep is not allowed.
SYNOPSIS int qed_mcp_cmd_nos... |
qed_mcp_cmd_port_init(9) | NAME qed_mcp_cmd_port_init - Initialize the port interface with the MCP
SYNOPSIS void qed_mcp_cmd_port_init (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN Void.
DESCRIPTION Can only be called after `num_ports_in_engines' is set
SEE ALSO K... |
qed_mcp_config_vf_msix(9) | NAME qed_mcp_config_vf_msix - Request MFW to configure MSI-X for a VF.
SYNOPSIS int qed_mcp_config_vf_msix (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u8 vf_id , u8 num );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
vf_id absolute inside engine.
num number of ... |
qed_mcp_drain(9) | NAME qed_mcp_drain - drains the nig, allowing completion to pass in case of pauses. (Should be called only from sleepable context)
SYNOPSIS int qed_mcp_drain (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt PTT required for register access.
RETURN Int.
SE... |
qed_mcp_fill_shmem_func_info(9) | NAME qed_mcp_fill_shmem_func_info - Calls during init to read shmem of all function-related info.
SYNOPSIS int qed_mcp_fill_shmem_func_info (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN 0 upon success.
SEE ALSO Kernel file ./drivers/net... |
qed_mcp_free(9) | NAME qed_mcp_free - Releases resources allocated during the init process.
SYNOPSIS int qed_mcp_free (struct qed_hwfn *p_hwfn );
ARGUMENTS p_hwfn HW function.
RETURN Int.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h qed_mcp_get_link_params(9), qed_mcp_get_link_state(9), qed_mcp_get_link... |
qed_mcp_get_board_config(9) | NAME qed_mcp_get_board_config - Get board configuration.
SYNOPSIS int qed_mcp_get_board_config (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *p_board_config );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
p_board_config
Board config.
RETURN Int - 0 - Operation ... |
qed_mcp_get_capabilities(9) | NAME qed_mcp_get_capabilities - Learn of supported MFW features; To be done during early init.
SYNOPSIS int qed_mcp_get_capabilities (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN Int.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/q... |
qed_mcp_get_engine_config(9) | NAME qed_mcp_get_engine_config - Get the engine affinity configuration.
SYNOPSIS int qed_mcp_get_engine_config (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN Int.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h qed_mcp_... |
qed_mcp_get_esl_status(9) | NAME qed_mcp_get_esl_status - Get enhanced system lockdown status
SYNOPSIS int qed_mcp_get_esl_status (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , bool *active );
ARGUMENTS p_hwfn hw function pointer
p_ptt ptt resource pointer
active ESL active status data pointer
RETURN 0 with ... |
qed_mcp_get_flash_size(9) | NAME qed_mcp_get_flash_size - Get the flash size value.
SYNOPSIS int qed_mcp_get_flash_size (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *p_flash_size );
ARGUMENTS p_hwfn HW device data.
p_ptt PTT required for register access.
p_flash_size
Flash size in bytes to... |
qed_mcp_get_link_capabilities(9) | NAME qed_mcp_get_link_capabilities - Return the link capabilities of the hw function.
SYNOPSIS struct qed_mcp_link_capabilities * qed_mcp_get_link_capabilities (struct qed_hwfn *p_hwfn );
ARGUMENTS p_hwfn HW device data.
RETURN Pointer to link capabilities.
SEE ALSO Kernel file ./drivers/net/ethern... |
qed_mcp_get_link_params(9) | NAME qed_mcp_get_link_params - Returns the link params of the hw function.
SYNOPSIS struct qed_mcp_link_params * qed_mcp_get_link_params (struct qed_hwfn *p_hwfn );
ARGUMENTS p_hwfn HW device data.
RETURN Pointer to link params.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h qed_mcp_get_l... |
qed_mcp_get_link_state(9) | NAME qed_mcp_get_link_state - Return the link state of the hw function.
SYNOPSIS struct qed_mcp_link_state * qed_mcp_get_link_state (struct qed_hwfn *p_hwfn );
ARGUMENTS p_hwfn HW device data.
RETURN Pointer to link state.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h qed_mcp_get_link_par... |
qed_mcp_get_mbi_ver(9) | NAME qed_mcp_get_mbi_ver - Get the MBI version value.
SYNOPSIS int qed_mcp_get_mbi_ver (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *p_mbi_ver );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
p_mbi_ver A pointer to a variable to be filled with the MBI version.
RETURN Int - 0 - ... |
qed_mcp_get_media_type(9) | NAME qed_mcp_get_media_type - Get media type value of the port.
SYNOPSIS int qed_mcp_get_media_type (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *media_type );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
media_type Media type value
RETURN Int - 0 - Operation was successul. -E... |
qed_mcp_get_mfw_ver(9) | NAME qed_mcp_get_mfw_ver - Get the management firmware version value.
SYNOPSIS int qed_mcp_get_mfw_ver (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *p_mfw_ver , u32 *p_running_bundle_id );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
p_mfw_ver MFW version value.
p_runni... |
qed_mcp_get_nvm_image(9) | NAME qed_mcp_get_nvm_image - Allows reading a whole nvram image.
SYNOPSIS int qed_mcp_get_nvm_image (struct qed_hwfn *p_hwfn , enum qed_nvm_images image_id , u8 *p_buffer , u32 buffer_len );
ARGUMENTS p_hwfn HW device data.
image_id image requested for reading.
p_buffer allocated buffer int... |
qed_mcp_get_nvm_image_att(9) | NAME qed_mcp_get_nvm_image_att - Allows reading a whole nvram image.
SYNOPSIS int qed_mcp_get_nvm_image_att (struct qed_hwfn *p_hwfn , enum qed_nvm_images image_id , struct qed_nvm_image_att *p_image_att );
ARGUMENTS p_hwfn HW device data.
image_id Image to get attributes for.
p_image_att Imag... |
qed_mcp_get_ppfid_bitmap(9) | NAME qed_mcp_get_ppfid_bitmap - Get the PPFID bitmap.
SYNOPSIS int qed_mcp_get_ppfid_bitmap (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN Int.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h qed_mcp_get_link_params(9),... |
qed_mcp_get_resc_info(9) | NAME qed_mcp_get_resc_info - Gets the MFW allocation info for the given resource.
SYNOPSIS int qed_mcp_get_resc_info (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , enum qed_resources res_id , u32 *p_mcp_resp , u32 *p_resc_num , u32 *p_resc_start );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
... |
qed_mcp_get_transceiver_data(9) | NAME qed_mcp_get_transceiver_data - Get transceiver data of the port.
SYNOPSIS int qed_mcp_get_transceiver_data (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *p_transceiver_state , u32 *p_tranceiver_type );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
p_transceiver_state
... |
qed_mcp_halt(9) | NAME qed_mcp_halt - Halt the MCP.
SYNOPSIS int qed_mcp_halt (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN 0 upon success.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h qed_mcp_get_link_params(9), qed_mcp_get_link_st... |
qed_mcp_handle_events(9) | NAME qed_mcp_handle_events - 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 here, otherwise the work will be queued to a sleepable work-queue.
SYNOPSIS int qed_mcp_hand... |
qed_mcp_initiate_pf_flr(9) | NAME qed_mcp_initiate_pf_flr - Initiates PF FLR.
SYNOPSIS int qed_mcp_initiate_pf_flr (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN Int - 0 - Operation was successul.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h qed... |
qed_mcp_is_esl_supported(9) | NAME qed_mcp_is_esl_supported - Return whether management firmware support ESL or not.
SYNOPSIS bool qed_mcp_is_esl_supported (struct qed_hwfn *p_hwfn );
ARGUMENTS p_hwfn hw function pointer
RETURN true if esl is supported, otherwise return false
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp... |
qed_mcp_is_ext_speed_supported(9) | NAME qed_mcp_is_ext_speed_supported - Check if management firmware supports extended speeds.
SYNOPSIS bool qed_mcp_is_ext_speed_supported (const struct qed_hwfn *p_hwfn );
ARGUMENTS p_hwfn HW device data.
RETURN true if supported, false otherwise.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mc... |
qed_mcp_is_init(9) | NAME qed_mcp_is_init - indicates whether the MFW objects [under mcp_info] are accessible
SYNOPSIS bool qed_mcp_is_init (struct qed_hwfn *p_hwfn );
ARGUMENTS p_hwfn HW device data.
RETURN true if MFW is running and mcp_info is initialized.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h qed_... |
qed_mcp_is_smart_an_supported(9) | NAME qed_mcp_is_smart_an_supported - Return whether management firmware support smart AN
SYNOPSIS bool qed_mcp_is_smart_an_supported (struct qed_hwfn *p_hwfn );
ARGUMENTS p_hwfn HW device data.
RETURN bool true if feature is supported.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h qed_mcp... |
qed_mcp_load_done(9) | NAME qed_mcp_load_done - Sends a LOAD_DONE message to the MFW.
SYNOPSIS int qed_mcp_load_done (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN Int - 0 - Operation was successul.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mc... |
qed_mcp_load_req(9) | NAME qed_mcp_load_req - 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.
SYNOPSIS int qed_mcp_load_req (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , struct qed_load_req_params *p_params );
ARGUMENTS p_hwfn HW device data.
... |
qed_mcp_nvm_get_cfg(9) | NAME qed_mcp_nvm_get_cfg - Get NVM config attribute value.
SYNOPSIS int qed_mcp_nvm_get_cfg (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u16 option_id , u8 entity_id , u16 flags , u8 *p_buf , u32 *p_len );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
option_id Option ID.
en... |
qed_mcp_nvm_info_free(9) | NAME qed_mcp_nvm_info_free - Delete nvm info shadow in the given hardware function.
SYNOPSIS void qed_mcp_nvm_info_free (struct qed_hwfn *p_hwfn );
ARGUMENTS p_hwfn HW device data.
RETURN Void.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h qed_mcp_get_link_params(9), qed_mcp_get_link_sta... |
qed_mcp_nvm_info_populate(9) | NAME qed_mcp_nvm_info_populate - Populate the nvm info shadow in the given hardware function.
SYNOPSIS int qed_mcp_nvm_info_populate (struct qed_hwfn *p_hwfn );
ARGUMENTS p_hwfn HW device data.
RETURN Int.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h qed_mcp_get_link_params(9), qed_mcp_... |
qed_mcp_nvm_rd_cmd(9) | NAME qed_mcp_nvm_rd_cmd - Sends an NVM read command request to the MFW to get a buffer.
SYNOPSIS int qed_mcp_nvm_rd_cmd (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 cmd , u32 param , u32 *o_mcp_resp , u32 *o_mcp_param , u32 *o_txn_size , u32 *o_buf , bool b_can_sleep );
ARGUMENTS p_hwfn HW device data.... |
qed_mcp_nvm_read(9) | NAME qed_mcp_nvm_read - Read from NVM.
SYNOPSIS int qed_mcp_nvm_read (struct qed_dev *cdev , u32 addr , u8 *p_buf , u32 len );
ARGUMENTS cdev Qed dev pointer.
addr NVM offset.
p_buf NVM read buffer.
len Buffer len.
RETURN Int - 0 - Operation was successul.
SEE ALS... |
qed_mcp_nvm_resp(9) | NAME qed_mcp_nvm_resp - Check latest response.
SYNOPSIS int qed_mcp_nvm_resp (struct qed_dev *cdev , u8 *p_buf );
ARGUMENTS cdev Qed dev pointer.
p_buf NVM write buffer.
RETURN Int - 0 - Operation was successul.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h qed_mcp_get_lin... |
qed_mcp_nvm_set_cfg(9) | NAME qed_mcp_nvm_set_cfg - Set NVM config attribute value.
SYNOPSIS int qed_mcp_nvm_set_cfg (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u16 option_id , u8 entity_id , u16 flags , u8 *p_buf , u32 len );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
option_id Option ID.
entit... |
qed_mcp_nvm_write(9) | NAME qed_mcp_nvm_write - Write to NVM.
SYNOPSIS int qed_mcp_nvm_write (struct qed_dev *cdev , u32 cmd , u32 addr , u8 *p_buf , u32 len );
ARGUMENTS cdev Qed dev pointer.
cmd NVM command.
addr NVM offset.
p_buf NVM write buffer.
len Buffer len.
RETUR... |
qed_mcp_ov_update_current_config(9) | NAME qed_mcp_ov_update_current_config - Notify MFW about the change in base device properties
SYNOPSIS int qed_mcp_ov_update_current_config (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , enum qed_ov_client client );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
client Qed client ty... |
qed_mcp_ov_update_driver_state(9) | NAME qed_mcp_ov_update_driver_state - Notify MFW about the driver state.
SYNOPSIS int qed_mcp_ov_update_driver_state (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , enum qed_ov_driver_state drv_state );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
drv_state Driver state.
RETURN Int -... |
qed_mcp_ov_update_eswitch(9) | NAME qed_mcp_ov_update_eswitch - Send eswitch mode to MFW.
SYNOPSIS int qed_mcp_ov_update_eswitch (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , enum qed_ov_eswitch eswitch );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
eswitch eswitch mode.
RETURN Int - 0 - Operation was success... |
qed_mcp_ov_update_mac(9) | NAME qed_mcp_ov_update_mac - Send MAC address to MFW.
SYNOPSIS int qed_mcp_ov_update_mac (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , const u8 *mac );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
mac MAC address.
RETURN Int - 0 - Operation was successul.
SEE ALSO Kernel fi... |
qed_mcp_ov_update_mtu(9) | NAME qed_mcp_ov_update_mtu - Send MTU size to MFW.
SYNOPSIS int qed_mcp_ov_update_mtu (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u16 mtu );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
mtu MTU size.
RETURN Int - 0 - Operation was successul.
SEE ALSO Kernel file ./driver... |
qed_mcp_ov_update_wol(9) | NAME qed_mcp_ov_update_wol - Send WOL mode to MFW.
SYNOPSIS int qed_mcp_ov_update_wol (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , enum qed_ov_wol wol );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
wol WOL mode.
RETURN Int - 0 - Operation was successul.
SEE ALSO Kernel fi... |
qed_mcp_phy_sfp_read(9) | NAME qed_mcp_phy_sfp_read - Read from sfp.
SYNOPSIS int qed_mcp_phy_sfp_read (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 port , u32 addr , u32 offset , u32 len , u8 *p_buf );
ARGUMENTS p_hwfn HW device data.
p_ptt PTT required for register access.
port transceiver port.
... |
qed_mcp_read_mb(9) | NAME qed_mcp_read_mb - Read the MFW mailbox into Current buffer.
SYNOPSIS void qed_mcp_read_mb (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN Void.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h qed_mcp_get_link_params... |
qed_mcp_read_ufp_config(9) | NAME qed_mcp_read_ufp_config - Read ufp config from the shared memory.
SYNOPSIS void qed_mcp_read_ufp_config (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN Void.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h qed_mcp_g... |
qed_mcp_resc_lock(9) | NAME qed_mcp_resc_lock - Acquires MFW generic resource lock.
SYNOPSIS int qed_mcp_resc_lock (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , struct qed_resc_lock_params *p_params );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
p_params Params.
RETURN Int - 0 - Operation was successul... |
qed_mcp_resc_lock_default_init(9) | NAME qed_mcp_resc_lock_default_init - Default initialization for lock/unlock resource structs.
SYNOPSIS void qed_mcp_resc_lock_default_init (struct qed_resc_lock_params *p_lock , struct qed_resc_unlock_params *p_unlock , enum qed_resc_lock resource , bool b_is_permanent );
ARGUMENTS p_lock lock params struct to ... |
qed_mcp_resc_unlock(9) | NAME qed_mcp_resc_unlock - Releases MFW generic resource lock.
SYNOPSIS int qed_mcp_resc_unlock (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , struct qed_resc_unlock_params *p_params );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
p_params Params.
RETURN Int - 0 - Operation was suc... |
qed_mcp_reset(9) | NAME qed_mcp_reset - Reset the MCP using mailbox command.
SYNOPSIS int qed_mcp_reset (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN 0 upon success.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h qed_mcp_get_link_params... |
qed_mcp_resume(9) | NAME qed_mcp_resume - Wake up the MCP.
SYNOPSIS int qed_mcp_resume (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN 0 upon success.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h qed_mcp_get_link_params(9), qed_mcp_get_... |
qed_mcp_send_drv_version(9) | NAME qed_mcp_send_drv_version - Send driver version to MFW.
SYNOPSIS int qed_mcp_send_drv_version (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , struct qed_mcp_drv_version *p_ver );
ARGUMENTS p_hwfn HW device data.
p_ptt PTT required for register access.
p_ver Version value.
RETU... |
qed_mcp_send_raw_debug_data(9) | NAME qed_mcp_send_raw_debug_data - Send raw debug data to the MFW
SYNOPSIS int qed_mcp_send_raw_debug_data (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u8 *p_buf , u32 size );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
p_buf raw debug data buffer.
size Buffer s... |
qed_mcp_set_capabilities(9) | NAME qed_mcp_set_capabilities - Inform MFW of set of features supported by driver. Should be done inside the content of the LOAD_REQ.
SYNOPSIS int qed_mcp_set_capabilities (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN Int.
SEE ALSO Kernel... |
qed_mcp_set_led(9) | NAME qed_mcp_set_led - Set LED status.
SYNOPSIS int qed_mcp_set_led (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , enum qed_led_mode mode );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
mode LED mode.
RETURN Int - 0 - Operation was successul.
SEE ALSO Kernel file ./drivers/n... |
qed_mcp_set_link(9) | NAME qed_mcp_set_link - Request the MFW to set the link according to 'link_input'.
SYNOPSIS int qed_mcp_set_link (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , bool b_up );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
b_up Raise link if `true'. Reset link if `false'.
RETURN Int... |
qed_mcp_set_resc_max_val(9) | NAME qed_mcp_set_resc_max_val - Sets the MFW's max value for the given resource.
SYNOPSIS int qed_mcp_set_resc_max_val (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , enum qed_resources res_id , u32 resc_max_val , u32 *p_mcp_resp );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
res_id ... |
qed_mcp_trace_free_meta_data(9) | NAME qed_mcp_trace_free_meta_data - Frees the MCP Trace meta data. Should be called after continuous MCP Trace parsing.
SYNOPSIS void qed_mcp_trace_free_meta_data (struct qed_hwfn *p_hwfn );
ARGUMENTS p_hwfn HW device data.
RETURN Void.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dbg_hsi.h qe... |
qed_mcp_trans_speed_mask(9) | NAME qed_mcp_trans_speed_mask - Get transceiver supported speed mask.
SYNOPSIS int qed_mcp_trans_speed_mask (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *p_speed_mask );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
p_speed_mask
Bit mask of all supported speeds.... |
qed_mcp_unload_done(9) | NAME qed_mcp_unload_done - Sends a UNLOAD_DONE message to the MFW
SYNOPSIS int qed_mcp_unload_done (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN Int - 0 - Operation was successul.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/q... |
qed_mcp_unload_req(9) | NAME qed_mcp_unload_req - Sends a UNLOAD_REQ message to the MFW.
SYNOPSIS int qed_mcp_unload_req (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN Int - 0 - Operation was successul.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed... |
qed_memcpy_from(9) | NAME qed_memcpy_from - Copy n bytes from BAR using the given ptt.
SYNOPSIS void qed_memcpy_from (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , void *dest , u32 hw_addr , size_t n );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
dest Destination.
hw_addr HW address.
... |
qed_memcpy_to(9) | NAME qed_memcpy_to - Copy n bytes to BAR using the given ptt
SYNOPSIS void qed_memcpy_to (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 hw_addr , void *src , size_t n );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
hw_addr HW address.
src Source.
n ... |
qed_mfw_process_tlv_req(9) | NAME qed_mfw_process_tlv_req - Processes the TLV request from MFW i.e., get the required TLV info from the qed client and send it to the MFW.
SYNOPSIS int qed_mfw_process_tlv_req (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN 0 upon success... |
qed_pglueb_set_pfid_enable(9) | NAME qed_pglueb_set_pfid_enable - Enable or disable PCI BUS MASTER.
SYNOPSIS int qed_pglueb_set_pfid_enable (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , bool b_enable );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
b_enable True/False.
RETURN Int.
SEE ALSO Kernel file ./drive... |
qed_port_fid_pretend(9) | NAME qed_port_fid_pretend - Pretend to another port and another function when accessing the ptt window
SYNOPSIS void qed_port_fid_pretend (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u8 port_id , u16 fid );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
port_id The port to pretend ... |
qed_port_pretend(9) | NAME qed_port_pretend - Pretend to another port when accessing the ptt window
SYNOPSIS void qed_port_pretend (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u8 port_id );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
port_id The port to pretend to
RETURN Void.
SEE ALSO Kernel file ... |
qed_port_unpretend(9) | NAME qed_port_unpretend - Cancel any previously set port pretend
SYNOPSIS void qed_port_unpretend (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt.
RETURN Void.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_hw.h qed_gtt_init(9), qed_ptt... |
qed_print_fw_asserts_results(9) | NAME qed_print_fw_asserts_results - Prints FW Asserts results.
SYNOPSIS enum dbg_status qed_print_fw_asserts_results (struct qed_hwfn *p_hwfn , u32 *dump_buf , u32 num_dumped_dwords , char *results_buf );
ARGUMENTS p_hwfn HW device data.
dump_buf FW Asserts dump buffer, starting from the header.
... |
qed_print_idle_chk_results(9) | NAME qed_print_idle_chk_results - Prints idle check results
SYNOPSIS enum dbg_status qed_print_idle_chk_results (struct qed_hwfn *p_hwfn , u32 *dump_buf , u32 num_dumped_dwords , char *results_buf , u32 *num_errors , u32 *num_warnings );
ARGUMENTS p_hwfn HW device data.
dump_buf idle check dump buffer... |
qed_print_igu_fifo_results(9) | NAME qed_print_igu_fifo_results - Prints IGU fifo results
SYNOPSIS enum dbg_status qed_print_igu_fifo_results (struct qed_hwfn *p_hwfn , u32 *dump_buf , u32 num_dumped_dwords , char *results_buf );
ARGUMENTS p_hwfn HW device data.
dump_buf IGU fifo dump buffer, starting from the header.
num_du... |
qed_print_mcp_trace_results(9) | NAME qed_print_mcp_trace_results - Prints MCP Trace results
SYNOPSIS enum dbg_status qed_print_mcp_trace_results (struct qed_hwfn *p_hwfn , u32 *dump_buf , u32 num_dumped_dwords , char *results_buf );
ARGUMENTS p_hwfn HW device data.
dump_buf MCP trace dump buffer, starting from the header.
nu... |
qed_print_protection_override_results(9) | NAME qed_print_protection_override_results - Prints protection override results.
SYNOPSIS enum dbg_status qed_print_protection_override_results (struct qed_hwfn *p_hwfn , u32 *dump_buf , u32 num_dumped_dwords , char *results_buf );
ARGUMENTS p_hwfn HW device data.
dump_buf Protection override dump buf... |
qed_print_reg_fifo_results(9) | NAME qed_print_reg_fifo_results - Prints reg fifo results.
SYNOPSIS enum dbg_status qed_print_reg_fifo_results (struct qed_hwfn *p_hwfn , u32 *dump_buf , u32 num_dumped_dwords , char *results_buf );
ARGUMENTS p_hwfn HW device data.
dump_buf Reg fifo dump buffer, starting from the header.
num_d... |
qed_ptt_acquire(9) | NAME qed_ptt_acquire - Allocate a PTT window.
SYNOPSIS struct qed_ptt * qed_ptt_acquire (struct qed_hwfn *p_hwfn );
ARGUMENTS p_hwfn HW device data.
RETURN struct qed_ptt.
DESCRIPTION Should be called at the entry point to the driver (at the beginning of an exported function).
SEE ALSO Kernel file ./driver... |
qed_ptt_acquire_context(9) | NAME qed_ptt_acquire_context - Allocate a PTT window honoring the context atomicy.
SYNOPSIS struct qed_ptt * qed_ptt_acquire_context (struct qed_hwfn *p_hwfn , bool is_atomic );
ARGUMENTS p_hwfn HW device data.
is_atomic Hint from the caller - if the func can sleep or not.
CONTEXT The function should ... |
qed_ptt_get_bar_addr(9) | NAME qed_ptt_get_bar_addr - Get PPT's external BAR address.
SYNOPSIS u32 qed_ptt_get_bar_addr (struct qed_ptt *p_ptt );
ARGUMENTS p_ptt P_ptt
RETURN u32.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_hw.h qed_gtt_init(9), qed_ptt_pool_alloc(9), qed_ptt_pool_free(9), qed_ptt_get_hw_addr(9), q... |
qed_ptt_get_hw_addr(9) | NAME qed_ptt_get_hw_addr - Get PTT's GRC/HW address.
SYNOPSIS u32 qed_ptt_get_hw_addr (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );
ARGUMENTS p_hwfn HW device data.
p_ptt P_ptt
RETURN u32.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_hw.h qed_gtt_init(9), qed_ptt_pool_allo... |
qed_ptt_pool_alloc(9) | NAME qed_ptt_pool_alloc - Allocate and initialize PTT pool.
SYNOPSIS int qed_ptt_pool_alloc (struct qed_hwfn *p_hwfn );
ARGUMENTS p_hwfn HW device data.
RETURN struct _qed_status - success (0), negative - error.
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_hw.h qed_gtt_init(9), qed_ptt_pool_f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.