id
stringlengths
4
63
text
stringlengths
153
8.81M
qed_eq_free(9)
NAME qed_eq_free - deallocates the given EQ struct. SYNOPSIS void qed_eq_free (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_sp.h qed_eth_cqe_completion(9), qed_spq_post(9), qed_spq_alloc(9), qed_spq_setup(9), qed_spq_f...
qed_eq_prod_update(9)
NAME qed_eq_prod_update - update the FW with default EQ producer. SYNOPSIS void qed_eq_prod_update (struct qed_hwfn *p_hwfn , u16 prod ); ARGUMENTS p_hwfn HW device data. prod Prod. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_sp.h qed_eth_cqe_completion(9), qed_sp...
qed_eq_setup(9)
NAME qed_eq_setup - Reset the EQ to its start state. SYNOPSIS void qed_eq_setup (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_sp.h qed_eth_cqe_completion(9), qed_spq_post(9), qed_spq_alloc(9), qed_spq_setup(9), qed_spq...
qed_eth_cqe_completion(9)
NAME qed_eth_cqe_completion - handles the completion of a ramrod on the cqe ring. SYNOPSIS int qed_eth_cqe_completion (struct qed_hwfn *p_hwfn , struct eth_slow_path_rx_cqe *cqe ); ARGUMENTS p_hwfn HW device data. cqe CQE. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_s...
qed_eth_rx_queue_stop(9)
NAME qed_eth_rx_queue_stop - This ramrod closes an Rx queue. SYNOPSIS int qed_eth_rx_queue_stop (struct qed_hwfn *p_hwfn , void *p_rxq , bool eq_completion_only , bool cqe_completion ); ARGUMENTS p_hwfn HW device data. p_rxq Handler of queue to close eq_completion_only If...
qed_eth_rxq_start_ramrod(9)
NAME qed_eth_rxq_start_ramrod - Starts an Rx queue, when queue_cid is already prepared SYNOPSIS int qed_eth_rxq_start_ramrod (struct qed_hwfn *p_hwfn , struct qed_queue_cid *p_cid , u16 bd_max_bytes , dma_addr_t bd_chain_phys_addr , dma_addr_t cqe_pbl_addr , u16 cqe_pbl_size ); ARGUMENTS p_hwfn HW device data. ...
qed_eth_tx_queue_stop(9)
NAME qed_eth_tx_queue_stop - Closes a Tx queue. SYNOPSIS int qed_eth_tx_queue_stop (struct qed_hwfn *p_hwfn , void *p_txq ); ARGUMENTS p_hwfn HW device data. p_txq handle to Tx queue needed to be closed. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_l2.h qed_eth_rx_que...
qed_eth_txq_start_ramrod(9)
NAME qed_eth_txq_start_ramrod - Starts a Tx queue, where queue_cid is already prepared SYNOPSIS int qed_eth_txq_start_ramrod (struct qed_hwfn *p_hwfn , struct qed_queue_cid *p_cid , dma_addr_t pbl_addr , u16 pbl_size , u16 pq_id ); ARGUMENTS p_hwfn HW device data. p_cid Pointer CID. pbl_add...
qed_fid_pretend(9)
NAME qed_fid_pretend - 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. SYNOPSIS void qed_fid_pretend (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u16 fid ); ARGUMENTS p_hwfn HW ...
qed_final_cleanup(9)
NAME qed_final_cleanup - Cleanup of previous driver remains prior to load. SYNOPSIS int qed_final_cleanup (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u16 id , bool is_vf ); ARGUMENTS p_hwfn HW device data. p_ptt P_ptt. id For PF, engine-relative. For VF, PF-relative. ...
qed_fw_l2_queue(9)
NAME qed_fw_l2_queue - Get absolute L2 queue ID. SYNOPSIS int qed_fw_l2_queue (struct qed_hwfn *p_hwfn , u16 src_id , u16 *dst_id ); ARGUMENTS p_hwfn HW device data. src_id Relative to p_hwfn. dst_id Absolute per engine. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogi...
qed_fw_overlay_init_ram(9)
NAME qed_fw_overlay_init_ram - Initializes the FW overlay RAM. SYNOPSIS void qed_fw_overlay_init_ram (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , struct phys_mem_desc *fw_overlay_mem ); ARGUMENTS p_hwfn HW device data. p_ptt Ptt window used for writing the registers. fw_overlay_mem ...
qed_fw_overlay_mem_alloc(9)
NAME qed_fw_overlay_mem_alloc - Allocates and fills the FW overlay memory. SYNOPSIS struct phys_mem_desc * qed_fw_overlay_mem_alloc (struct qed_hwfn *p_hwfn , const u32 *const fw_overlay_in_buf , u32 buf_size_in_bytes ); ARGUMENTS p_hwfn HW device data. fw_overlay_in_buf The input FW o...
qed_fw_overlay_mem_free(9)
NAME qed_fw_overlay_mem_free - Frees the FW overlay memory. SYNOPSIS void qed_fw_overlay_mem_free (struct qed_hwfn *p_hwfn , struct phys_mem_desc **fw_overlay_mem ); ARGUMENTS p_hwfn HW device data. fw_overlay_mem The allocated FW overlay memory to free. RETURN Void. SEE ALSO Kernel ...
qed_fw_rss_eng(9)
NAME qed_fw_rss_eng - Get absolute RSS engine ID. SYNOPSIS int qed_fw_rss_eng (struct qed_hwfn *p_hwfn , u8 src_id , u8 *dst_id ); ARGUMENTS p_hwfn HW device data. src_id Relative to p_hwfn. dst_id Absolute per engine. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/...
qed_fw_vport(9)
NAME qed_fw_vport - Get absolute vport ID. SYNOPSIS int qed_fw_vport (struct qed_hwfn *p_hwfn , u8 src_id , u8 *dst_id ); ARGUMENTS p_hwfn HW device data. src_id Relative to p_hwfn. dst_id Absolute per engine. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_d...
qed_get_fw_asserts_results_buf_size(9)
NAME qed_get_fw_asserts_results_buf_size - Returns the required buffer size for FW Asserts results (in bytes). SYNOPSIS enum dbg_status qed_get_fw_asserts_results_buf_size (struct qed_hwfn *p_hwfn , u32 *dump_buf , u32 num_dumped_dwords , u32 *results_buf_size ); ARGUMENTS p_hwfn HW device data. dump_buf...
qed_get_idle_chk_results_buf_size(9)
NAME qed_get_idle_chk_results_buf_size - Returns the required buffer size for idle check results (in bytes). SYNOPSIS enum dbg_status qed_get_idle_chk_results_buf_size (struct qed_hwfn *p_hwfn , u32 *dump_buf , u32 num_dumped_dwords , u32 *results_buf_size ); ARGUMENTS p_hwfn HW device data. dump_buf ...
qed_get_igu_fifo_results_buf_size(9)
NAME qed_get_igu_fifo_results_buf_size - Returns the required buffer size for igu_fifo results (in bytes). SYNOPSIS enum dbg_status qed_get_igu_fifo_results_buf_size (struct qed_hwfn *p_hwfn , u32 *dump_buf , u32 num_dumped_dwords , u32 *results_buf_size ); ARGUMENTS p_hwfn HW device data. dump_buf IG...
qed_get_igu_free_sb(9)
NAME qed_get_igu_free_sb - Return a pointer to an unused valid SB SYNOPSIS struct qed_igu_block * qed_get_igu_free_sb (struct qed_hwfn *p_hwfn , bool b_is_pf ); ARGUMENTS p_hwfn HW device data. b_is_pf True iff we want a SB belonging to a PF. RETURN Point to an igu_block, NULL if none is available. ...
qed_get_igu_sb_id(9)
NAME qed_get_igu_sb_id - Translate the weakly-defined client sb-id into an IGU sb-id SYNOPSIS u16 qed_get_igu_sb_id (struct qed_hwfn *p_hwfn , u16 sb_id ); ARGUMENTS p_hwfn HW device data. sb_id user provided sb_id. RETURN An index inside IGU CAM where the SB resides. SEE ALSO Kernel file ./...
qed_get_mcp_trace_results_buf_size(9)
NAME qed_get_mcp_trace_results_buf_size - Returns the required buffer size for MCP Trace results (in bytes). SYNOPSIS enum dbg_status qed_get_mcp_trace_results_buf_size (struct qed_hwfn *p_hwfn , u32 *dump_buf , u32 num_dumped_dwords , u32 *results_buf_size ); ARGUMENTS p_hwfn HW device data. dump_buf ...
qed_get_process_kill_counter(9)
NAME qed_get_process_kill_counter - Read the MFW process kill counter. SYNOPSIS u32 qed_get_process_kill_counter (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt ); ARGUMENTS p_hwfn HW device data. p_ptt PTT required for register access. RETURN u32. SEE ALSO Kernel file ./drivers/net/ethernet/q...
qed_get_protection_override_results_buf_size(9)
NAME qed_get_protection_override_results_buf_size - Returns the required buffer size for protection override results (in bytes). SYNOPSIS enum dbg_status qed_get_protection_override_results_buf_size (struct qed_hwfn *p_hwfn , u32 *dump_buf , u32 num_dumped_dwords , u32 *results_buf_size ); ARGUMENTS p_hwfn HW de...
qed_get_protocol_stats_fcoe(9)
NAME qed_get_protocol_stats_fcoe - Fills provided statistics struct with statistics. SYNOPSIS void qed_get_protocol_stats_fcoe (struct qed_dev *cdev , struct qed_mcp_fcoe_stats *stats , bool is_atomic ); ARGUMENTS cdev Qed dev pointer. stats Points to struct that will be filled with statistics. ...
qed_get_protocol_stats_iscsi(9)
NAME qed_get_protocol_stats_iscsi - Fills provided statistics struct with statistics. SYNOPSIS void qed_get_protocol_stats_iscsi (struct qed_dev *cdev , struct qed_mcp_iscsi_stats *stats , bool is_atomic ); ARGUMENTS cdev Qed dev pointer. stats Points to struct that will be filled with statistics...
qed_get_protocol_type_str(9)
NAME qed_get_protocol_type_str - Get a string for Protocol type. SYNOPSIS const char * qed_get_protocol_type_str (u32 protocol_type ); ARGUMENTS protocol_type Protocol type (using enum protocol_type). RETURN String. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_hsi.h qed_qm_pf_mem_size(9), qed_qm_c...
qed_get_queue_coalesce(9)
NAME qed_get_queue_coalesce - Retrieve coalesce value for a given queue. SYNOPSIS int qed_get_queue_coalesce (struct qed_hwfn *p_hwfn , u16 *coal , void *handle ); ARGUMENTS p_hwfn HW device data. coal Store coalesce value read from the hardware. handle P_handle. RETURN Int. SEE ALS...
qed_get_ramrod_cmd_id_str(9)
NAME qed_get_ramrod_cmd_id_str - Get a string for Ramrod command ID. SYNOPSIS const char * qed_get_ramrod_cmd_id_str (u32 protocol_type , u32 ramrod_cmd_id ); ARGUMENTS protocol_type Protocol type (using enum protocol_type). ramrod_cmd_id Ramrod command ID (using per-protocol enum <protocol...
qed_get_reg_fifo_results_buf_size(9)
NAME qed_get_reg_fifo_results_buf_size - Returns the required buffer size for reg_fifo results (in bytes). SYNOPSIS enum dbg_status qed_get_reg_fifo_results_buf_size (struct qed_hwfn *p_hwfn , u32 *dump_buf , u32 num_dumped_dwords , u32 *results_buf_size ); ARGUMENTS p_hwfn HW device data. dump_buf Re...
qed_get_reserved_ptt(9)
NAME qed_get_reserved_ptt - Get a specific reserved PTT. SYNOPSIS struct qed_ptt * qed_get_reserved_ptt (struct qed_hwfn *p_hwfn , enum reserved_ptts ptt_idx ); ARGUMENTS p_hwfn HW device data. ptt_idx Ptt Index. RETURN struct qed_ptt *. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_...
qed_get_vport_stats(9)
NAME qed_get_vport_stats - Fills provided statistics struct with statistics. SYNOPSIS void qed_get_vport_stats (struct qed_dev *cdev , struct qed_eth_stats *stats ); ARGUMENTS cdev Qed dev pointer. stats Points to struct that will be filled with statistics. RETURN Void. SEE ALSO Kernel file ./...
qed_get_vport_stats_context(9)
NAME qed_get_vport_stats_context - Fills provided statistics struct with statistics. SYNOPSIS void qed_get_vport_stats_context (struct qed_dev *cdev , struct qed_eth_stats *stats , bool is_atomic ); ARGUMENTS cdev Qed dev pointer. stats Points to struct that will be filled with statistics. ...
qed_gft_config(9)
NAME qed_gft_config - Enable and configure HW for GFT. SYNOPSIS void qed_gft_config (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u16 pf_id , bool tcp , bool udp , bool ipv4 , bool ipv6 , enum gft_profile_type profile_type ); ARGUMENTS p_hwfn HW device data. p_ptt Ptt window used for writing t...
qed_gft_disable(9)
NAME qed_gft_disable - Disable GFT. SYNOPSIS void qed_gft_disable (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u16 pf_id ); ARGUMENTS p_hwfn HW device data. p_ptt Ptt window used for writing the registers. pf_id PF on which to disable GFT. RETURN Void. SEE ALSO Kernel file ....
qed_gtt_init(9)
NAME qed_gtt_init - Initialize GTT global windows and set admin window related params of GTT/PTT to default values. SYNOPSIS void qed_gtt_init (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. DESCRIPTION Return Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_init_ops.h qed_init_iro...
qed_hw_err_notify(9)
NAME qed_hw_err_notify - Notify upper layer driver and management FW about a HW error. SYNOPSIS void __cold qed_hw_err_notify (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , enum qed_hw_err_type err_type , const char *fmt , ... ); ARGUMENTS p_hwfn HW device data. p_ptt P_ptt. err_type ...
qed_hw_init(9)
NAME qed_hw_init - Init Qed hardware. SYNOPSIS int qed_hw_init (struct qed_dev *cdev , struct qed_hw_init_params *p_params ); ARGUMENTS cdev Qed dev pointer. p_params Pointers to params. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dev_api.h qed_init_dp(9), qed_init_str...
qed_hw_prepare(9)
NAME qed_hw_prepare - Prepare Qed hardware. SYNOPSIS int qed_hw_prepare (struct qed_dev *cdev , int personality ); ARGUMENTS cdev Qed dev pointer. personality Personality to initialize. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dev_api.h qed_init_dp(9), qed_init_stru...
qed_hw_remove(9)
NAME qed_hw_remove - Remove Qed hardware. SYNOPSIS void qed_hw_remove (struct qed_dev *cdev ); ARGUMENTS cdev Qed dev pointer. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dev_api.h qed_init_dp(9), qed_init_struct(9), qed_resc_free(9), qed_resc_alloc(9), qed_resc_setup(9), ...
qed_hw_start_fastpath(9)
NAME qed_hw_start_fastpath - Restart fastpath traffic, only if hw_stop_fastpath was called. SYNOPSIS int qed_hw_start_fastpath (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dev_api.h qed_init_dp(9), qed_init_struct(9), ...
qed_hw_stop(9)
NAME qed_hw_stop - Stop Qed hardware. SYNOPSIS int qed_hw_stop (struct qed_dev *cdev ); ARGUMENTS cdev Qed dev pointer. RETURN int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dev_api.h qed_init_dp(9), qed_init_struct(9), qed_resc_free(9), qed_resc_alloc(9), qed_resc_setup(9), q...
qed_hw_stop_fastpath(9)
NAME qed_hw_stop_fastpath - Should be called incase slowpath is still required for the device, but fastpath is not. SYNOPSIS int qed_hw_stop_fastpath (struct qed_dev *cdev ); ARGUMENTS cdev Qed dev pointer. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dev_api.h qed_init_dp(9), ...
qed_hw_timers_stop_all(9)
NAME qed_hw_timers_stop_all - Stop the timers HW block. SYNOPSIS void qed_hw_timers_stop_all (struct qed_dev *cdev ); ARGUMENTS cdev Qed dev pointer. RETURN void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dev_api.h qed_init_dp(9), qed_init_struct(9), qed_resc_free(9), qed_resc_alloc...
qed_init_alloc(9)
NAME qed_init_alloc - Allocate RT array, Store 'values' ptrs. SYNOPSIS int qed_init_alloc (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN _qed_status_t. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_init_ops.h qed_init_iro_array(9), qed_init_run(9), qed_init_free(9), qed_init_s...
qed_init_cau_sb_entry(9)
NAME qed_init_cau_sb_entry - Initialize CAU status block entry. SYNOPSIS void qed_init_cau_sb_entry (struct qed_hwfn *p_hwfn , struct cau_sb_entry *p_sb_entry , u8 pf_id , u16 vf_number , u8 vf_valid ); ARGUMENTS p_hwfn HW device data. p_sb_entry Pointer SB entry. pf_id PF number v...
qed_init_dp(9)
NAME qed_init_dp - Initialize the debug level. SYNOPSIS void qed_init_dp (struct qed_dev *cdev , u32 dp_module , u8 dp_level ); ARGUMENTS cdev Qed dev pointer. dp_module Module debug parameter. dp_level Module debug level. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic...
qed_init_free(9)
NAME qed_init_free - Init HW function deallocate. SYNOPSIS void qed_init_free (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_init_ops.h qed_init_iro_array(9), qed_init_run(9), qed_init_alloc(9), qed_init_store_rt_reg(9), qed_...
qed_init_global_rl(9)
NAME qed_init_global_rl - Initializes the rate limit of the specified rate limiter. SYNOPSIS int qed_init_global_rl (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u16 rl_id , u32 rate_limit , enum init_qm_rl_type vport_rl_type ); ARGUMENTS p_hwfn HW device data. p_ptt Ptt window used for writin...
qed_init_iro_array(9)
NAME qed_init_iro_array - init iro_arr. SYNOPSIS void qed_init_iro_array (struct qed_dev *cdev ); ARGUMENTS cdev Qed dev pointer. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_init_ops.h qed_init_run(9), qed_init_alloc(9), qed_init_free(9), qed_init_store_rt_reg(9), qed_gtt_init(9) ...
qed_init_pf_rl(9)
NAME qed_init_pf_rl - Initializes the rate limit of the specified PF SYNOPSIS int qed_init_pf_rl (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u8 pf_id , u32 pf_rl ); ARGUMENTS p_hwfn HW device data. p_ptt Ptt window used for writing the registers. pf_id PF ID. pf_rl ...
qed_init_pf_wfq(9)
NAME qed_init_pf_wfq - Initializes the WFQ weight of the specified PF. SYNOPSIS int qed_init_pf_wfq (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u8 pf_id , u16 pf_wfq ); ARGUMENTS p_hwfn HW device data. p_ptt Ptt window used for writing the registers pf_id PF ID pf_wfq ...
qed_init_run(9)
NAME qed_init_run - Run the init-sequence. SYNOPSIS int qed_init_run (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , int phase , int phase_id , int modes ); ARGUMENTS p_hwfn HW device data. p_ptt P_ptt. phase Phase. phase_id Phase ID. modes Mode. RETURN _q...
qed_init_store_rt_reg(9)
NAME qed_init_store_rt_reg - Store a configuration value in the RT array. SYNOPSIS void qed_init_store_rt_reg (struct qed_hwfn *p_hwfn , u32 rt_offset , u32 val ); ARGUMENTS p_hwfn HW device data. rt_offset RT offset. val Val. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/q...
qed_init_struct(9)
NAME qed_init_struct - Initialize the device structure to its defaults. SYNOPSIS void qed_init_struct (struct qed_dev *cdev ); ARGUMENTS cdev Qed dev pointer. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dev_api.h qed_init_dp(9), qed_resc_free(9), qed_resc_alloc(9), qed_resc_...
qed_init_vport_tc_wfq(9)
NAME qed_init_vport_tc_wfq - Initializes the WFQ weight of the specified VPORT and TC. SYNOPSIS int qed_init_vport_tc_wfq (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u16 first_tx_pq_id , u16 weight ); ARGUMENTS p_hwfn HW device data. p_ptt Ptt window used for writing the registers. f...
qed_init_vport_wfq(9)
NAME qed_init_vport_wfq - Initializes the WFQ weight of the specified VPORT SYNOPSIS int qed_init_vport_wfq (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u16 first_tx_pq_id[NUM_OF_TCS] , u16 wfq ); ARGUMENTS p_hwfn HW device data. p_ptt Ptt window used for writing the registers first_t...
qed_int_alloc(9)
NAME qed_int_alloc - QED interrupt alloc. SYNOPSIS int qed_int_alloc (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_int.h qed_int_igu_enable_int(9), qed_int_igu_disab...
qed_int_assertion(9)
NAME qed_int_assertion - Handle asserted attention bits. SYNOPSIS int qed_int_assertion (struct qed_hwfn *p_hwfn , u16 asserted_bits ); ARGUMENTS p_hwfn HW device data. asserted_bits Newly asserted bits. RETURN Zero value. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_in...
qed_int_attn_clr_enable(9)
NAME qed_int_attn_clr_enable - Sets whether the general behavior is preventing attentions from being reasserted, or following the attributes of the specific attention. SYNOPSIS void qed_int_attn_clr_enable (struct qed_dev *cdev , bool clr_enable ); ARGUMENTS cdev Qed dev pointer. clr_enable Clear enab...
qed_int_cau_conf_sb(9)
NAME qed_int_cau_conf_sb - Configure cau for a given status block. SYNOPSIS void qed_int_cau_conf_sb (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , dma_addr_t sb_phys , u16 igu_sb_id , u16 vf_number , u8 vf_valid ); ARGUMENTS p_hwfn HW device data. p_ptt P_ptt. sb_phys SB Physical. ...
qed_int_deassertion(9)
NAME qed_int_deassertion - Handle deassertion of previously asserted attentions. SYNOPSIS int qed_int_deassertion (struct qed_hwfn *p_hwfn , u16 deasserted_bits ); ARGUMENTS p_hwfn HW device data. deasserted_bits newly deasserted bits. RETURN Zero value. SEE ALSO Kernel file ./driver...
qed_int_deassertion_aeu_bit(9)
NAME qed_int_deassertion_aeu_bit - Handles the effects of a single cause of the attention. SYNOPSIS int qed_int_deassertion_aeu_bit (struct qed_hwfn *p_hwfn , struct aeu_invert_reg_bit *p_aeu , u32 aeu_en_reg , const char *p_bit_name , u32 bitmask ); ARGUMENTS p_hwfn HW device data. p_aeu Descripto...
qed_int_deassertion_parity(9)
NAME qed_int_deassertion_parity - Handle a single parity AEU source. SYNOPSIS void qed_int_deassertion_parity (struct qed_hwfn *p_hwfn , struct aeu_invert_reg_bit *p_aeu , u32 aeu_en_reg , u8 bit_index ); ARGUMENTS p_hwfn HW device data. p_aeu Descriptor of an AEU bit which caused the parity. ...
qed_int_disable_post_isr_release(9)
NAME qed_int_disable_post_isr_release - Performs the cleanup post ISR release. The API need to be called after releasing all slowpath IRQs of the device. SYNOPSIS void qed_int_disable_post_isr_release (struct qed_dev *cdev ); ARGUMENTS cdev Qed dev pointer. RETURN Void. SEE ALSO Kernel file ./drivers/ne...
qed_int_free(9)
NAME qed_int_free - QED interrupt free. SYNOPSIS void qed_int_free (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_int.h qed_int_igu_enable_int(9), qed_int_igu_disable_int(9), qed_int_igu_read_sisr_reg(9), qed_int...
qed_int_get_num_sbs(9)
NAME qed_int_get_num_sbs - Get the number of status blocks configured for this funciton in the igu. SYNOPSIS void qed_int_get_num_sbs (struct qed_hwfn *p_hwfn , struct qed_sb_cnt_info *p_sb_cnt_info ); ARGUMENTS p_hwfn HW device data. p_sb_cnt_info Pointer to SB count info. RETURN Voi...
qed_int_get_sb_dbg(9)
NAME qed_int_get_sb_dbg - Read debug information regarding a given SB SYNOPSIS int qed_int_get_sb_dbg (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , struct qed_sb_info *p_sb , struct qed_sb_info_dbg *p_info ); ARGUMENTS p_hwfn hw function pointer p_ptt ptt resource p_sb pointer t...
qed_int_get_sp_sb_id(9)
NAME qed_int_get_sp_sb_id - Get the slowhwfn sb id. SYNOPSIS u16 qed_int_get_sp_sb_id (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN u16. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_int.h qed_int_igu_enable_int(9), qed_int_igu_disable_int(9), qed_int_igu_read_sisr...
qed_int_igu_disable_int(9)
NAME qed_int_igu_disable_int - Disable device interrupts. SYNOPSIS void qed_int_igu_disable_int (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_int.h qed_int_igu_enable_int(...
qed_int_igu_enable(9)
NAME qed_int_igu_enable - Enable Interrupt & Attention for hw function. SYNOPSIS int qed_int_igu_enable (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , enum qed_int_mode int_mode ); ARGUMENTS p_hwfn HW device data. p_ptt P_ptt. int_mode Interrut mode RETURN Int. SEE ALSO Kernel f...
qed_int_igu_enable_int(9)
NAME qed_int_igu_enable_int - Enable device interrupts. SYNOPSIS void qed_int_igu_enable_int (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , enum qed_int_mode int_mode ); ARGUMENTS p_hwfn HW device data. p_ptt P_ptt. int_mode Interrupt mode to use. RETURN Void. SEE ALSO Kernel file...
qed_int_igu_init_pure_rt_single(9)
NAME qed_int_igu_init_pure_rt_single - Status block cleanup. Should be called for each status block that will be used -> both PF / VF. SYNOPSIS void qed_int_igu_init_pure_rt_single (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u16 igu_sb_id , u16 opaque , bool b_set ); ARGUMENTS p_hwfn HW device data. ...
qed_int_igu_init_rt(9)
NAME qed_int_igu_init_rt - Initialize IGU runtime registers. SYNOPSIS void qed_int_igu_init_rt (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_assertion(9), qed_int_deassertion_aeu_bit(9), qed_int_deassertion_parity(9), qed_in...
qed_int_igu_read_cam(9)
NAME qed_int_igu_read_cam - 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. SYNOPSIS int qed_int_igu_read_cam (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt ); ARGUMENTS p_hwfn HW devi...
qed_int_igu_read_sisr_reg(9)
NAME qed_int_igu_read_sisr_reg - Reads the single isr multiple dpc register from igu. SYNOPSIS u64 qed_int_igu_read_sisr_reg (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN u64. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_int.h qed_int_igu_enable_int(9), qed_int_igu_disab...
qed_int_igu_reset_cam(9)
NAME qed_int_igu_reset_cam - Make sure the IGU CAM reflects the resources provided by MFW. SYNOPSIS int qed_int_igu_reset_cam (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_int_register_cb(9)
NAME qed_int_register_cb - Register callback func for slowhwfn statusblock. SYNOPSIS int qed_int_register_cb (struct qed_hwfn *p_hwfn , qed_int_comp_cb_t comp_cb , void *cookie , u8 *sb_idx , __le16 **p_fw_cons ); ARGUMENTS p_hwfn HW device data. comp_cb Function to be called when there is an interru...
qed_int_sb_init(9)
NAME qed_int_sb_init - Initializes the sb_info structure. SYNOPSIS int qed_int_sb_init (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , struct qed_sb_info *sb_info , void *sb_virt_addr , dma_addr_t sb_phy_addr , u16 sb_id ); ARGUMENTS p_hwfn HW device data. p_ptt P_ptt. sb_info points...
qed_int_sb_release(9)
NAME qed_int_sb_release - Releases the sb_info structure. SYNOPSIS int qed_int_sb_release (struct qed_hwfn *p_hwfn , struct qed_sb_info *sb_info , u16 sb_id ); ARGUMENTS p_hwfn HW device data. sb_info Points to an allocated sb_info structure. sb_id The sb_id to be used (zero based in dr...
qed_int_sb_setup(9)
NAME qed_int_sb_setup - Setup the sb. SYNOPSIS void qed_int_sb_setup (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , struct qed_sb_info *sb_info ); ARGUMENTS p_hwfn HW device data. p_ptt P_ptt. sb_info Initialized sb_info structure. RETURN Void. SEE ALSO Kernel file ./drivers/ne...
qed_int_setup(9)
NAME qed_int_setup - QED interrupt setup. SYNOPSIS void qed_int_setup (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_int.h qed_int_igu_enable_int(9), qed_int_igu_disa...
qed_int_sp_dpc(9)
NAME qed_int_sp_dpc - To be called when an interrupt is received on the default status block. SYNOPSIS void qed_int_sp_dpc (struct tasklet_struct *t ); ARGUMENTS t Tasklet. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_int.h qed_int_igu_enable_int(9), qed_int_igu_disable...
qed_int_unregister_cb(9)
NAME qed_int_unregister_cb - Unregisters callback function from sp sb. SYNOPSIS int qed_int_unregister_cb (struct qed_hwfn *p_hwfn , u8 pi ); ARGUMENTS p_hwfn HW device data. pi Producer Index. RETURN Int. DESCRIPTION Partner of qed_int_register_cb -> should be called when no longer required. ...
qed_iov_alloc(9)
NAME qed_iov_alloc - allocate sriov related resources SYNOPSIS int qed_iov_alloc (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_sriov.h qed_iov_is_valid_vfid(9), qed_iov_get_next_active_vf(9), qed_iov_hw_info(9)...
qed_iov_config_perm_table(9)
NAME qed_iov_config_perm_table - Configure the permission zone table. SYNOPSIS void qed_iov_config_perm_table (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , struct qed_vf_info *vf , u8 enable ); ARGUMENTS p_hwfn HW device data. p_ptt PTT window for writing the registers. vf VF ...
qed_iov_free(9)
NAME qed_iov_free - free sriov related resources SYNOPSIS void qed_iov_free (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_sriov.h qed_iov_is_valid_vfid(9), qed_iov_get_next_active_vf(9), qed_iov_hw_info(9), ...
qed_iov_free_hw_info(9)
NAME qed_iov_free_hw_info - free sriov related memory that was allocated during hw_prepare SYNOPSIS void qed_iov_free_hw_info (struct qed_dev *cdev ); ARGUMENTS cdev Qed dev pointer. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_sriov.h qed_iov_is_valid_vfid(9), qed_iov_...
qed_iov_get_next_active_vf(9)
NAME qed_iov_get_next_active_vf - Given a VF index, return index of next [including that] active VF. SYNOPSIS u16 qed_iov_get_next_active_vf (struct qed_hwfn *p_hwfn , u16 rel_vf_id ); ARGUMENTS p_hwfn HW device data. rel_vf_id VF ID. RETURN MAX_NUM_VFS in case no further active VFs, otherwise index. ...
qed_iov_hw_info(9)
NAME qed_iov_hw_info - Read sriov related information and allocated resources reads from configuration space, shmem, etc. SYNOPSIS int qed_iov_hw_info (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_sriov.h qed_iov_is_valid_vfi...
qed_iov_is_valid_vfid(9)
NAME qed_iov_is_valid_vfid - 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. SYNOPSIS bool qed_iov_is_valid_vfid (struct qed_hwfn *p_hwfn , int rel_vf_id , bool b_enabled_only , bool b_non_malicious ); ...
qed_iov_mark_vf_flr(9)
NAME qed_iov_mark_vf_flr - Mark structs of vfs that have been FLR-ed. SYNOPSIS bool qed_iov_mark_vf_flr (struct qed_hwfn *p_hwfn , u32 *disabled_vfs ); ARGUMENTS p_hwfn HW device data. disabled_vfs bitmask of all VFs on path that were FLRed RETURN true iff one of the PF's vfs got FLRe...
qed_iov_search_list_tlvs(9)
NAME qed_iov_search_list_tlvs - Search extended TLVs in request/reply buffer. SYNOPSIS void * qed_iov_search_list_tlvs (struct qed_hwfn *p_hwfn , void *p_tlvs_list , u16 req_type ); ARGUMENTS p_hwfn HW device data. p_tlvs_list Pointer to tlvs list req_type Type of TLV RETURN pointer to tlv ty...
qed_iov_setup(9)
NAME qed_iov_setup - setup sriov related resources SYNOPSIS void qed_iov_setup (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_sriov.h qed_iov_is_valid_vfid(9), qed_iov_get_next_active_vf(9), qed_iov_hw_info(9),...
qed_ll2_acquire_connection(9)
NAME qed_ll2_acquire_connection - Allocate resources, starts rx & tx (if relevant) queues pair. Provides connecion handler as output parameter. SYNOPSIS int qed_ll2_acquire_connection (void *cxt , struct qed_ll2_acquire_data *data ); ARGUMENTS cxt Pointer to the hw-function [opaque to some]. data ...
qed_ll2_alloc(9)
NAME qed_ll2_alloc - Allocates LL2 connections set. SYNOPSIS int qed_ll2_alloc (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Int. 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_buff...
qed_ll2_establish_connection(9)
NAME qed_ll2_establish_connection - start previously allocated LL2 queues pair SYNOPSIS int qed_ll2_establish_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_re...
qed_ll2_free(9)
NAME qed_ll2_free - Releases LL2 connections set SYNOPSIS void qed_ll2_free (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_get_stats(9)
NAME qed_ll2_get_stats - Get LL2 queue's statistics SYNOPSIS int qed_ll2_get_stats (void *cxt , u8 connection_handle , struct qed_ll2_stats *p_stats ); ARGUMENTS cxt Pointer to the hw-function [opaque to some]. connection_handle LL2 connection's handle obtained from qed_ll2_require_...
qed_ll2_post_rx_buffer(9)
NAME qed_ll2_post_rx_buffer - Submit buffers to LL2 Rx queue. SYNOPSIS int qed_ll2_post_rx_buffer (void *cxt , u8 connection_handle , dma_addr_t addr , u16 buf_len , void *cookie , u8 notify_fw ); ARGUMENTS cxt Pointer to the hw-function [opaque to some]. connection_handle LL2 conne...