/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_resc.c | 170 u8_t mm_cli_idx = 0; in lm_allocate_coalesce_buffers() local 182 … mm_cli_idx = cid_to_resource(pdev, cid); //!!DP mm_cli_idx_to_um_idx(LM_CHAIN_IDX_CLI(pdev, idx)); in lm_allocate_coalesce_buffers() 192 mem_virt = mm_alloc_mem(pdev,mem_size, mm_cli_idx); in lm_allocate_coalesce_buffers() 261 mem_virt = mm_alloc_phys_mem( pdev, mem_size, &mem_phy, 0, mm_cli_idx); in lm_allocate_coalesce_buffers() 304 u8_t mm_cli_idx = 0 ; in lm_alloc_txq() local 317 mm_cli_idx = cid_to_resource(pdev, cid); in lm_alloc_txq() 322 mm_alloc_phys_mem( pdev, mem_size, &tx_chain->bd_chain.bd_chain_phy, 0, mm_cli_idx); in lm_alloc_txq() 357 u8_t mm_cli_idx = 0 ; in lm_alloc_rxq() local 371 … mm_cli_idx = cid_to_resource(pdev, cid);//!!DP mm_cli_idx_to_um_idx(LM_CHAIN_IDX_CLI(pdev, idx)); in lm_alloc_rxq() 385 …chain->bd_chain_virt = mm_alloc_phys_mem( pdev, mem_size, &bd_chain->bd_chain_phy, 0, mm_cli_idx); in lm_alloc_rxq() [all …]
|
H A D | bnxe_context.c | 136 u8_t mm_cli_idx = 0 ; in lm_alloc_searcher_hash_info() local 143 mm_cli_idx = LM_RESOURCE_COMMON;//!!DP mm_cli_idx_to_um_idx(LM_CLI_IDX_MAX); in lm_alloc_searcher_hash_info() 157 hash_info->searcher_table = mm_alloc_mem(pdev, alloc_size, mm_cli_idx); in lm_alloc_searcher_hash_info() 299 u8_t mm_cli_idx = 0; in lm_alloc_context_pool() local 314 mm_cli_idx = LM_RESOURCE_COMMON;//!!DP mm_cli_idx_to_um_idx(LM_CLI_IDX_MAX); in lm_alloc_context_pool() 321 context = mm_alloc_mem(pdev, sizeof(lm_context_info_t), mm_cli_idx); in lm_alloc_context_pool() 329 context->array = mm_alloc_mem(pdev, sizeof(struct lm_context_cookie)*num_con, mm_cli_idx); in lm_alloc_context_pool()
|
H A D | lm_pf.c | 203 u8_t mm_cli_idx = 0; in lm_pf_allocate_vfs() local 212 mm_cli_idx = LM_RESOURCE_COMMON; in lm_pf_allocate_vfs() 224 pdev->vfs_set.vfs_array = mm_alloc_mem(pdev, alloc_size, mm_cli_idx); in lm_pf_allocate_vfs() 251 pdev->vfs_set.mirror_stats_fw_set = mm_alloc_mem(pdev, alloc_size, mm_cli_idx); in lm_pf_allocate_vfs()
|
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/ |
H A D | lm_l5.c | 34 IN u8_t mm_cli_idx in lm_alloc_pbl_mem() argument 54 mm_cli_idx); in lm_alloc_pbl_mem() 64 mm_cli_idx); in lm_alloc_pbl_mem() 69 mm_rt_free_phys_mem(pdev, *pbl_size, *pbl_virt, *pbl_phy, mm_cli_idx); in lm_alloc_pbl_mem() 82 mm_cli_idx); in lm_alloc_pbl_mem() 92 mm_cli_idx); in lm_alloc_pbl_mem() 119 IN u8_t mm_cli_idx) in lm_create_pbl() argument 133 …alloc_pbl_mem(pdev, *pbl_entries, pbl_virt, pbl_phy, pbl_virt_table, rt_mem, pbl_size, mm_cli_idx); in lm_create_pbl() 146 mm_rt_free_phys_mem(pdev, *pbl_size, *pbl_virt, *pbl_phy, mm_cli_idx); in lm_create_pbl() 147 mm_rt_free_mem(pdev, *pbl_virt_table, *pbl_entries * sizeof(void *), mm_cli_idx); in lm_create_pbl() [all …]
|
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/ |
H A D | lm_vf.c | 209 u8_t mm_cli_idx = 0 ; in lm_vf_setup_alloc_resc() local 228 mm_cli_idx = LM_RESOURCE_COMMON;//!!DP mm_cli_idx_to_um_idx(LM_CLI_IDX_MAX); in lm_vf_setup_alloc_resc() 234 …id].host_hc_status_block.e2_sb = mm_alloc_phys_mem(pdev, mem_size, &sb_phy_address, 0, mm_cli_idx); in lm_vf_setup_alloc_resc()
|
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/ |
H A D | lm_vf.c | 2548 u8_t mm_cli_idx = 0 ; in lm_vf_setup_alloc_resc() local 2589 mm_cli_idx = LM_RESOURCE_COMMON;//!!DP mm_cli_idx_to_um_idx(LM_CLI_IDX_MAX); in lm_vf_setup_alloc_resc() 2596 …t_hc_status_block.vf_sb = p_sb = mm_alloc_phys_mem(pdev, mem_size, &sb_phy_address, 0, mm_cli_idx); in lm_vf_setup_alloc_resc() 2600 …t_hc_status_block.e2_sb = p_sb = mm_alloc_phys_mem(pdev, mem_size, &sb_phy_address, 0, mm_cli_idx); in lm_vf_setup_alloc_resc() 2641 mm_cli_idx); in lm_vf_setup_alloc_resc() 2657 mm_cli_idx); in lm_vf_setup_alloc_resc()
|
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/ |
H A D | lm_l4sp.c | 198 u8_t mm_cli_idx = 0; in lm_tcp_alloc_resc() local 205 mm_cli_idx = LM_RESOURCE_NDIS;//!!DP mm_cli_idx_to_um_idx(LM_CLI_IDX_NDIS); in lm_tcp_alloc_resc() 213 …d_chain->bd_chain_virt = mm_alloc_phys_mem(pdev, mem_size, &bd_chain->bd_chain_phy, 0, mm_cli_idx); in lm_tcp_alloc_resc() 226 …d_chain->bd_chain_virt = mm_alloc_phys_mem(pdev, mem_size, &bd_chain->bd_chain_phy, 0, mm_cli_idx); in lm_tcp_alloc_resc() 236 …d_chain->bd_chain_virt = mm_alloc_phys_mem(pdev, mem_size, &bd_chain->bd_chain_phy, 0, mm_cli_idx); in lm_tcp_alloc_resc() 250 toe_info->grqs[i].isles_pool = (lm_isle_t*)mm_alloc_mem(pdev, mem_size, mm_cli_idx); in lm_tcp_alloc_resc() 261 …_info.pattern_buf = mm_alloc_mem(pdev, pdev->toe_info.integrity_info.pattern_buf_size, mm_cli_idx); in lm_tcp_alloc_resc()
|