Searched refs:entry2pfvf_map (Results 1 – 4 of 4) sorted by relevance
484 owner = mcam->entry2pfvf_map[index]; in npc_fixup_vf_rule()2069 kfree(mcam->entry2pfvf_map); in npc_mcam_rsrcs_deinit()2149 mcam->entry2pfvf_map = kcalloc(mcam->bmap_entries, sizeof(u16), in npc_mcam_rsrcs_init()2152 if (!mcam->entry2pfvf_map) in npc_mcam_rsrcs_init()2201 mcam->entry2pfvf_map[index] = NPC_MCAM_INVALID_MAP; in npc_mcam_rsrcs_init()2221 kfree(mcam->entry2pfvf_map); in npc_mcam_rsrcs_init()2499 if (mcam->entry2pfvf_map[entry] == pcifunc) { in rvu_npc_get_mcam_entry_alloc_info()2538 if (pcifunc != mcam->entry2pfvf_map[entry]) in npc_mcam_verify_entry()2646 if (mcam->entry2pfvf_map[index] != pcifunc) in npc_mcam_free_all_entries()2664 mcam->entry2pfvf_map[index] = NPC_MCAM_INVALID_MAP; in npc_mcam_free_all_entries()[all …]
218 u16 *entry2pfvf_map; member385 u16 *entry2pfvf_map; member
2994 if (vlan->entry2pfvf_map[index] != pcifunc) in nix_tx_vtag_free()3002 vlan->entry2pfvf_map[index] = 0; in nix_tx_vtag_free()3027 if (vlan->entry2pfvf_map[index] == pcifunc) in nix_free_tx_vtag_entries()3081 if (vlan->entry2pfvf_map[idx0] != pcifunc || in nix_tx_vtag_decfg()3082 vlan->entry2pfvf_map[idx1] != pcifunc) in nix_tx_vtag_decfg()3121 vlan->entry2pfvf_map[rsp->vtag0_idx] = pcifunc; in nix_tx_vtag_cfg()3132 vlan->entry2pfvf_map[rsp->vtag1_idx] = pcifunc; in nix_tx_vtag_cfg()3747 vlan->entry2pfvf_map = devm_kcalloc(rvu->dev, vlan->rsrc.max, in nix_setup_txvlan()3749 if (!vlan->entry2pfvf_map) in nix_setup_txvlan()
3741 mcam->entry2pfvf_map[old_midx] = NPC_MCAM_INVALID_MAP; in npc_defrag_move_vdx_to_free()3745 mcam->entry2pfvf_map[new_midx] = pcifunc; in npc_defrag_move_vdx_to_free()4264 mcam->entry2pfvf_map[ptr[i]] = NPC_MCAM_INVALID_MAP; in npc_cn20k_dft_rules_free()