/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_mcp.c | 273 DbgMessage(pdev, INFORM, "acquire_split_alr() - %d START!\n", FUNC_ID(pdev) ); in acquire_split_alr() 305 DbgMessage(pdev, INFORM, "acquire_split_alr() - %d END!\n", FUNC_ID(pdev) ); in acquire_split_alr() 317 DbgMessage(pdev, INFORM, "release_split_alr() - %d START!\n", FUNC_ID(pdev) ); in release_split_alr() 327 DbgMessage(pdev, INFORM, "release_split_alr() - %d END!\n", FUNC_ID(pdev) ); in release_split_alr() 432 …( ( ( FUNC_ID(_pdev) == (_port_idx+0) ) ? TRUE : (FALSE == g_lm_loader.path_arr[_path_idx].func_ar… 433 …( ( FUNC_ID(_pdev) == (_port_idx+2) ) ? TRUE : (FALSE == g_lm_loader.path_arr[_path_idx].func_arr[… 434 …( ( FUNC_ID(_pdev) == (_port_idx+4) ) ? TRUE : (FALSE == g_lm_loader.path_arr[_path_idx].func_arr[… 435 …( ( FUNC_ID(_pdev) == (_port_idx+6) ) ? TRUE : (_port_idx == 0)?(FALSE == g_lm_loader.path_arr[_pa… 593 …if( ERR_IF(PORT_ID(pdev) > 1) || ERR_IF(( FUNC_ID(pdev)) >= ARRSIZE(g_lm_loader.path_arr[PATH_ID(p… in lm_loader_lock() 617 g_lm_loader.lock_owner = FUNC_ID(pdev)+1 ; in lm_loader_lock() [all …]
|
H A D | lm_hw_init_reset.c | 109 ecore_init_block(_pdev, BLOCK_##_block, PHASE_PF0 + FUNC_ID(_pdev)) 209 DbgMessage(pdev, FATAL, "PF[%d] is under FLR\n",FUNC_ID(pdev)); in lm_fl_reset_set_inprogress() 237 DbgMessage(pdev, FATAL, "PF[%d] was FLRed\n",FUNC_ID(pdev)); in lm_is_function_after_flr() 283 DbgMessage(pdev, FATAL, "lm_cleanup_after_flr PF[%d] >>>\n",FUNC_ID(pdev)); in lm_cleanup_after_flr() 299 …ats.qm_usage_counter = REG_WAIT_VERIFY_VAL(pdev, QM_REG_PF_USG_CNT_0 + 4*FUNC_ID(pdev),0, wait_ms); in lm_cleanup_after_flr() 312 …_WAIT_VERIFY_VAL(pdev, lm_dmae_idx_to_go_cmd(DMAE_WB_ACCESS_FUNCTION_CMD(FUNC_ID(pdev))), 0, wait_… in lm_cleanup_after_flr() 314 …num_scans_usage_counter, DEFAULT_WAIT_INTERVAL_MICSEC, DMAE_WB_ACCESS_FUNCTION_CMD(FUNC_ID(pdev))); in lm_cleanup_after_flr() 351 function_for_clean_up = IS_VFDEV(pdev) ? FW_VFID(pdev) : FUNC_ID(pdev); in lm_cleanup_after_flr() 813 REG_WR(pdev, PGLUE_B_REG_WAS_ERROR_PF_7_0_CLR, 1 << FUNC_ID(pdev)); in lm_reset_prev_interrupted_dmae() 1249 temp = FUNC_ID(pdev) * ILT_NUM_PAGE_ENTRIES_PER_FUNC; in uninit_pxp2_blk() [all …]
|
H A D | lm_resc.c | 92 func = FUNC_ID(pdev); in lm_clear_chain_sb_cons_idx() 1146 FUNC_ID(pdev), in lm_init_chain_con() 1161 FUNC_ID(pdev), in lm_init_chain_con() 1178 FUNC_ID(pdev), in lm_init_chain_con() 1504 eq_chain->iro_prod_offset = CSTORM_EVENT_RING_PROD_OFFSET(FUNC_ID(pdev)); in lm_setup_eq() 1513 …ecore_init_mac_credit_pool(pdev, &pdev->slowpath_info.macs_pool, FUNC_ID(pdev), CHIP_IS_E1x(pdev)?… in lm_init_sp_objs() 1514 …ecore_init_vlan_credit_pool(pdev, &pdev->slowpath_info.vlans_pool, FUNC_ID(pdev), CHIP_IS_E1x(pdev… in lm_init_sp_objs() 1523 FUNC_ID(pdev), in lm_init_sp_objs() 1524 FUNC_ID(pdev), in lm_init_sp_objs() 1536 FUNC_ID(pdev), in lm_init_sp_objs() [all …]
|
H A D | lm_devinfo.c | 186 DbgMessage(pdev, WARN, "lm_get_shmem_info: FUNC_ID: %d\n", FUNC_ID(pdev)); in lm_print_func_info() 716 …, igu_fid) ((igu_fid & IGU_FID_ENCODE_IS_PF) && ((igu_fid & IGU_FID_PF_NUM_MASK) == FUNC_ID(pdev))) in lm_get_igu_cam_info() 728 blk_info->igu_info.igu_base_sb = FUNC_ID(pdev) * MAX_RSS_CHAINS; in lm_get_igu_cam_info() 729 blk_info->igu_info.igu_dsb_id = MAX_VNIC_NUM * MAX_RSS_CHAINS + FUNC_ID(pdev); in lm_get_igu_cam_info() 766 else if (current_pf_id == FUNC_ID(pdev)) in lm_get_igu_cam_info() 784 if (lm_igu_sb->pf_number == FUNC_ID(pdev)) in lm_get_igu_cam_info() 917 if ((FUNC_ID(pdev) < 2) && (pdev->hw_info.mf_info.mf_mode != SINGLE_FUNCTION)) in lm_get_igu_cam_info() 988 igu_func_id = (1 << IGU_FID_ENCODE_IS_PF_SHIFT) | FUNC_ID(pdev); in lm_get_intr_blk_info() 1350 const u8_t func_id = FUNC_ID(pdev); in lm_check_valid_mf_cfg() 2674 else if (FUNC_ID(pdev) != PORT_ID(pdev)) in lm_get_shmem_info() [all …]
|
H A D | lm_sb.c | 615 func = FUNC_ID(pdev); in lm_init_sp_status_block() 667 DbgMessage(pdev, INFORMi, "init_status_blocks() inside! func:%d\n",FUNC_ID(pdev)); in init_status_blocks() 881 …! rss_id:%d, sb_index:%d, func_num:%d is_update:%d\n", rss_id, sb_index, FUNC_ID(pdev), is_update_… in lm_int_hc_ack_sb() 1374 …vars.status_blocks_arr[sb_id].hc_status_block_data.e1x_sb_data.common.p_func.pf_id = FUNC_ID(pdev); in lm_init_non_def_status_block() 1388 …>vars.status_blocks_arr[sb_id].hc_status_block_data.e2_sb_data.common.p_func.pf_id = FUNC_ID(pdev); in lm_init_non_def_status_block() 1591 …M_SW_VF_SB_ID(vf_info,sb_idx)].hc_status_block_data.e2_sb_data.common.p_func.pf_id = FUNC_ID(pdev); in lm_pf_init_vf_non_def_sb() 1715 func = FUNC_ID(pdev); in lm_clear_non_def_status_block()
|
H A D | lm_hw_attn.c | 1128 …pdev, WARN, "lm_pmf_or_link_event: sync general attention received!!! for func%d\n",FUNC_ID(pdev)); in lm_pmf_or_link_event() 1567 const u8_t func_id = FUNC_ID(pdev); in lm_generic_event() 1724 offset = GENERAL_ATTEN_OFFSET(LINK_SYNC_ATTENTION_BIT_FUNC_0 + FUNC_ID(pdev)); in lm_gen_attn_everest_processing()
|
H A D | lm_sp.c | 208 …general->func_id = FUNC_ID(pdev); /* FIXME: VFID needs to be given here for VFs... */ in lm_eth_init_client_init_general_data() 291 rx->approx_mcast_engine_id = FUNC_ID(pdev); /* FIMXE (MichalS) */ in lm_eth_init_client_init_rx_data() 292 rx->rss_engine_id = FUNC_ID(pdev); /* FIMXE (MichalS) */ in lm_eth_init_client_init_rx_data() 673 …client_update_data_virt->func_id = FUNC_ID(pdev); /* FIXME: VFID needs to be given here for VFs… in lm_update_eth_client() 2162 ramrod_param.func_id = FUNC_ID(pdev); in lm_set_rx_mask() 4313 …client_update_data_virt->func_id = FUNC_ID(pdev); /* FIXME: VFID needs to be given here for VFs… in lm_update_default_vlan()
|
H A D | lm_recv.c | 53 TSTORM_ISCSI_L2_ISCSI_OOO_PROD_OFFSET(FUNC_ID(pdev)), in lm_rx_set_prods() 1029 … DbgMessage(pdev, INFORMl2rx, "lm_get_packets_rcvd- it is fast path, func=%d\n", FUNC_ID(pdev)); in lm_get_packets_rcvd()
|
H A D | lm_stats.c | 1502 cur_query_entry->funcID = mm_cpu_to_le16(FUNC_ID(pdev));; in lm_stats_prep_fw_stats_req() 1515 cur_query_entry->funcID = mm_cpu_to_le16(FUNC_ID(pdev)); in lm_stats_prep_fw_stats_req() 1528 cur_query_entry->funcID = mm_cpu_to_le16(FUNC_ID(pdev)); in lm_stats_prep_fw_stats_req() 1543 cur_query_entry->funcID = mm_cpu_to_le16(FUNC_ID(pdev)); in lm_stats_prep_fw_stats_req() 1562 cur_query_entry->funcID = mm_cpu_to_le16(FUNC_ID(pdev)); in lm_stats_prep_fw_stats_req() 1588 cur_query_entry->funcID = mm_cpu_to_le16(FUNC_ID(pdev)); in lm_stats_prep_vf_fw_stats_req()
|
H A D | lm_hw_access.c | 1495 u8_t const func = FUNC_ID(pdev); in lm_hw_lock() 1553 u8_t const func = FUNC_ID(pdev); in lm_hw_unlock_ex()
|
H A D | lm_pf.c | 678 FUNC_ID(pdev), in lm_pf_init_vf_client() 692 FUNC_ID(pdev), in lm_pf_init_vf_client()
|
H A D | lm_phy.c | 202 REG_WR(cb, MISC_REG_AEU_GENERAL_ATTN_12 + FUNC_ID((lm_device_t *)cb)*sizeof(u32), 1); in elink_cb_notify_link_changed() 777 const u8_t func_id = FUNC_ID(pdev); in sync_link_status()
|
H A D | lm_send.c | 1151 …FUNC_ID(pdev), chain_idx , lm_bd_chain_cons_idx(&tx_chain->bd_chain), lm_bd_chain_prod_idx(&tx_cha… in lm_get_packets_sent()
|
H A D | lm_dcbx.c | 4996 LM_GENERAL_ATTN_INTERRUPT_SET(pdev,FUNC_ID(pdev)); in lm_dcbx_init() 5090 LM_GENERAL_ATTN_INTERRUPT_SET(pdev,FUNC_ID(pdev)); in lm_dcbx_update_lpme_set_params()
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/ |
H A D | lm_vf.c | 139 … is allocated for PF[%d] itself\n", LM_FW_SB_ID(pf_dev, RSS_ID_TO_SB_ID(rss_id)), FUNC_ID(pf_dev)); in lm_vf_en() 141 …d is allocated for PF[%d] itself\n", LM_FW_CLI_ID(pf_dev, RSS_ID_TO_CID(rss_id)), FUNC_ID(pf_dev)); in lm_vf_en() 145 …_dev, FATAL, "Stats%d is allocated for PF[%d] itself\n", LM_STATS_CNT_ID(pf_dev), FUNC_ID(pf_dev)); in lm_vf_en() 303 …L,"lm_vf_allocate_resc_in_pf: VF %d requests resources from PF %d\n",ABS_VFID(pdev),FUNC_ID(pdev)); in lm_vf_allocate_resc_in_pf() 373 …LM_INTMEM_WRITE8(PFDEV(pdev), XSTORM_VF_TO_PF_OFFSET(function_fw_id), FUNC_ID(pdev), BAR_XSTRORM_I… in lm_vf_chip_init() 374 …LM_INTMEM_WRITE8(PFDEV(pdev), CSTORM_VF_TO_PF_OFFSET(function_fw_id), FUNC_ID(pdev), BAR_CSTRORM_I… in lm_vf_chip_init() 375 …LM_INTMEM_WRITE8(PFDEV(pdev), TSTORM_VF_TO_PF_OFFSET(function_fw_id), FUNC_ID(pdev), BAR_TSTRORM_I… in lm_vf_chip_init() 376 …LM_INTMEM_WRITE8(PFDEV(pdev), USTORM_VF_TO_PF_OFFSET(function_fw_id), FUNC_ID(pdev), BAR_USTRORM_I… in lm_vf_chip_init() 540 val |= ((FUNC_ID(pdev) << IGU_VF_CONF_PARENT_SHIFT) & IGU_VF_CONF_PARENT_MASK); in lm_vf_enable_igu_int() 568 DbgMessage2(pdev, FATAL, "PF[%d] of VF[%d] is under FLR\n", FUNC_ID(pdev), ABS_VFID(pdev)); in lm_vf_disable_igu_int()
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_ctx.c | 507 #define CRB_CTX_ADDR_REG_LO(FUNC_ID) (ctx_addr_sig_regs[FUNC_ID][0]) argument 508 #define CRB_CTX_ADDR_REG_HI(FUNC_ID) (ctx_addr_sig_regs[FUNC_ID][2]) argument 509 #define CRB_CTX_SIGNATURE_REG(FUNC_ID) (ctx_addr_sig_regs[FUNC_ID][1]) argument
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/ |
H A D | command.h | 33 u32_t func = FUNC_ID(pdev); in _lm_sq_post() 90 type |= (FUNC_ID(pdev) << SPE_HDR_T_FUNCTION_ID_SHIFT); in lm_sq_post_fill_entry()
|
H A D | lm_stats.h | 112 #define LM_STATS_CNT_ID(_pdev) (IS_VFDEV(_pdev) ? (_pdev)->params.base_fw_stats_id : FUNC_ID(_pdev))
|
H A D | lm5710.h | 993 #define FUNC_ID(pdev) (PFDEV(pdev)->params.pfunc_rel) //0-7 macro
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ |
H A D | ecore_common.h | 56 TSTORM_APPROXIMATE_MATCH_MULTICAST_FILTERING_OFFSET(FUNC_ID(pdev)) + i*4)
|
H A D | ecore_sp_verbs.c | 6009 cmd, FUNC_ID(pdev), o->state, in ecore_func_state_change_comp() 6016 cmd, FUNC_ID(pdev), o->next_state); in ecore_func_state_change_comp()
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/ |
H A D | lm_l5.c | 702 const u32_t func = FUNC_ID(pdev); in lm_sc_ooo_chain_establish() 750 const u32_t func = FUNC_ID(pdev); in lm_sc_init() 941 func = FUNC_ID(pdev); in lm_fc_init() 1740 …LM_INTMEM_WRITE16(pdev, CSTORM_ISCSI_EQ_PROD_OFFSET(FUNC_ID(pdev), eq_num), lm_bd_chain_prod_idx(&… in lm_sc_service_eq_intr() 1861 …LM_INTMEM_WRITE16(pdev, USTORM_FCOE_EQ_PROD_OFFSET(FUNC_ID(pdev)), lm_bd_chain_prod_idx(&eq_chain-… in lm_fc_service_eq_intr()
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/ |
H A D | lm_vf.c | 233 …LM_INTMEM_WRITE8(PFDEV(pdev), XSTORM_VF_TO_PF_OFFSET(function_fw_id), FUNC_ID(pdev), BAR_XSTRORM_I… in lm_pf_vf_fill_init_vf_response() 234 …LM_INTMEM_WRITE8(PFDEV(pdev), CSTORM_VF_TO_PF_OFFSET(function_fw_id), FUNC_ID(pdev), BAR_CSTRORM_I… in lm_pf_vf_fill_init_vf_response() 235 …LM_INTMEM_WRITE8(PFDEV(pdev), TSTORM_VF_TO_PF_OFFSET(function_fw_id), FUNC_ID(pdev), BAR_TSTRORM_I… in lm_pf_vf_fill_init_vf_response() 236 …LM_INTMEM_WRITE8(PFDEV(pdev), USTORM_VF_TO_PF_OFFSET(function_fw_id), FUNC_ID(pdev), BAR_USTRORM_I… in lm_pf_vf_fill_init_vf_response() 2957 val |= ((FUNC_ID(pdev) << IGU_VF_CONF_PARENT_SHIFT) & IGU_VF_CONF_PARENT_MASK); in lm_pf_enable_vf_igu_int() 2985 DbgMessage(pdev, FATAL, "PF[%d] of VF[%d] is under FLR\n", FUNC_ID(pdev), abs_vf_id); in lm_pf_disable_vf_igu_int()
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/ |
H A D | lm_l4sp.c | 718 func = FUNC_ID(pdev); in _lm_set_ofld_params_ustorm_toe() 912 func = FUNC_ID(pdev); in _lm_set_ofld_params_tstorm_common() 940 func = FUNC_ID(pdev); in _lm_set_ofld_params_tstorm_toe() 972 func = FUNC_ID(pdev); in _lm_set_ofld_params_xstorm_common() 1023 func = FUNC_ID(pdev); in _lm_set_ofld_params_xstorm_toe() 1054 func = FUNC_ID(pdev); in lm_tcp_init_chip_common()
|