Searched refs:entry2pfvf_map (Results 1 – 4 of 4) sorted by relevance
485 owner = mcam->entry2pfvf_map[index]; in npc_fixup_vf_rule()2365 kfree(mcam->entry2pfvf_map); in npc_mcam_rsrcs_deinit()2445 mcam->entry2pfvf_map = kcalloc(mcam->bmap_entries, sizeof(u16), in npc_mcam_rsrcs_init()2448 if (!mcam->entry2pfvf_map) in npc_mcam_rsrcs_init()2497 mcam->entry2pfvf_map[index] = NPC_MCAM_INVALID_MAP; in npc_mcam_rsrcs_init()2518 kfree(mcam->entry2pfvf_map); in npc_mcam_rsrcs_init()2799 if (mcam->entry2pfvf_map[entry] == pcifunc) { in rvu_npc_get_mcam_entry_alloc_info()2838 if (pcifunc != mcam->entry2pfvf_map[entry]) in npc_mcam_verify_entry()2946 if (mcam->entry2pfvf_map[index] != pcifunc) in npc_mcam_free_all_entries()2964 mcam->entry2pfvf_map[index] = NPC_MCAM_INVALID_MAP; in npc_mcam_free_all_entries()[all …]
218 u16 *entry2pfvf_map; member385 u16 *entry2pfvf_map; member
3048 if (vlan->entry2pfvf_map[index] != pcifunc) in nix_tx_vtag_free()3056 vlan->entry2pfvf_map[index] = 0; in nix_tx_vtag_free()3081 if (vlan->entry2pfvf_map[index] == pcifunc) in nix_free_tx_vtag_entries()3135 if (vlan->entry2pfvf_map[idx0] != pcifunc || in nix_tx_vtag_decfg()3136 vlan->entry2pfvf_map[idx1] != pcifunc) in nix_tx_vtag_decfg()3175 vlan->entry2pfvf_map[rsp->vtag0_idx] = pcifunc; in nix_tx_vtag_cfg()3186 vlan->entry2pfvf_map[rsp->vtag1_idx] = pcifunc; in nix_tx_vtag_cfg()3801 vlan->entry2pfvf_map = devm_kcalloc(rvu->dev, vlan->rsrc.max, in nix_setup_txvlan()3803 if (!vlan->entry2pfvf_map) in nix_setup_txvlan()
3787 mcam->entry2pfvf_map[old_midx] = NPC_MCAM_INVALID_MAP; in npc_defrag_move_vdx_to_free()3791 mcam->entry2pfvf_map[new_midx] = pcifunc; in npc_defrag_move_vdx_to_free()4426 mcam->entry2pfvf_map[ptr[i]] = NPC_MCAM_INVALID_MAP; in npc_cn20k_dft_rules_free()