Searched refs:entry2pfvf_map (Results 1 – 3 of 3) sorted by relevance
409 owner = mcam->entry2pfvf_map[index]; in npc_fixup_vf_rule()1790 mcam->entry2pfvf_map = devm_kcalloc(rvu->dev, mcam->bmap_entries, in npc_mcam_rsrcs_init()1792 if (!mcam->entry2pfvf_map) in npc_mcam_rsrcs_init()1840 mcam->entry2pfvf_map[index] = NPC_MCAM_INVALID_MAP; in npc_mcam_rsrcs_init()2077 if (mcam->entry2pfvf_map[entry] == pcifunc) { in rvu_npc_get_mcam_entry_alloc_info()2116 if (pcifunc != mcam->entry2pfvf_map[entry]) in npc_mcam_verify_entry()2207 if (mcam->entry2pfvf_map[index] == pcifunc) { in npc_mcam_free_all_entries()2208 mcam->entry2pfvf_map[index] = NPC_MCAM_INVALID_MAP; in npc_mcam_free_all_entries()2541 mcam->entry2pfvf_map[index] = pcifunc; in npc_mcam_alloc_entries()2625 mcam->entry2pfvf_map[req->entry] = NPC_MCAM_INVALID_MAP; in rvu_mbox_handler_npc_mcam_free_entry()[all …]
157 u16 *entry2pfvf_map; member296 u16 *entry2pfvf_map; member
2485 if (vlan->entry2pfvf_map[index] != pcifunc) in nix_tx_vtag_free()2493 vlan->entry2pfvf_map[index] = 0; in nix_tx_vtag_free()2518 if (vlan->entry2pfvf_map[index] == pcifunc) in nix_free_tx_vtag_entries()2572 if (vlan->entry2pfvf_map[idx0] != pcifunc || in nix_tx_vtag_decfg()2573 vlan->entry2pfvf_map[idx1] != pcifunc) in nix_tx_vtag_decfg()2612 vlan->entry2pfvf_map[rsp->vtag0_idx] = pcifunc; in nix_tx_vtag_cfg()2623 vlan->entry2pfvf_map[rsp->vtag1_idx] = pcifunc; in nix_tx_vtag_cfg()2999 vlan->entry2pfvf_map = devm_kcalloc(rvu->dev, vlan->rsrc.max, in nix_setup_txvlan()3001 if (!vlan->entry2pfvf_map) in nix_setup_txvlan()