Searched refs:pdev (Results 1 - 25 of 107) sorted by relevance

12345

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_hw_init_reset.c50 #define PXP2_SET_FIRST_LAST_ILT(pdev, blk, first, last) \
52 if (CHIP_IS_E1(pdev)) { \
53 REG_WR(pdev,(PORT_ID(pdev) ? PXP2_REG_PSWRQ_##blk##1_L2P: PXP2_REG_PSWRQ_##blk##0_L2P),((last)<<10 | (first))); \
55 REG_WR(pdev,PXP2_REG_RQ_##blk##_FIRST_ILT,(first)); \
56 REG_WR(pdev,PXP2_REG_RQ_##blk##_LAST_ILT,(last)); \
135 void lm_reset_set_inprogress(struct _lm_device_t *pdev) argument
137 const u8_t bus_num = INST_ID_TO_BUS_NUM(PFDEV(pdev)->vars.inst_id) ;
143 void lm_reset_clear_inprogress(struct _lm_device_t *pdev) argument
145 const u8_t bus_num = INST_ID_TO_BUS_NUM(PFDEV(pdev)
151 lm_pm_reset_is_inprogress(struct _lm_device_t *pdev) argument
173 lm_er_handling_pending(struct _lm_device_t *pdev) argument
187 lm_reset_is_inprogress(struct _lm_device_t *pdev) argument
204 lm_fl_reset_set_inprogress(struct _lm_device_t *pdev) argument
218 lm_fl_reset_clear_inprogress(struct _lm_device_t *pdev) argument
224 lm_fl_reset_is_inprogress(struct _lm_device_t *pdev) argument
229 lm_is_function_after_flr(struct _lm_device_t * pdev) argument
249 lm_cleanup_after_flr(struct _lm_device_t * pdev) argument
580 lm_inc_cnt_grc_timeout_ignore(struct _lm_device_t *pdev, u32_t val) argument
591 ecore_gunzip(struct _lm_device_t *pdev, const u8 *zbuf, int len) argument
601 ecore_reg_wr_ind(struct _lm_device_t *pdev, u32 addr, u32 val) argument
606 ecore_write_dmae_phys_len(struct _lm_device_t *pdev, lm_address_t phys_addr, u32 addr, u32 len) argument
615 rbc_reset_workaround(lm_device_t *pdev) argument
645 lm_set_nig_reset_called(struct _lm_device_t *pdev) argument
653 lm_clear_nig_reset_called(struct _lm_device_t *pdev) argument
661 lm_is_nig_reset_called(struct _lm_device_t *pdev) argument
672 lm_reset_path( IN struct _lm_device_t *pdev, IN const u8_t b_with_nig ) argument
797 lm_reset_prev_interrupted_dmae(struct _lm_device_t *pdev) argument
818 lm_reset_device_if_undi_func_hide_helper( struct _lm_device_t *pdev, const u32_t chip_id, const u8_t path_id, const u8_t port, const u8_t vnic, const u8_t port_factor, const lm_chip_port_mode_t port_mode ) argument
862 lm_reset_device_if_undi_active(struct _lm_device_t *pdev) argument
1100 lm_disable_function_in_nig(struct _lm_device_t *pdev) argument
1151 lm_function_stop(struct _lm_device_t *pdev) argument
1179 lm_chip_stop(struct _lm_device_t *pdev) argument
1222 clear_pf_enable(lm_device_t *pdev) argument
1229 uninit_pxp2_blk(lm_device_t *pdev) argument
1286 lm_reset_function_part(struct _lm_device_t *pdev, u8_t cleanup) argument
1389 lm_reset_port_part(struct _lm_device_t *pdev) argument
1460 lm_reset_nig_valid_offset(lm_device_t * pdev, const lm_nig_save_restore_data_t * data, lm_reset_nig_op_t op) argument
1494 lm_pretend_func( struct _lm_device_t *pdev, u16_t pretend_func_num ) argument
1579 lm_reset_nig_process(IN struct _lm_device_t *pdev, IN lm_nig_save_restore_data_t const reg_offsets_port[], OUT u32_t reg_port_arr[], IN u32_t const reg_port_arr_size, IN u8_t const func_id) argument
1612 lm_reset_nig_values_for_func_save_restore( IN struct _lm_device_t *pdev, IN lm_reset_nig_op_t const save_or_restore, IN u8_t const pretend_func_id, IN lm_nig_save_restore_data_t const reg_offsets_port[], OUT u32_t reg_port_arr[], IN u32_t const reg_port_arr_size, IN u32_t const reg_port_wb_offset_base, OUT u64_t reg_port_wb_arr[], IN u32_t const reg_port_wb_arr_size ) argument
1703 lm_reset_device_with_nig(struct _lm_device_t *pdev) argument
1819 lm_reset_common_part(struct _lm_device_t *pdev) argument
1838 lm_chip_reset(struct _lm_device_t *pdev, lm_reason_t reason) argument
1983 lm_function_start(struct _lm_device_t *pdev) argument
2093 lm_chip_start(struct _lm_device_t *pdev) argument
2158 lm_setup_read_mgmt_stats_ptr( struct _lm_device_t *pdev, IN const u32_t mailbox_num, OUT u32_t* OPTIONAL fw_port_stats_ptr, OUT u32_t* OPTIONAL fw_func_stats_ptr ) argument
2216 lm_init_get_modes_bitmap(struct _lm_device_t *pdev) argument
2359 lm_ncsi_get_shmem_address( struct _lm_device_t *pdev) argument
2390 lm_ncsi_drv_ver_to_scratchpad( struct _lm_device_t *pdev, u32_t ver_32 ) argument
2406 lm_ncsi_prev_drv_ver_is_win8_inbox( struct _lm_device_t *pdev) argument
2508 lm_ncsi_fcoe_cap_to_scratchpad( struct _lm_device_t *pdev) argument
2550 init_misc_common(lm_device_t *pdev) argument
2618 init_aeu_port(lm_device_t *pdev) argument
2665 init_pxp_common(lm_device_t *pdev) argument
2681 init_pxp2_common(lm_device_t *pdev) argument
2754 init_pglue_b_common(lm_device_t *pdev) argument
2759 init_atc_common(lm_device_t *pdev) argument
2770 init_pxp2_func(lm_device_t *pdev) argument
2823 init_dmae_common(lm_device_t *pdev) argument
2839 init_qm_common(lm_device_t *pdev) argument
2912 init_qm_func(lm_device_t *pdev) argument
2924 init_qm_port(lm_device_t *pdev) argument
2937 init_tm_port(lm_device_t *pdev) argument
2953 init_dq_common(lm_device_t *pdev) argument
2972 init_dq_func(lm_device_t *pdev) argument
3014 init_brb1_common(lm_device_t *pdev) argument
3019 init_pbf_common(lm_device_t *pdev) argument
3041 init_pbf_func(lm_device_t *pdev) argument
3050 init_brb_port(lm_device_t *pdev) argument
3106 init_prs_common(lm_device_t *pdev) argument
3146 init_prs_port(lm_device_t *pdev) argument
3169 init_prs_func(lm_device_t *pdev) argument
3180 init_semi_common(lm_device_t *pdev) argument
3202 init_semi_port(lm_device_t *pdev) argument
3233 init_semi_func(lm_device_t *pdev) argument
3251 init_pbf_port(lm_device_t *pdev) argument
3276 init_src_common(lm_device_t *pdev) argument
3301 init_src_func(lm_device_t *pdev) argument
3317 init_cdu_common(lm_device_t *pdev) argument
3340 init_cfc_common(lm_device_t *pdev) argument
3392 init_hc_port(lm_device_t *pdev) argument
3408 init_hc_func(lm_device_t *pdev) argument
3444 init_igu_func(lm_device_t *pdev) argument
3539 init_nig_common(lm_device_t *pdev) argument
3556 init_nig_port(lm_device_t *pdev) argument
3600 init_nig_func(lm_device_t *pdev) argument
3626 init_pxpcs_common(lm_device_t *pdev) argument
3647 init_pxpcs_func(lm_device_t *pdev) argument
3658 init_pglue_b_port(lm_device_t *pdev) argument
3670 init_pglue_b_func(lm_device_t *pdev) argument
3685 init_cfc_func(lm_device_t *pdev) argument
3695 init_aeu_common(lm_device_t * pdev) argument
3761 init_nig_pkt(struct _lm_device_t *pdev) argument
3788 prs_brb_mem_setup(struct _lm_device_t *pdev) argument
3951 lm_init_intmem_common(struct _lm_device_t *pdev) argument
3975 lm_init_intmem_port(struct _lm_device_t *pdev) argument
4024 lm_init_intmem_eq(struct _lm_device_t * pdev) argument
4042 lm_init_intmem_function(struct _lm_device_t *pdev) argument
4187 init_common_part(struct _lm_device_t *pdev) argument
4342 init_port_part(struct _lm_device_t *pdev) argument
4403 init_function_part(struct _lm_device_t *pdev) argument
4478 lm_chip_ready_for_init( struct _lm_device_t *pdev) argument
4496 lm_init_common_chip_part(struct _lm_device_t *pdev) argument
4518 lm_chip_init( struct _lm_device_t *pdev) argument
[all...]
H A Dlm_sb.c44 lm_device_t *pdev,
47 u32 offset = IS_PFDEV(pdev) ? BAR_IGU_INTMEM : VF_BAR0_IGU_OFFSET;
52 LM_BAR_RD32_OFFSET(pdev,BAR_0,offset + addr, &value);
53 DbgMessage(pdev, VERBOSEi, " ### lm_read_isr32 read address 0x%x value=0x%x\n",addr,value);
63 lm_device_t *pdev,
66 u32 offset = IS_PFDEV(pdev) ? BAR_IGU_INTMEM : VF_BAR0_IGU_OFFSET;
71 LM_BAR_RD64_OFFSET(pdev,BAR_0, offset + addr,&value);
72 DbgMessage(pdev, FATAL, " ### lm_read_isr64 read address 0x%x value=0x%x 0x%x\n",addr,(u32_t)(value>>32),(u32_t)value);
77 DbgMessage(pdev, FATAL, " ### lm_read_isr64 res=0x%x 0x%x\n",(u32_t)(res>>32),(u32_t)res);
81 u64_t lm_igutest_get_isr32(struct _lm_device_t *pdev) argument
43 lm_read_isr32( lm_device_t *pdev, u32_t addr) argument
62 lm_read_isr64( lm_device_t *pdev, u32_t addr) argument
90 lm_igutest_get_isr64(struct _lm_device_t *pdev) argument
96 lm_get_interrupt_status_wo_mask( lm_device_t *pdev) argument
111 lm_get_interrupt_status( lm_device_t *pdev) argument
126 lm_set_interrupt_moderation(struct _lm_device_t *pdev, u8_t is_enable) argument
159 lm_set_igu_tmode(struct _lm_device_t *pdev, u8_t tmode) argument
164 lm_get_igu_tmode(struct _lm_device_t *pdev) argument
169 lm_set_interrupt_mode(struct _lm_device_t *pdev, u32_t mode) argument
175 lm_get_interrupt_mode(struct _lm_device_t *pdev) argument
180 lm_get_num_fp_msix_messages(struct _lm_device_t *pdev) argument
193 lm_get_base_msix_msg(struct _lm_device_t *pdev) argument
202 lm_has_sp_msix_vector(struct _lm_device_t *pdev) argument
211 lm_set_hc_flag(struct _lm_device_t *pdev, u8_t sb_id, u8_t idx, u8_t is_enable) argument
260 lm_update_def_hc_indices(lm_device_t *pdev, u8_t dummy_sb_id, u32_t *activity_flg) argument
301 lm_update_fp_hc_indices(lm_device_t *pdev, u8_t igu_sb_id, u32_t *activity_flg, u8_t *drv_rss_id) argument
352 lm_is_def_sb_updated(lm_device_t *pdev) argument
397 lm_handle_igu_sb_id(lm_device_t *pdev, u8_t igu_sb_id, u8_t *rx_rss_id, u8_t *tx_rss_id) argument
476 lm_get_e2_status_block(lm_device_t *pdev, u8_t rss_id) argument
481 lm_get_e1x_status_block(lm_device_t *pdev, u8_t rss_id) argument
486 lm_get_default_status_block(lm_device_t *pdev) argument
491 lm_get_attention_status_block(lm_device_t *pdev) argument
497 print_sb_info(lm_device_t *pdev) argument
543 lm_reset_sb_ack_values(struct _lm_device_t *pdev) argument
557 init_hc_attn_status_block(struct _lm_device_t *pdev, u8_t sb_id, lm_address_t *host_sb_addr) argument
574 init_igu_attn_status_block( struct _lm_device_t *pdev, lm_address_t *host_sb_addr) argument
590 init_attn_status_block(struct _lm_device_t *pdev, u8_t sb_id, lm_address_t *host_sb_addr) argument
601 lm_init_sp_status_block(struct _lm_device_t *pdev) argument
662 init_status_blocks(struct _lm_device_t *pdev) argument
732 lm_set_int_coal_info(struct _lm_device_t *pdev) argument
833 lm_setup_ndsb_index(struct _lm_device_t *pdev, u8_t sb_id, u8_t idx, u8_t sm_idx, u8_t timeout, u8_t dhc_enable) argument
851 lm_setup_ndsb_state_machine(struct _lm_device_t *pdev, u8_t sb_id, u8_t sm_id, u8_t igu_sb_id, u8_t igu_seg_id) argument
868 lm_int_hc_ack_sb(lm_device_t *pdev, u8_t rss_id, u8_t storm_id, u16_t sb_index, u8_t int_op, u8_t is_update_idx) argument
902 lm_int_igu_ack_sb(lm_device_t *pdev, u8_t igu_sb_id, u8_t segment_access, u16_t sb_index, u8_t int_op, u8_t is_update_idx) argument
951 lm_int_igu_sb_cleanup(lm_device_t *pdev, u8 igu_sb_id) argument
1018 lm_int_ack_def_sb_disable(lm_device_t *pdev) argument
1033 lm_int_ack_def_sb_enable(lm_device_t *pdev) argument
1050 lm_int_ack_sb_disable(lm_device_t *pdev, u8_t rss_id) argument
1078 lm_int_ack_sb_enable(lm_device_t *pdev, u8_t rss_id) argument
1105 lm_enable_hc_int(struct _lm_device_t *pdev) argument
1177 lm_enable_igu_int(struct _lm_device_t *pdev) argument
1255 lm_enable_int(struct _lm_device_t *pdev) argument
1265 lm_disable_hc_int(struct _lm_device_t *pdev) argument
1297 lm_disable_igu_int(struct _lm_device_t *pdev) argument
1327 lm_disable_int(struct _lm_device_t *pdev) argument
1336 lm_init_non_def_status_block(struct _lm_device_t *pdev, u8_t sb_id, u8_t port) argument
1519 lm_eth_tx_hc_cq_cons_cosx_from_chain(IN lm_device_t *pdev, IN const u32_t chain) argument
1548 lm_pf_init_vf_non_def_sb(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, u8_t sb_idx, u64 sb_addr) argument
1707 lm_clear_non_def_status_block(struct _lm_device_t *pdev, u8_t fw_sb_id) argument
[all...]
H A Dlm_devinfo.c43 u64_t lm_get_timestamp_of_recent_cid_recycling(struct _lm_device_t *pdev) argument
45 return pdev->vars.last_recycling_timestamp;
48 u32_t lm_get_max_supported_toe_cons(struct _lm_device_t *pdev) argument
50 if ( CHK_NULL(pdev) )
54 return pdev->params.max_supported_toe_cons;
57 u8_t lm_get_toe_rss_possibility(struct _lm_device_t *pdev) argument
59 if ( CHK_NULL(pdev) )
63 return (pdev->params.l4_rss_is_possible != L4_RSS_DISABLED);
72 lm_status_t lm_get_iscsi_boot_info_block( struct _lm_device_t *pdev, struct _iscsi_info_block_hdr_t* iscsi_info_block_hdr_ptr ) argument
76 const u8_t func_mb_id = FUNC_MAILBOX_ID(pdev);
128 lm_get_ibft_physical_addr_for_efi( struct _lm_device_t *pdev, u32_t *phy_hi, u32_t *phy_lo ) argument
157 lm_get_sriov_info(lm_device_t *pdev) argument
184 lm_print_func_info(lm_device_t *pdev) argument
212 lm_get_function_num(lm_device_t *pdev) argument
241 lm_get_pcicfg_mps_mrrs(lm_device_t * pdev) argument
263 lm_get_pcicfg_info(lm_device_t *pdev) argument
378 lm_get_bar_offset_direct( IN struct _lm_device_t * pdev, IN u8_t bar_num, OUT lm_address_t * bar_addr ) argument
419 lm_get_bar_size_direct( IN lm_device_t *pdev, IN u8_t bar_num, OUT u32_t * val_p) argument
460 lm_get_bars_info(lm_device_t *pdev) argument
625 lm_get_chip_id_and_mode(lm_device_t *pdev) argument
711 lm_get_igu_cam_info(lm_device_t *pdev) argument
946 lm_get_intr_blk_info(lm_device_t *pdev) argument
1046 lm_get_nvm_info(lm_device_t *pdev) argument
1132 lm_get_shmem_license_info(lm_device_t *pdev) argument
1346 lm_check_valid_mf_cfg(lm_device_t *pdev) argument
1543 lm_get_vnics_per_port(lm_device_t* pdev) argument
1556 lm_get_shmem_mf_cfg_info_sd(lm_device_t *pdev) argument
1603 lm_get_shmem_mf_cfg_info_sd_bd(lm_device_t *pdev) argument
1612 lm_get_shmem_mf_cfg_info_sd_ufp(lm_device_t *pdev) argument
1632 lm_get_shmem_ext_mac_addresses(lm_device_t *pdev) argument
1680 lm_get_shmem_ext_proto_support_flags(lm_device_t *pdev) argument
1707 lm_get_shmem_mf_cfg_info_si(lm_device_t *pdev) argument
1726 lm_get_shmem_mf_cfg_info_niv(lm_device_t *pdev) argument
1755 lm_shmem_set_default(lm_device_t *pdev) argument
1783 lm_get_shmem_base_addr(lm_device_t *pdev) argument
1834 lm_get_shmem_info_no_mcp_bypass(lm_device_t *pdev) argument
1918 lm_get_shmem_shared_hw_config(lm_device_t *pdev) argument
1988 lm_get_shmem_mf_cfg_base(lm_device_t *pdev) argument
2010 lm_get_shmem_port_hw_config(lm_device_t *pdev) argument
2102 lm_set_path_has_ovlan(lm_device_t *pdev) argument
2138 lm_get_shmem_mf_cfg_info(lm_device_t *pdev) argument
2303 lm_fcoe_set_default_wwns(lm_device_t *pdev) argument
2314 lm_get_shmem_mf_mac_info(lm_device_t *pdev) argument
2358 lm_get_shmem_sf_mac_info(lm_device_t *pdev) argument
2418 lm_get_shmem_sf_sriov_info(lm_device_t *pdev) argument
2475 lm_get_shmem_mf_sriov_info(lm_device_t *pdev) argument
2533 lm_get_shmem_mac_info(lm_device_t *pdev) argument
2549 lm_get_shmem_sriov_info(lm_device_t *pdev) argument
2568 lm_get_shmem_fw_flow_control(lm_device_t *pdev) argument
2604 lm_get_shmem_info(lm_device_t *pdev) argument
2688 init_link_params(lm_device_t *pdev) argument
2769 lm_init_cam_params(lm_device_t *pdev) argument
2881 lm_init_params(lm_device_t *pdev, u8_t validate) argument
3495 lm_get_dev_info( lm_device_t *pdev) argument
3938 lm_verify_validity_map(lm_device_t *pdev) argument
3966 lm_set_cam_params(struct _lm_device_t * pdev, u32_t mac_requestors_mask, u32_t base_offset_in_cam_table, u32_t cam_size, u32_t mma_size, u32_t mc_size) argument
4030 lm_get_max_bw(IN const lm_device_t *pdev, IN const u32_t link_speed, IN const u8_t vnic) argument
4053 lm_check_if_pf_assigned_to_vm(struct _lm_device_t *pdev) argument
4071 lm_is_fw_version_valid(struct _lm_device_t *pdev) argument
4094 lm_set_cli_drv_ver_to_shmem(struct _lm_device_t *pdev) argument
4129 lm_is_mac_locally_administrated(struct _lm_device_t *pdev, u8_t * mac) argument
[all...]
H A Dlm_er.c51 * @param pdev
55 lm_status_t lm_er_acquire_leader_lock(lm_device_t * pdev) argument
57 return lm_hw_lock(pdev, HW_LOCK_RESOURCE_RECOVERY_LEADER_0, FALSE);
63 * @param pdev
69 lm_status_t lm_er_release_leader_lock(lm_device_t * pdev) argument
71 return lm_hw_unlock(pdev, HW_LOCK_RESOURCE_RECOVERY_LEADER_0);
81 * @param pdev
83 void lm_er_disable_close_the_gate(lm_device_t *pdev) argument
87 DbgMessage(pdev, INFORMer, "Disabling \"close the gates\"\n");
89 if (CHIP_IS_E2(pdev) || CHIP_IS_E
99 lm_er_set_234_gates(lm_device_t *pdev, u8_t close_g8) argument
125 lm_er_pxp_prep(lm_device_t *pdev) argument
145 lm_er_process_kill_chip_reset(lm_device_t *pdev, u8_t reset_mcp) argument
213 lm_er_empty_tetris_buffer(lm_device_t * pdev) argument
263 lm_er_poll_igu_vq(lm_device_t * pdev) argument
298 lm_er_process_kill(lm_device_t *pdev, u8_t reset_mcp) argument
392 lm_er_leader_reset(lm_device_t *pdev) argument
437 lm_er_notify_other_path(lm_device_t *pdev) argument
468 lm_er_config_close_the_g8(lm_device_t *pdev) argument
499 lm_er_get_func_bit(struct _lm_device_t *pdev) argument
519 lm_er_get_first_func_of_opp_path(struct _lm_device_t *pdev) argument
560 lm_er_inc_load_cnt(lm_device_t *pdev, u8_t sync_it) argument
609 lm_er_dec_load_cnt(lm_device_t *pdev, u8_t sync_it) argument
655 lm_er_get_load_cnt(lm_device_t *pdev, u8_t sync_it) argument
686 lm_er_clear_load_cnt(lm_device_t *pdev, u8_t sync_it) argument
712 lm_er_set_recover_done(lm_device_t *pdev, u8_t sync_it) argument
743 lm_er_set_recover_in_progress(lm_device_t *pdev, u8_t sync_it) argument
774 lm_er_recovery_in_progress(lm_device_t *pdev, u8_t sync_it) argument
[all...]
H A Dlm_hw_attn.c43 static INLINE void lm_inc_er_debug_idx(lm_device_t * pdev) argument
45 pdev->debug_info.curr_er_debug_idx++;
46 if (pdev->debug_info.curr_er_debug_idx == MAX_ER_DEBUG_ENTRIES)
48 pdev->debug_info.curr_er_debug_idx=0;
59 * @param pdev
67 u8_t lm_recoverable_error(lm_device_t *pdev, u32_t * attn_sig, u32_t arr_size) argument
72 if (!pdev->params.enable_error_recovery || CHIP_IS_E1x(pdev))
86 debug_info = &((pdev)->debug_info.er_debug_info[pdev
140 enable_blocks_attention(struct _lm_device_t *pdev) argument
200 disable_blocks_attention(struct _lm_device_t *pdev) argument
506 lm_reset_mask_attn(struct _lm_device_t *pdev) argument
524 lm_latch_attn_everest_processing(lm_device_t *pdev, u32_t sig_word_aft_inv) argument
690 lm_hard_wired_processing(lm_device_t *pdev, u16_t assertion_proc_flgs) argument
791 lm_nig_processing(lm_device_t *pdev) argument
871 lm_handle_assertion_processing(lm_device_t *pdev, u16_t assertion_proc_flgs) argument
1008 lm_cfc_attn_everest_processing(lm_device_t *pdev) argument
1026 lm_pxp_attn_everest_processing(lm_device_t *pdev) argument
1049 lm_spio5_attn_everest_processing(lm_device_t *pdev) argument
1103 lm_check_fan_failure(struct _lm_device_t *pdev) argument
1123 lm_pmf_or_link_event(lm_device_t *pdev, u32_t drv_status) argument
1169 lm_dcc_event(lm_device_t *pdev, u32_t dcc_event) argument
1248 lm_set_bandwidth_event(lm_device_t *pdev) argument
1335 lm_ufp_pf_disable(lm_device_t *pdev) argument
1360 lm_ufp_pf_enable(lm_device_t *pdev) argument
1412 lm_oem_event(lm_device_t *pdev, u32_t event) argument
1472 lm_update_svid(lm_device_t *pdev) argument
1514 lm_ufp_update_priority(lm_device_t *pdev) argument
1545 lm_svid_event(lm_device_t *pdev) argument
1562 lm_generic_event(lm_device_t *pdev) argument
1678 lm_gen_attn_everest_processing(lm_device_t *pdev, u32_t sig_word_aft_inv) argument
1733 lm_read_attn_regs(lm_device_t *pdev, u32_t * attn_sig_af_inv_arr, u32_t arr_size) argument
1755 lm_get_attn_info(lm_device_t *pdev, u16_t *attn_bits, u16_t *attn_ack) argument
1789 lm_dq_attn_everest_processing(lm_device_t *pdev) argument
1814 lm_handle_deassertion_processing(lm_device_t *pdev, u16_t deassertion_proc_flgs) argument
[all...]
H A Dl2_dbg.c7 * pdev - this is the LM device
9 static void dbg_zero_all_attn(lm_device_t *pdev) argument
13 DbgMessage(pdev, INFORMi, "dbg_zero_all_attn() inside!\n");
15 def_sb = lm_get_default_status_block(pdev);
20 pdev->vars.aeu_mask_attn_func = 0x303;
21 pdev->vars.attn_state = 0;
27 * pdev - this is the LM device
30 static void dbg_assert_attn_lines(lm_device_t *pdev, u16_t lines_to_assert) argument
34 DbgMessage1(pdev, INFORMi, "dbg_assert_attn_lines() inside! lines_to_assert:0x%x\n", lines_to_assert);
36 def_sb = lm_get_default_status_block(pdev);
56 dbg_deassert_attn_lines(lm_device_t *pdev, u16_t lines_to_deassert) argument
81 dbg_ack_assert_attn_lines(lm_device_t *pdev, u16_t assert_lines_to_ack) argument
127 dbg_change_sb_index(lm_device_t *pdev, u8_t rss_id) argument
176 dbg_def_sb_dpc(lm_device_t *pdev) argument
275 dbg_sb_dpc(lm_device_t *pdev, u8_t rss_id) argument
347 dbg_isr(lm_device_t *pdev, u32_t intr_status) argument
410 dbg_sb_ints_test_suite(lm_device_t *pdev) argument
[all...]
H A Dlm_phy.c211 #define MDIO_SET_REG_BANK(pdev,reg_bank)\
212 lm_mwrite(pdev,MDIO_INDIRECT_REG_ADDR, reg_bank)
239 lm_mwrite( lm_device_t *pdev, argument
246 u8_t port = PORT_ID(pdev);
249 REG_WR(pdev,NIG_REG_XGXS0_CTRL_MD_ST + port*0x18, 1);
251 DbgMessage(pdev, INFORM, "lm_mwrite\n");
253 if(pdev->params.phy_int_mode == PHY_INT_MODE_AUTO_POLLING)
255 tmp=REG_RD(pdev,emac_base+EMAC_REG_EMAC_MDIO_MODE);
258 REG_WR(pdev,emac_base+EMAC_REG_EMAC_MDIO_MODE,tmp);
260 mm_wait(pdev, 4
313 lm_mread( lm_device_t *pdev, u32_t reg, u32_t *ret_val) argument
388 lm_phy45_read( lm_device_t *pdev, u8_t phy_addr, u8_t dev_addr, u16_t reg, u16_t *ret_val) argument
416 lm_phy45_write( lm_device_t *pdev, u8_t phy_addr, u8_t dev_addr, u16_t reg, u16_t val) argument
439 lm_set_phy_addr(lm_device_t *pdev, u8_t addr) argument
554 lm_get_port_max_speed(IN struct _lm_device_t *pdev) argument
594 lm_loopback_req_medium_convert( IN struct _lm_device_t *pdev, IN const lm_medium_t req_medium ) argument
670 get_link_params(lm_device_t *pdev) argument
774 sync_link_status(lm_device_t *pdev) argument
794 lm_reset_link(lm_device_t *pdev) argument
820 lm_cmng_update(lm_device_t *pdev) argument
842 lm_reload_link_and_cmng(lm_device_t *pdev) argument
856 lm_link_fill_reported_data( IN lm_device_t *pdev, OUT lm_reported_link_params_t *lm_reported_link_params ) argument
866 lm_link_report(lm_device_t *pdev) argument
944 lm_link_update(lm_device_t *pdev) argument
969 lm_set_phy_selection( lm_device_t *pdev, u8_t i) argument
984 lm_set_phy_priority_selection( lm_device_t *pdev, u8_t i) argument
1006 lm_set_phy_priority_mode(lm_device_t *pdev) argument
1073 lm_set_phy_link_params(lm_device_t *pdev, lm_medium_t req_medium, lm_flow_control_t flow_control, u8_t sw_config, u8_t phy_num) argument
1211 lm_set_fc_auto_adv_params(lm_device_t * pdev, lm_flow_control_t flow_control) argument
1243 lm_init_phy( lm_device_t *pdev, lm_medium_t req_medium, lm_flow_control_t flow_control, u32_t selective_autoneg, u32_t wire_speed, u32_t wait_link_timeout_us) argument
1604 lm_link_i2c_update(struct _lm_device_t *pdev) argument
1745 lm_link_on_timer(struct _lm_device_t *pdev) argument
1778 lm_get_external_phy_fw_version( lm_device_t *pdev, u8_t * sz_version, u8_t len ) argument
1982 lm_check_phy_link_params(lm_device_t *pdev, lm_medium_t req_medium) argument
[all...]
H A Dlm_nvram.c52 lm_device_t *pdev)
57 u8_t port_num = PORT_ID(pdev); /* TBD - E1H: nvram lock � DOES NOT scale to 8 functions! (only 4 clients)
61 DbgMessage(pdev, VERBOSEnv, "### acquire_nvram_lock\n");
64 if (CHIP_REV_IS_EMUL(pdev)) cnt *= 100;
69 REG_WR(pdev, MCP_REG_MCPR_NVM_SW_ARB, (MCPR_NVM_SW_ARB_ARB_REQ_SET1 << port_num ));
72 val=REG_RD(pdev, MCP_REG_MCPR_NVM_SW_ARB);
78 mm_wait(pdev, 5);
105 lm_device_t *pdev)
109 u8_t port_num = PORT_ID(pdev);
111 DbgMessage(pdev, VERBOSEn
51 acquire_nvram_lock( lm_device_t *pdev) argument
104 release_nvram_lock( lm_device_t *pdev) argument
231 enable_nvram_access( lm_device_t *pdev) argument
253 disable_nvram_access( lm_device_t *pdev) argument
276 nvram_read_dword( lm_device_t *pdev, u32_t offset, u32_t *ret_val, u32_t nvram_flags) argument
341 nvram_write_dword( lm_device_t *pdev, u32_t offset, u32_t val, u32_t nvram_flags) argument
403 lm_nvram_read( lm_device_t *pdev, u32_t offset, u32_t *ret_buf, u32_t buf_size) argument
480 lm_nvram_write( lm_device_t *pdev, u32_t offset, u32_t *data_buf, u32_t buf_size) argument
[all...]
H A Dcontext.h16 void * lm_get_context(struct _lm_device_t *pdev, u32_t cid);
19 u64_t lm_get_context_phys(struct _lm_device_t *pdev, u32_t cid);
22 lm_status_t lm_alloc_context_pool(struct _lm_device_t *pdev);
23 lm_status_t lm_setup_context_pool(struct _lm_device_t *pdev);
24 void lm_release_context_pool(struct _lm_device_t *pdev);
41 lm_status_t lm_allocate_cid(struct _lm_device_t *pdev, u32_t type, void * cookie, s32_t * cid);
44 lm_status_t lm_get_context_size(struct _lm_device_t *pdev, s32_t * context_size);
50 * @param pdev - the physical device handle
56 lm_status_t lm_set_cdu_validation_data(struct _lm_device_t *pdev, s32_t cid, u8_t invalidate);
60 void lm_free_cid(struct _lm_device_t *pdev, u32_
[all...]
H A Dlm_dcbx_mp.c57 #define ETH_CID_COSX_END_OFFSET(_pdev, _val) (_val + MAX_NUM_OF_ACTIVE_ETH_CONS_PER_COS(pdev))
69 IN lm_device_t *pdev,
74 (chain < ETH_CID_COSX_END_OFFSET(pdev, cos_start_offset)))
88 * @param pdev
94 lm_mp_cos_from_chain(IN struct _lm_device_t *pdev, argument
100 if (ETH_IS_CHAIN_IN_COS0_RANGE(pdev, chain) )
104 else if (ETH_IS_CHAIN_IN_COS1_RANGE(pdev, chain) )
108 else if (ETH_IS_CHAIN_IN_COS2_RANGE(pdev, chain) )
114 DbgMessage(pdev, INFORMi|INFORMl2sp, " lm_mp_cos_from_chain: ");
121 * @param pdev
68 lm_mp_eth_is_chain_in_cosx_range( IN lm_device_t *pdev, IN const u32_t chain, IN const u32_t cos_start_offset) argument
127 lm_mp_get_chain_type(IN struct _lm_device_t *pdev, IN const u32_t chain) argument
154 lm_mp_get_eth_chain_cosx_start_offset(IN struct _lm_device_t *pdev, IN const u8_t cos) argument
188 lm_mp_get_reg_chain_from_chain(IN struct _lm_device_t *pdev, IN u32_t chain) argument
216 lm_mp_get_cos_chain_from_reg_chain( IN struct _lm_device_t *pdev, INOUT u8_t chain, INOUT const u8_t cos) argument
243 lm_mp_max_cos_chain_used( IN struct _lm_device_t *pdev) argument
[all...]
H A Dlm_resc.c49 IN struct _lm_device_t *pdev,
62 if (CHK_NULL(pdev) || CHK_NULL(hc_sb_info) || CHK_NULL(hw_con_idx_ptr))
67 if (IS_VFDEV(pdev))
72 sb_lock_id = lm_sb_id_from_chain(pdev, sb_id);
80 MM_ACQUIRE_SB_LOCK(pdev, sb_lock_id);
84 MM_RELEASE_SB_LOCK(pdev, sb_lock_id);
86 if (lm_reset_is_inprogress(pdev))
91 port = PORT_ID(pdev);
92 func = FUNC_ID(pdev);
93 fw_sb_id = LM_FW_SB_ID(pdev, sb_i
48 lm_clear_chain_sb_cons_idx( IN struct _lm_device_t *pdev, IN u8_t sb_id, IN struct _lm_hc_sb_info_t *hc_sb_info, IN volatile u16_t ** hw_con_idx_ptr ) argument
156 lm_allocate_coalesce_buffers( lm_device_t *pdev, lm_tx_chain_t *txq, u32_t coalesce_buf_cnt, u32_t cid) argument
296 lm_alloc_txq( IN struct _lm_device_t *pdev, IN u32_t const cid, IN u16_t const page_cnt, IN u16_t const coalesce_buf_cnt) argument
346 lm_alloc_rxq( IN struct _lm_device_t *pdev, IN u32_t const cid, IN u16_t const page_cnt, IN u32_t const desc_cnt) argument
400 lm_alloc_rcq( IN struct _lm_device_t *pdev, IN u32_t const cid, IN u16_t const page_cnt) argument
455 lm_alloc_tpa_chain( IN struct _lm_device_t *pdev, IN u32_t const cid, IN u16_t const page_cnt, IN u32_t const desc_cnt, IN u32_t const bds_per_page) argument
541 cid_to_resource(lm_device_t *pdev, u32_t cid) argument
575 lm_setup_txq( IN struct _lm_device_t *pdev, IN u32_t cid) argument
677 lm_setup_rxq( IN struct _lm_device_t *pdev, IN u32_t const cid) argument
741 lm_setup_rcq( IN struct _lm_device_t *pdev, IN u32_t const cid) argument
872 lm_setup_client_con_resc( IN struct _lm_device_t *pdev, IN u32_t cid ) argument
937 lm_clear_eth_con_resc( IN struct _lm_device_t *pdev, IN u8_t const cid ) argument
993 lm_alloc_chain_con_resc( IN struct _lm_device_t *pdev, IN u32_t const cid, IN lm_cli_idx_t const lm_cli_idx ) argument
1085 lm_setup_client_con_params( IN struct _lm_device_t *pdev, IN u8_t const chain_idx, IN struct _lm_client_con_params_t *cli_params ) argument
1115 lm_init_chain_con( IN struct _lm_device_t *pdev, IN u8_t const chain_idx, IN u8_t const b_alloc ) argument
1195 lm_alloc_sq(struct _lm_device_t *pdev) argument
1216 lm_alloc_eq(struct _lm_device_t *pdev) argument
1252 lm_alloc_client_info(struct _lm_device_t *pdev) argument
1290 lm_setup_client_info(struct _lm_device_t *pdev) argument
1332 lm_tpa_clear_next_page( IN lm_device_t* pdev, IN const u32_t chain_idx) argument
1362 lm_tpa_chain_reset(IN lm_device_t *pdev, IN const u32_t cid) argument
1391 lm_setup_tpa_chain( IN struct _lm_device_t *pdev, IN u32_t const cid) argument
1451 lm_setup_sq(struct _lm_device_t *pdev) argument
1477 lm_setup_eq(struct _lm_device_t *pdev) argument
1509 lm_init_sp_objs(struct _lm_device_t *pdev) argument
1680 lm_setup_allocate_ilt_client_page( struct _lm_device_t *pdev, lm_address_t *phys_mem, u8_t const cli_idx ) argument
1711 lm_common_setup_alloc_resc(struct _lm_device_t *pdev, u8_t const b_is_alloc ) argument
2120 ecore_resc_alloc(struct _lm_device_t * pdev) argument
2139 lm_dmae_alloc_resc(struct _lm_device_t * pdev) argument
2191 lm_alloc_resc(struct _lm_device_t *pdev) argument
2331 lm_setup_resc(struct _lm_device_t *pdev) argument
2488 lm_abort_indicate_free_list( IN OUT lm_device_t* pdev, IN lm_rx_chain_common_t* rx_common, IN s_list_t* packet_list, IN const u32_t idx, IN const u8_t is_stat_handle) argument
2526 lm_abort( lm_device_t *pdev, const lm_abort_op_t abort_op, const u32_t idx) argument
2717 lm_set_init_arrs(lm_device_t *pdev) argument
[all...]
H A Dlm_hw_access.c59 void lm_cmng_init(struct _lm_device_t *pdev, u32_t port_rate) argument
65 u8_t num_vnics = pdev->params.vnics_per_port;
66 const u8_t b_afex_and_non_pmf = IS_MF_AFEX_MODE(pdev) && (!IS_PMF(pdev));
67 const u8_t port_id = PORT_ID(pdev); // TBD: E1H - cmng params are currently per port, may change to be per function
68 const u8_t vnic_id = VNIC_ID(pdev);
73 if(IS_MULTI_VNIC(pdev) && pdev->params.cmng_enable)
81 input_data.vnic_max_rate[vnic] = lm_get_max_bw(pdev,
85 if (!GET_FLAGS(pdev
194 lm_initialize_nig_entry( lm_device_t *pdev, u8_t offset, u8_t *addr) argument
215 lm_get_available_nig_entry(lm_device_t *pdev) argument
241 lm_find_nig_entry_for_addr( lm_device_t *pdev, u8_t *addr) argument
261 lm_insert_nig_entry( lm_device_t *pdev, u8_t *addr) argument
305 lm_remove_nig_entry( lm_device_t *pdev, u8_t *addr) argument
337 lm_setup_fan_failure_detection(struct _lm_device_t *pdev) argument
410 lm_gpio_read(struct _lm_device_t *pdev, u32_t pin_num, u32_t* value_ptr, u8_t port) argument
516 lm_gpio_write(struct _lm_device_t *pdev, u32_t pin_num, u32_t mode, u8_t port) argument
602 lm_gpio_mult_write(struct _lm_device_t *pdev, u8_t pins, u32_t mode) argument
665 lm_gpio_int_write(struct _lm_device_t *pdev, u32_t pin_num, u32_t mode, u8_t port) argument
732 lm_spio_read(struct _lm_device_t *pdev, u32_t pin_num, u32_t* value_ptr) argument
805 lm_spio_write(struct _lm_device_t *pdev, u32_t pin_num, u32_t value) argument
861 lm_set_led_mode(struct _lm_device_t *pdev, u32_t port_idx, u32_t mode_idx) argument
891 lm_get_led_mode(struct _lm_device_t *pdev, u32_t port_idx, u32_t* mode_idx_ptr) argument
922 lm_override_led_value(struct _lm_device_t *pdev, u32_t port_idx, u32_t led_idx, u32_t value) argument
1021 lm_blink_traffic_led(struct _lm_device_t *pdev, u32_t port_idx, u32_t rate) argument
1092 lm_get_led_status(struct _lm_device_t *pdev, u32_t port_idx, u32_t led_idx, u32_t* value_ptr) argument
1166 lm_reset_led(struct _lm_device_t *pdev) argument
1249 lm_set_led_wrapper(struct _lm_device_t* pdev, const u8_t led_mode ) argument
1280 lm_get_transceiver_data(struct _lm_device_t* pdev, b10_transceiver_data_t* b10_transceiver_data ) argument
1391 lm_set_mac_in_nig(lm_device_t * pdev, u8_t * mac_addr, lm_cli_idx_t lm_cli_idx, u8_t offset) argument
1488 lm_hw_lock( lm_device_t* pdev, const u32_t resource, const u8_t b_block) argument
1547 lm_hw_unlock_ex(lm_device_t* pdev, const u32_t resource, const u8_t b_verify_locked ) argument
1596 lm_hw_unlock(lm_device_t* pdev, const u32_t resource) argument
1610 lm_hw_clear_all_locks(lm_device_t *pdev) argument
1636 reg_wait_verify_val(struct _lm_device_t * pdev, u32_t reg_offset, u32_t excpected_val, u32_t total_wait_time_ms ) argument
1665 lm_disable_pci_dma(struct _lm_device_t *pdev, u8_t b_wait_for_done) argument
1708 lm_enable_pci_dma(struct _lm_device_t *pdev) argument
1737 lm_set_pcie_nfe_report(lm_device_t *pdev) argument
1750 lm_reg_rd_ind_imp( lm_device_t *pdev, u32_t offset, u32_t *ret) argument
1760 lm_reg_wr_ind_imp( lm_device_t *pdev, u32_t offset, u32_t val) argument
1782 lm_reg_rd_ind( lm_device_t *pdev, u32_t offset, u32_t *ret) argument
1802 lm_reg_wr_ind( lm_device_t *pdev, u32_t offset, u32_t val) argument
1817 lm_reg_rd_blk( lm_device_t *pdev, u32_t reg_offset, u32_t *buf_ptr, u32_t u32t_cnt) argument
1839 lm_reg_rd_blk_ind( lm_device_t *pdev, u32_t reg_offset, u32_t *buf_ptr, u32_t u32t_cnt, u8_t acquire_lock_flag) argument
1870 lm_reg_wr_blk( lm_device_t *pdev, u32_t reg_offset, u32_t *data_ptr, u32_t u32t_cnt) argument
1893 lm_reg_wr_blk_ind( lm_device_t *pdev, u32_t reg_offset, u32_t *data_ptr, u32_t u32t_cnt) argument
1912 lm_set_waitp(lm_device_t *pdev) argument
1920 lm_collect_idle_storms_dorrbell_asserts( struct _lm_device_t *pdev, const u8_t b_idle_chk, const u8_t b_storms_asserts, const u8_t b_dorrbell_info ) argument
[all...]
H A Dlm_sp.c64 lm_empty_ramrod_eth(IN struct _lm_device_t *pdev, argument
73 DbgMessage(pdev, INFORMi|INFORMl2sp, "#lm_empty_ramrod_eth_conn, curr_state=%d\n",curr_state);
82 lm_status = lm_sq_post(pdev,
97 lm_status = lm_wait_state_change(pdev,
160 u8_t lm_is_eq_completion(lm_device_t *pdev) argument
165 DbgBreakIf(!pdev);
166 if (!pdev || IS_VFDEV(pdev))
171 eq_chain = &pdev->eq_info.eq_chain;
177 DbgMessage(pdev, INFORMe
183 lm_eth_init_client_init_general_data(IN lm_device_t *pdev, OUT struct client_init_general_data *general, IN const u8_t cid) argument
234 lm_eth_init_client_init_rx_data(IN lm_device_t *pdev, OUT struct client_init_rx_data *rx, IN const u8_t cid, IN const u8_t sb_id) argument
378 lm_eth_init_client_init_tx_data(IN lm_device_t *pdev, OUT struct client_init_tx_data *tx, IN const u8_t cid, IN const u8_t sb_id) argument
455 lm_get_sw_client_idx_from_cid(lm_device_t * pdev, u32_t cid) argument
487 lm_get_fw_client_idx_from_cid(lm_device_t * pdev, u32_t cid) argument
520 lm_eth_init_tx_queue_data(IN lm_device_t * pdev, IN const u8_t chain_id, IN const u8_t sb_id) argument
574 lm_eth_init_client_init_data(lm_device_t *pdev, u8_t cid, u8_t sb_id) argument
625 lm_update_eth_client(IN struct _lm_device_t *pdev, IN const u8_t client_idx, IN const u16_t silent_vlan_value, IN const u16_t silent_vlan_mask, IN const u8_t silent_vlan_removal_flg, IN const u8_t silent_vlan_change_flg ) argument
705 lm_establish_eth_con(struct _lm_device_t *pdev, u8_t const chain_idx, u8_t sb_id, u8_t attributes_bitmap) argument
840 lm_tpa_send_ramrods_wait(IN lm_device_t *pdev, IN const u8_t chain_idx_base) argument
874 lm_tpa_ramrod_update_ipvx(IN lm_device_t *pdev, IN const u8_t chain_idx, IN const u8_t vbd_tpa_ipvx_bit) argument
905 lm_tpa_send_ramrod(IN lm_device_t *pdev, IN const u8_t chain_idx) argument
977 lm_tpa_send_ramrods(IN lm_device_t *pdev, IN const u8_t chain_idx_base) argument
1034 lm_encap_send_ramrod(IN lm_device_t *pdev, u8_t new_encap_offload_state, void* cookie) argument
1101 lm_eq_ramrod_post_sync( IN struct _lm_device_t *pdev, IN u8_t cmd_id, IN u64_t data, IN u8_t ramrod_priority, IN volatile u32_t *p_curr_state, IN u32_t curr_state, IN u32_t new_state) argument
1136 lm_halt_eth_con(struct _lm_device_t *pdev, u32_t cid, const u8_t send_ramrod) argument
1204 lm_terminate_eth_con(struct _lm_device_t *pdev, u32_t const cid) argument
1240 lm_cfc_del_eth_con(struct _lm_device_t *pdev, u32_t const cid) argument
1273 lm_establish_forward_con(struct _lm_device_t *pdev) argument
1290 lm_close_forward_con(struct _lm_device_t *pdev) argument
1310 lm_close_eth_con(struct _lm_device_t *pdev, u32_t const cid, const u8_t send_halt_ramrod) argument
1371 lm_eth_wait_state_change(struct _lm_device_t *pdev, u32_t new_state, u32_t cid) argument
1397 lm_l2mp_func_update_command( IN lm_device_t *pdev, IN const struct function_update_data *func_data) argument
1424 lm_niv_post_command(struct _lm_device_t *pdev, IN const u8_t command, IN const u64_t data, IN const u32_t curr_state) argument
1449 lm_niv_vif_update(struct _lm_device_t *pdev, IN const u16_t vif_id, IN const u16_t default_vlan, IN const u8_t allowed_priorities) argument
1475 lm_niv_vif_list_update(struct _lm_device_t *pdev, IN const enum vif_list_rule_kind command, IN const u16_t list_index, IN const u8_t func_bit_map, IN const u8_t func_to_clear) argument
1516 lm_set_mac_addr(struct _lm_device_t *pdev, u8_t *mac_addr, u16_t vlan_tag, u8_t chain_idx, void* cookie, const u8_t b_set, u8_t is_encap_inner_mac_filter) argument
1639 lm_set_vlan_only(struct _lm_device_t *pdev, u16_t vlan_tag, u8_t chain_idx, void* cookie, const u8_t b_set ) argument
1755 lm_move_mac_addr(struct _lm_device_t *pdev, u8_t *mac_addr, u16_t vlan_tag, u8_t src_chain_idx, u8_t dest_chain_idx, void * cookie, u8_t is_encap_inner_mac_filter) argument
1843 lm_wait_set_mac_done(struct _lm_device_t *pdev, u8_t chain_idx) argument
1876 lm_wait_set_vlan_done(struct _lm_device_t *pdev, u8_t chain_idx) argument
1903 lm_clear_all_mac_addr(struct _lm_device_t *pdev, const u8_t chain_idx) argument
1970 lm_restore_all_mac_addr(struct _lm_device_t *pdev, u8_t chain_idx) argument
2057 lm_set_rx_mask(lm_device_t *pdev, u8_t chain_idx, lm_rx_mask_t rx_mask, void * cookie) argument
2229 lm_wait_set_rx_mask_done(struct _lm_device_t *pdev, u8_t chain_idx) argument
2245 _init_mcast_macs_list(lm_device_t *pdev, u8_t* mc_addrs, u32_t buf_len, struct ecore_mcast_ramrod_params *p) argument
2278 __free_mcast_macs_list(lm_device_t *pdev, struct ecore_mcast_ramrod_params *p) argument
2306 lm_set_mc(struct _lm_device_t *pdev, u8_t* mc_addrs, u32_t buf_len, void * cookie, lm_cli_idx_t lm_cli_idx) argument
2356 lm_set_mc_list(struct _lm_device_t *pdev, d_list_t * mc_addrs, void * cookie, lm_cli_idx_t lm_cli_idx) argument
2407 lm_wait_set_mc_done(struct _lm_device_t *pdev, lm_cli_idx_t lm_cli_idx) argument
2435 lm_update_rss_key(struct _lm_device_t *pdev, u8_t *hash_key, u32_t key_size) argument
2511 lm_enable_rss(struct _lm_device_t *pdev, u8_t *chain_indirection_table, u32_t table_size, u8_t *hash_key, u32_t key_size, lm_rss_hash_t hash_type, u8 sync_with_toe, void * cookie) argument
2661 lm_disable_rss(struct _lm_device_t *pdev, u8_t sync_with_toe, void * cookie) argument
2730 lm_wait_config_rss_done(struct _lm_device_t *pdev) argument
2742 lm_wait_vf_config_rss_done(struct _lm_device_t *pdev, lm_vf_info_t *vf_info) argument
2756 lm_eq_handle_function_start_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem) argument
2763 lm_eq_handle_function_stop_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem) argument
2771 lm_eq_handle_cfc_del_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem) argument
2825 lm_eq_handle_fwd_setup_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem) argument
2836 lm_eq_handle_mcast_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem) argument
2896 lm_eq_handle_classification_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem) argument
3004 lm_eq_handle_stats_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem) argument
3019 lm_eq_handle_filter_rules_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem) argument
3054 lm_eq_handle_rss_update_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem) argument
3104 lm_eq_handle_function_update_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem) argument
3186 lm_eq_handle_niv_vif_lists_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem) argument
3211 lm_eq_handle_vf_flr_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem) argument
3234 lm_eq_handle_malicious_vf_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem) argument
3249 lm_service_eq_elem(struct _lm_device_t * pdev, union event_ring_elem * elem) argument
3334 lm_service_eq_intr(struct _lm_device_t * pdev) argument
3403 lm_eq_comp_cb(struct _lm_device_t *pdev, struct sq_pending_command * pending) argument
3500 lm_cid_recycled_cb_register(struct _lm_device_t *pdev, u8_t type, lm_cid_recycled_cb_t cb) argument
3517 lm_cid_recycled_cb_deregister(struct _lm_device_t *pdev, u8_t type) argument
3532 lm_sq_change_state(struct _lm_device_t *pdev, lm_sq_state_t state) argument
3554 lm_sq_complete_pending_requests(struct _lm_device_t *pdev) argument
3645 lm_sq_flush(struct _lm_device_t *pdev) argument
3681 lm_sq_comp_cb_register(struct _lm_device_t *pdev, u8_t type, lm_sq_comp_cb_t cb) argument
3694 lm_sq_comp_cb_deregister(struct _lm_device_t *pdev, u8_t type) argument
3709 lm_sq_is_empty(struct _lm_device_t *pdev) argument
3740 lm_sq_post_from_list(struct _lm_device_t *pdev) argument
3800 lm_sq_post_entry(struct _lm_device_t * pdev, struct sq_pending_command * pending, u8_t priority) argument
3884 lm_sq_post(struct _lm_device_t *pdev, u32_t cid, u8_t command, u8_t priority, u16_t type, u64_t data) argument
3918 lm_sq_complete(struct _lm_device_t *pdev, u8_t priority, u8_t command, u16_t type, u32_t cid ) argument
4009 lm_sq_post_pending(struct _lm_device_t *pdev) argument
4046 lm_eth_init_command_comp(struct _lm_device_t *pdev, struct common_ramrod_eth_rx_cqe *cqe) argument
4176 lm_eth_comp_cb(struct _lm_device_t *pdev, struct sq_pending_command * pending) argument
4213 lm_check_mac_addr_exist(struct _lm_device_t *pdev, u8_t chain_idx, u8_t *mac_addr, u16_t vlan_tag, u8_t is_encap_inner_mac_filter) argument
4264 lm_update_default_vlan(IN struct _lm_device_t *pdev, IN u8_t client_idx, IN const u16_t silent_vlan_value, IN const u16_t silent_vlan_mask, IN const u8_t silent_vlan_removal_flg, IN const u8_t silent_vlan_change_flg, IN const u16_t default_vlan, IN const u8_t default_vlan_enable_flg, IN const u8_t default_vlan_change_flg) argument
[all...]
H A Dbnxe_context.c11 void * lm_get_context(struct _lm_device_t *pdev, u32_t cid){ argument
16 DbgBreakIf(cid > pdev->params.max_func_connections);
17 DbgBreakIf(pdev->context_info->array[cid].invalid != LM_CONTEXT_VALID);
20 page = cid / (pdev->params.num_context_in_page);
23 off = cid % (pdev->params.num_context_in_page);
26 ret = (void*)((char*)pdev->vars.context_cdu_virt_addr_table[page] + (pdev->params.context_line_size * off));
33 u64_t lm_get_context_phys(struct _lm_device_t *pdev, u32_t cid){ argument
38 DbgBreakIf(cid > pdev->params.max_func_connections);
39 DbgBreakIf(pdev
55 lm_setup_searcher_hash_info(struct _lm_device_t *pdev) argument
131 lm_alloc_searcher_hash_info(struct _lm_device_t *pdev) argument
167 lm_init_cid_resc(struct _lm_device_t *pdev, u32_t cid) argument
194 lm_setup_context_pool(struct _lm_device_t *pdev) argument
295 lm_alloc_context_pool(struct _lm_device_t *pdev) argument
347 lm_release_context_pool(struct _lm_device_t *pdev) argument
446 lm_searcher_mirror_hash_insert(struct _lm_device_t *pdev, u32_t cid, lm_4tuple_t *tuple) argument
515 lm_searcher_mirror_hash_remove(struct _lm_device_t *pdev, u32_t cid) argument
572 lm_allocate_cid(struct _lm_device_t *pdev, u32_t type, void * cookie, s32_t * out_cid) argument
700 lm_cfc_delete(struct _lm_device_t *pdev, void *param) argument
749 lm_free_cid(struct _lm_device_t *pdev, u32_t type, u32_t cid, u8_t notify_fw) argument
829 lm_recycle_cid(struct _lm_device_t *pdev, u32_t cid) argument
923 lm_cid_cookie(struct _lm_device_t *pdev, u32_t type, u32_t cid) argument
957 lm_cid_resc(struct _lm_device_t *pdev, u32_t cid) argument
971 lm_map_cid_to_proto(struct _lm_device_t * pdev, u32_t cid) argument
989 lm_init_connection_context(struct _lm_device_t *pdev, u32_t const sw_cid, u8_t sb_id) argument
1012 lm_set_cid_resc( IN struct _lm_device_t *pdev, IN u32_t type, IN void *cookie, IN u32_t cid) argument
1046 lm_free_cid_resc( IN struct _lm_device_t *pdev, IN u32_t type, IN u32_t cid, IN u8_t notify_fw) argument
1094 lm_cid_sp_req_mgr( IN struct _lm_device_t *pdev, IN u32_t cid ) argument
1119 lm_cid_state( IN struct _lm_device_t *pdev, IN u32_t cid ) argument
1144 lm_set_cid_state( IN struct _lm_device_t *pdev, IN u32_t cid, IN lm_cid_state_enum state ) argument
1184 lm_set_cdu_validation_data(struct _lm_device_t *pdev, s32_t cid, u8_t invalidate) argument
1236 lm_get_context_size(struct _lm_device_t *pdev, s32_t * context_size) argument
1242 lm_set_con_state(struct _lm_device_t *pdev, u32_t cid, u32_t state) argument
1256 lm_get_con_state(struct _lm_device_t *pdev, u32_t cid) argument
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_mm_l4.c39 lm_device_t *pdev,
42 BnxeDbgBreak((um_device_t *)pdev);
48 lm_device_t *pdev,
51 BnxeDbgBreak((um_device_t *)pdev);
67 void MM_ACQUIRE_TOE_GRQ_LOCK_DPC(lm_device_t *pdev, u8_t idx) argument
69 BnxeDbgBreak((um_device_t *)pdev);
73 void MM_RELEASE_TOE_GRQ_LOCK_DPC(lm_device_t *pdev, u8_t idx) argument
75 BnxeDbgBreak((um_device_t *)pdev);
79 void MM_ACQUIRE_TOE_GRQ_LOCK(lm_device_t *pdev, u8_t idx) argument
81 BnxeDbgBreak((um_device_t *)pdev);
38 mm_acquire_tcp_lock( lm_device_t *pdev, lm_tcp_con_t *tcp_con) argument
47 mm_release_tcp_lock( lm_device_t *pdev, lm_tcp_con_t *tcp_con) argument
85 MM_RELEASE_TOE_GRQ_LOCK(lm_device_t *pdev, u8_t idx) argument
91 mm_tcp_complete_path_upload_request( struct _lm_device_t * pdev, lm_path_state_t * path ) argument
100 mm_tcp_complete_neigh_upload_request( struct _lm_device_t * pdev, lm_neigh_state_t * neigh ) argument
109 mm_tcp_comp_slow_path_request( struct _lm_device_t *pdev, lm_tcp_state_t *tcp, lm_tcp_slow_path_request_t *sp_request) argument
118 mm_tcp_complete_bufs( struct _lm_device_t *pdev, lm_tcp_state_t *tcp, lm_tcp_con_t *tcp_con, s_list_t *buf_list, lm_status_t lm_status ) argument
138 mm_tcp_abort_bufs( IN struct _lm_device_t * pdev, IN lm_tcp_state_t * tcp, IN lm_tcp_con_t * con, IN lm_status_t status ) argument
149 mm_tcp_indicate_rst_received( IN lm_device_t * pdev, IN lm_tcp_state_t * tcp ) argument
158 mm_tcp_indicate_fin_received( IN struct _lm_device_t * pdev, IN lm_tcp_state_t * tcp ) argument
167 mm_tcp_graceful_disconnect_done( IN struct _lm_device_t * pdev, IN lm_tcp_state_t * tcp, IN lm_status_t status ) argument
177 mm_tcp_rx_indicate_gen_buf( struct _lm_device_t * pdev, lm_tcp_state_t * tcp, lm_frag_list_t * frag_list, void * return_buffer_ctx ) argument
189 mm_tcp_rx_indicate_gen( struct _lm_device_t * pdev, lm_tcp_state_t * tcp ) argument
198 _schedule_work_item_for_alloc_gen_bufs(um_device_t * pdev) argument
204 _schedule_work_item_for_free_gen_bufs( um_device_t * pdev, lm_tcp_gen_buf_t * gen_buf ) argument
213 mm_tcp_get_gen_bufs( struct _lm_device_t * pdev, d_list_t * gb_list, u32_t nbufs, u8_t sb_idx ) argument
225 mm_tcp_return_gen_bufs( lm_device_t * pdev, lm_tcp_gen_buf_t * gen_buf, u32_t flags, u8_t grq_idxxx ) argument
236 mm_tcp_return_list_of_gen_bufs( struct _lm_device_t * pdev, d_list_t * returned_list_of_gen_bufs, u32_t flags, u8_t grq_idxxx ) argument
247 mm_tcp_copy_to_tcp_buf( lm_device_t * pdev, lm_tcp_state_t * tcp_state, lm_tcp_buffer_t * tcp_buf, u8_t * mem_buf, u32_t tcp_buf_offset, u32_t nbytes ) argument
262 mm_tcp_indicate_retrieve_indication( lm_device_t *pdev, lm_tcp_state_t *tcp_state, l4_upload_reason_t upload_reason) argument
271 mm_tcp_update_required_gen_bufs( struct _lm_device_t * pdev, u32_t new_mss, u32_t old_mss, u32_t new_initial_rcv_wnd, u32_t old_initial_rcv_wnd) argument
282 mm_tcp_post_empty_slow_path_request( struct _lm_device_t * pdev, lm_tcp_state_t * tcp, u32_t request_type) argument
292 mm_tcp_del_tcp_state( struct _lm_device_t * pdev, lm_tcp_state_t * tcp) argument
300 mm_tcp_rx_peninsula_to_rq_copy_dmae( struct _lm_device_t * pdev, lm_tcp_state_t * tcp, lm_address_t gen_buf_phys, u32_t gen_buf_offset, lm_tcp_buffer_t * tcp_buf, u32_t tcp_buf_offset, u32_t nbytes ) argument
[all...]
H A Dbnxe_mm_l5.c40 IN struct _lm_device_t *pdev,
45 BnxeDbgBreak((um_device_t *)pdev);
52 IN struct _lm_device_t *pdev,
56 return (!BnxeFcoeCompRequestCqe((um_device_t *)pdev, kcqes, num_kcqes)) ?
61 lm_status_t mm_sc_complete_init_request(lm_device_t *pdev, struct iscsi_kcqe *kcqe) argument
63 BnxeDbgBreak((um_device_t *)pdev);
87 lm_status_t mm_sc_complete_update_request(lm_device_t *pdev, struct iscsi_kcqe *kcqe) argument
89 BnxeDbgBreak((um_device_t *)pdev);
96 IN lm_device_t *pdev,
99 return (!BnxeFcoeInitCqe((um_device_t *)pdev, kcq
39 mm_sc_comp_l5_request( IN struct _lm_device_t *pdev, IN struct iscsi_kcqe *kcqes, IN u32_t num_kcqes ) argument
51 mm_fc_comp_request( IN struct _lm_device_t *pdev, IN struct fcoe_kcqe *kcqes, IN u32_t num_kcqes) argument
95 mm_fc_complete_init_request( IN lm_device_t *pdev, IN struct fcoe_kcqe *kcqe) argument
105 mm_fc_complete_destroy_request( IN lm_device_t *pdev, IN struct fcoe_kcqe *kcqe) argument
115 mm_fc_complete_ofld_request( IN lm_device_t *pdev, IN lm_fcoe_state_t *fcoe, IN struct fcoe_kcqe *kcqe) argument
128 mm_fc_complete_enable_request( IN lm_device_t *pdev, IN lm_fcoe_state_t *fcoe, IN struct fcoe_kcqe *kcqe) argument
141 mm_fc_complete_stat_request( IN lm_device_t *pdev, IN struct fcoe_kcqe *kcqe) argument
151 mm_fc_complete_disable_request( IN lm_device_t *pdev, IN lm_fcoe_state_t *fcoe, IN struct fcoe_kcqe *kcqe) argument
164 mm_fc_complete_terminate_request( IN lm_device_t *pdev, IN lm_fcoe_state_t *fcoe, IN struct fcoe_kcqe *kcqe) argument
176 mm_sc_complete_offload_request( IN lm_device_t *pdev, IN lm_iscsi_state_t *iscsi, IN lm_status_t comp_status ) argument
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dmm.h54 typedef void lm_generic_workitem_function(struct _lm_device_t *pdev);
61 lm_status_t mm_i2c_update(struct _lm_device_t *pdev);
118 #define MM_ACQUIRE_SPQ_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_SPQ_LOCK_IMP(pdev)
119 #define MM_RELEASE_SPQ_LOCK(/* struct _lm_device_t* */pdev) MM_RELEASE_SPQ_LOCK_IMP(pdev)
120 #define MM_ACQUIRE_SPQ_LOCK_DPC(/* struct _lm_device_t* */pdev) MM_ACQUIRE_SPQ_LOCK_DPC(pdev)
121 #define MM_RELEASE_SPQ_LOCK_DPC(/* struct _lm_device_t* */pdev) MM_RELEASE_SPQ_LOCK_DPC(pdev)
432 mm_rt_zalloc_mem(struct _lm_device_t * pdev, u32_t size) argument
[all...]
H A Dmm_user_mode_debug.h69 #define MM_ACQUIRE_SPQ_LOCK_IMP(pdev) \
70 DbgMessage(pdev, VERBOSEi, "Acquiring global SPQ lock\n");
71 #define MM_RELEASE_SPQ_LOCK_IMP(pdev) \
72 DbgMessage(pdev, VERBOSEi, "Releasing global SPQ lock\n");
73 #define MM_ACQUIRE_SPQ_LOCK_DPC_IMP(pdev) \
74 DbgMessage(pdev, VERBOSEi, "Acquiring global SPQ lock\n");
75 #define MM_RELEASE_SPQ_LOCK_DPC_IMP(pdev) \
76 DbgMessage(pdev, VERBOSEi, "Releasing global SPQ lock\n");
78 #define MM_ACQUIRE_CID_LOCK_IMP(pdev) \
79 DbgMessage(pdev, VERBOSE
[all...]
H A Dmm_uefi.h144 #define MM_ACQUIRE_SPQ_LOCK_IMP(pdev) LOCK()
145 #define MM_RELEASE_SPQ_LOCK_IMP(pdev) UNLOCK()
146 #define MM_ACQUIRE_SPQ_LOCK_DPC_IMP(pdev) LOCK()
147 #define MM_RELEASE_SPQ_LOCK_DPC_IMP(pdev) UNLOCK()
149 #define MM_ACQUIRE_CID_LOCK_IMP(pdev) LOCK()
150 #define MM_RELEASE_CID_LOCK_IMP(pdev) UNLOCK()
152 #define MM_ACQUIRE_REQUEST_LOCK_IMP(pdev) LOCK()
153 #define MM_RELEASE_REQUEST_LOCK_IMP(pdev) UNLOCK()
155 #define MM_ACQUIRE_PHY_LOCK_IMP(pdev) LOCK()
156 #define MM_RELEASE_PHY_LOCK_IMP(pdev) UNLOC
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/
H A Dlm_vf.c8 u8_t lm_vf_is_function_after_flr(struct _lm_device_t * pdev) argument
11 res = (PFDEV(pdev)->vars.connections[VF_TO_PF_CID(pdev,LM_SW_LEADING_RSS_CID(pdev))].con_state != LM_CON_STATE_CLOSE);
13 DbgMessage2(pdev, FATAL, "VF[%d(%d)] was FLRed\n", ABS_VFID(pdev), REL_VFID(pdev));
84 lm_status_t lm_vf_get_bar_offset(struct _lm_device_t *pdev, u8_t bar_num, lm_address_t * bar_addr) argument
86 bar_addr->as_u64 = PFDEV(pdev)->hw_info.sriov_info.vf_bars[bar_num].as_u64 +
87 REL_VFID(pdev)*pde
94 lm_vf_get_vf_id(struct _lm_device_t * pdev) argument
119 lm_vf_get_intr_blk_info(struct _lm_device_t *pdev) argument
204 lm_vf_setup_alloc_resc(struct _lm_device_t *pdev, u8_t b_is_alloc ) argument
276 lm_vf_init_dev_info(struct _lm_device_t *pdev) argument
297 lm_vf_allocate_resc_in_pf(struct _lm_device_t *pdev) argument
335 lm_vf_chip_init(struct _lm_device_t *pdev) argument
388 lm_vf_chip_reset(struct _lm_device_t *pdev, lm_reason_t reason) argument
421 lm_vf_recycle_resc_in_pf(struct _lm_device_t *pdev) argument
440 lm_vf_enable_vf(struct _lm_device_t *pdev) argument
508 lm_vf_enable_igu_int(struct _lm_device_t * pdev) argument
561 lm_vf_disable_igu_int(struct _lm_device_t * pdev) argument
584 lm_vf_fl_reset_set_inprogress(struct _lm_device_t * pdev) argument
592 lm_vf_fl_reset_clear_inprogress(struct _lm_device_t *pdev) argument
600 lm_vf_fl_reset_is_inprogress(struct _lm_device_t *pdev) argument
612 lm_vf_pf_get_sb_running_index(struct _lm_device_t *pdev, u8_t sb_id, u8_t sm_idx) argument
619 lm_vf_pf_get_sb_index(struct _lm_device_t *pdev, u8_t sb_id, u8_t idx) argument
626 lm_vf_get_doorbell_size(struct _lm_device_t *pdev) argument
633 lm_vf_pf_set_q_filters(struct _lm_device_t * pdev, u8 vf_qid, u8_t to_indicate, q_filter_type filter_type, u8_t * pbuf, u32_t buf_len, u16_t vlan_tag, u8_t set_mac) argument
640 lm_vf_pf_set_q_filters_list(struct _lm_device_t * pdev, u8 vf_qid, u8_t to_indicate, q_filter_type filter_type, d_list_t * pbuf, u16_t vlan_tag, u8_t set_mac) argument
647 lm_vf_pf_tear_q_down(struct _lm_device_t * pdev, u8 vf_qid) argument
654 lm_vf_queue_init(struct _lm_device_t *pdev, u8_t cid) argument
661 lm_vf_queue_close(struct _lm_device_t *pdev, u8_t cid) argument
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/include/
H A Dlm_l5if.h14 IN struct _lm_device_t *pdev
20 IN struct _lm_device_t *pdev
25 IN struct _lm_device_t *pdev);
29 IN struct _lm_device_t *pdev
40 IN struct _lm_device_t *pdev,
46 IN struct _lm_device_t *pdev,
54 IN struct _lm_device_t *pdev,
60 IN struct _lm_device_t *pdev,
68 struct _lm_device_t *pdev,
75 struct _lm_device_t *pdev,
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/include/
H A Dlm_l4if.h8 struct _lm_device_t *pdev);
11 struct _lm_device_t *pdev);
13 lm_status_t lm_tcp_init_resc(struct _lm_device_t *pdev, u8_t b_is_init );
14 lm_status_t lm_tcp_init_chip(struct _lm_device_t *pdev);
15 lm_status_t lm_tcp_start_chip(struct _lm_device_t *pdev);
19 struct _lm_device_t *pdev,
24 struct _lm_device_t *pdev,
32 struct _lm_device_t *pdev,
41 struct _lm_device_t *pdev,
57 struct _lm_device_t *pdev,
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/
H A Dlm_vf.c9 extern void lm_int_igu_ack_sb(lm_device_t *pdev, u8_t rss_id, u8_t storm_id, u16_t sb_index, u8_t int_op, u8_t is_update_idx);
19 * @param pdev
25 u8_t lm_vf_is_lamac_restricted(struct _lm_device_t *pdev) argument
27 return (pdev->vars.is_pf_provides_mac && (pdev->vars.is_pf_restricts_lamac || pdev->vars.is_pf_rejected_lamac));
30 static u8_t lm_vf_check_mac_restriction(struct _lm_device_t *pdev, struct pfvf_acquire_resp_tlv *pf_resp) argument
35 static lm_status_t lm_pf_get_queues_number(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, u8_t *num_rxqs, u8_t * num_txqs) argument
37 return mm_pf_get_queues_number(pdev, vf_info, num_rxqs, num_txqs);
40 static lm_status_t lm_pf_get_filters_number(struct _lm_device_t *pdev, lm_vf_info_ argument
48 lm_pf_get_macs(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, u8_t *permanent_mac_addr, u8_t *current_mac_addr) argument
53 lm_pf_vf_check_compatibility(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, struct vf_pf_msg_acquire *request) argument
94 lm_pf_vf_fill_acquire_response(struct _lm_device_t *pdev, lm_vf_info_t *vf_info) argument
176 lm_pf_vf_fill_init_vf_response(struct _lm_device_t *pdev, lm_vf_info_t *vf_info) argument
256 lm_pf_vf_fill_setup_q_response(struct _lm_device_t *pdev, lm_vf_info_t *vf_info) argument
346 lm_pf_vf_fill_set_q_filters_response(struct _lm_device_t *pdev, lm_vf_info_t *vf_info) argument
437 lm_pf_vf_fill_teardown_q_response(struct _lm_device_t *pdev, lm_vf_info_t *vf_info) argument
497 lm_pf_vf_fill_close_vf_response(struct _lm_device_t *pdev, lm_vf_info_t *vf_info) argument
573 lm_pf_vf_fill_release_vf_response(struct _lm_device_t *pdev, lm_vf_info_t *vf_info) argument
586 lm_pf_vf_fill_update_rss_response(struct _lm_device_t *pdev, lm_vf_info_t *vf_info) argument
620 lm_pf_vf_fill_update_rsc_response(struct _lm_device_t *pdev, lm_vf_info_t *vf_info) argument
650 lm_pf_process_standard_request(struct _lm_device_t *pdev, lm_vf_info_t *vf_info) argument
820 lm_pf_notify_standard_request_ready(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, u8_t * set_done) argument
878 lm_vf_pf_send_message_to_hw_channel(struct _lm_device_t * pdev, lm_vf_pf_message_t * mess) argument
918 lm_vf_pf_send_request_to_sw_channel(struct _lm_device_t * pdev, lm_vf_pf_message_t * mess) argument
929 lm_vf_pf_recv_response_from_sw_channel(struct _lm_device_t * pdev, lm_vf_pf_message_t * mess) argument
962 lm_vf_pf_channel_send(struct _lm_device_t * pdev, lm_vf_pf_message_t * mess) argument
987 lm_vf_pf_channel_wait_response(struct _lm_device_t * pdev, lm_vf_pf_message_t * mess) argument
1047 lm_vf_pf_channel_release_message(struct _lm_device_t * pdev, lm_vf_pf_message_t * mess) argument
1057 lm_vf_pf_channel_get_message_to_send(struct _lm_device_t * pdev, const u32_t opcode) argument
1289 lm_vf_pf_get_sb_running_index(lm_device_t *pdev, u8_t sb_id, u8_t sm_idx) argument
1312 lm_vf_pf_get_sb_index(lm_device_t *pdev, u8_t sb_id, u8_t idx) argument
1332 lm_vf_get_doorbell_size(struct _lm_device_t *pdev) argument
1354 lm_vf_pf_wait_no_messages_pending(struct _lm_device_t * pdev) argument
1424 lm_vf_pf_acquire_msg(struct _lm_device_t * pdev) argument
1808 lm_vf_pf_init_vf(struct _lm_device_t * pdev) argument
1867 lm_vf_pf_setup_q(struct _lm_device_t * pdev, u8 vf_qid, u8_t validation_flag) argument
2013 lm_vf_pf_tear_q_down(struct _lm_device_t * pdev, u8 vf_qid) argument
2053 lm_vf_pf_set_q_filters(struct _lm_device_t * pdev, u8 vf_qid, void * cookie, q_filter_type filter_type, u8_t * pbuf, u32_t buf_len, u16_t vlan_tag, u8_t set_mac) argument
2272 lm_vf_pf_set_q_filters_list(struct _lm_device_t * pdev, u8 vf_qid, void * cookie, q_filter_type filter_type, d_list_t * pbuf, u16_t vlan_tag, u8_t set_mac) argument
2281 lm_vf_pf_update_rss(struct _lm_device_t *pdev, void * cookie, u32_t rss_flags, u8_t rss_result_mask, u8_t * ind_table, u32_t * rss_key) argument
2338 lm_vf_pf_update_rsc(struct _lm_device_t *pdev) argument
2398 lm_vf_pf_close_vf(struct _lm_device_t * pdev) argument
2438 lm_vf_pf_release_vf(struct _lm_device_t * pdev) argument
2512 lm_vf_fl_reset_set_inprogress(struct _lm_device_t * pdev) argument
2517 lm_vf_fl_reset_clear_inprogress(struct _lm_device_t *pdev) argument
2522 lm_vf_fl_reset_is_inprogress(struct _lm_device_t *pdev) argument
2528 lm_vf_get_vf_id(struct _lm_device_t * pdev) argument
2543 lm_vf_setup_alloc_resc(struct _lm_device_t *pdev, u8_t b_is_alloc ) argument
2671 lm_vf_chip_init(struct _lm_device_t *pdev) argument
2743 lm_vf_queue_init(struct _lm_device_t *pdev, u8_t cid) argument
2793 lm_vf_queue_close(struct _lm_device_t *pdev, u8_t cid) argument
2819 lm_vf_chip_reset(struct _lm_device_t *pdev, lm_reason_t reason) argument
2835 lm_vf_is_function_after_flr(struct _lm_device_t * pdev) argument
2840 lm_vf_init_dev_info(struct _lm_device_t *pdev) argument
2852 lm_vf_recycle_resc_in_pf(struct _lm_device_t *pdev) argument
2859 lm_vf_enable_vf(struct _lm_device_t *pdev) argument
2865 lm_vf_enable_igu_int(struct _lm_device_t * pdev) argument
2871 lm_vf_disable_igu_int(struct _lm_device_t * pdev) argument
2877 lm_vf_check_hw_back_channel(struct _lm_device_t * pdev) argument
2921 lm_pf_enable_vf_igu_int(struct _lm_device_t * pdev, u8_t abs_vf_id) argument
2977 lm_pf_disable_vf_igu_int(struct _lm_device_t * pdev, u8_t abs_vf_id) argument
3003 lm_pf_enable_vf(struct _lm_device_t *pdev, u8_t abs_vf_id) argument
3076 lm_pf_disable_vf(struct _lm_device_t *pdev, u8_t abs_vf_id) argument
3102 lm_pf_create_vf(struct _lm_device_t *pdev, u16_t abs_vf_id, void* ctx) argument
3160 lm_pf_remove_vf(struct _lm_device_t *pdev, u16_t abs_vf_id) argument
3224 lm_pf_cleanup_vf_after_flr(struct _lm_device_t *pdev, lm_vf_info_t *vf_info) argument
3441 lm_pf_fl_vf_reset_set_inprogress(struct _lm_device_t * pdev, u8_t abs_vf_id) argument
3454 lm_pf_fl_vf_reset_clear_inprogress(struct _lm_device_t *pdev, u8_t abs_vf_id) argument
3467 lm_pf_fl_vf_reset_is_inprogress(struct _lm_device_t *pdev, u8_t abs_vf_id) argument
3480 lm_pf_finally_release_vf(struct _lm_device_t *pdev, lm_vf_info_t *vf_info) argument
3552 lm_pf_tpa_send_vf_ramrod(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, u32_t q_idx, u8_t update_ipv4, u8_t update_ipv6) argument
3609 lm_is_vf_rsc_supported(struct _lm_device_t *pdev) argument
3636 lm_pf_init_vf_filters(struct _lm_device_t *pdev, lm_vf_info_t *vf_info) argument
3662 lm_pf_int_vf_igu_sb_cleanup(lm_device_t *pdev, lm_vf_info_t *vf_info, u8_t vf_chain_id) argument
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm.h149 * 3. Initializes the default parameters in 'pdev'.
156 struct _lm_device_t *pdev);
163 * @param pdev
169 struct _lm_device_t *pdev);
178 struct _lm_device_t *pdev);
187 struct _lm_device_t *pdev);
190 lm_status_t lm_service_eq_intr(struct _lm_device_t * pdev);
222 void lm_abort( IN OUT struct _lm_device_t* pdev,
235 struct _lm_device_t *pdev);
245 struct _lm_device_t *pdev);
[all...]
H A Dcommand.h31 static __inline void _lm_sq_post(struct _lm_device_t *pdev,struct sq_pending_command * pending) argument
33 u32_t func = FUNC_ID(pdev);
37 mm_memcpy(pdev->sq_info.sq_chain.prod_bd, &pending->command, sizeof(pending->command));
39 pdev->sq_info.sq_chain.prod_idx ++;
40 pdev->sq_info.sq_chain.bd_left --;
42 if (pdev->sq_info.sq_chain.prod_bd == pdev->sq_info.sq_chain.last_bd) {
43 pdev->sq_info.sq_chain.prod_bd = pdev->sq_info.sq_chain.sq_chain_virt;
45 pdev
79 lm_sq_post_fill_entry(struct _lm_device_t* pdev, struct sq_pending_command * pending, u32_t cid, u8_t command, u16_t type, u64_t data, u8_t release_mem_flag) argument
177 lm_command_post( struct _lm_device_t* pdev, u32_t cid, u8_t command, u8_t priority, u16_t type, u64_t data ) argument
[all...]

Completed in 288 milliseconds

12345