Home
last modified time | relevance | path

Searched refs:entry2cntr_map (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c1102 mcam->entry2cntr_map = devm_kcalloc(rvu->dev, mcam->bmap_entries, in npc_mcam_rsrcs_init()
1104 if (!mcam->entry2cntr_map) in npc_mcam_rsrcs_init()
1309 mcam->entry2cntr_map[entry] = cntr; in npc_map_mcam_entry_and_cntr()
1325 mcam->entry2cntr_map[entry] = NPC_MCAM_INVALID_MAP; in npc_unmap_mcam_entry_and_cntr()
1379 cntr = mcam->entry2cntr_map[index]; in npc_mcam_free_all_entries()
1693 mcam->entry2cntr_map[index] = NPC_MCAM_INVALID_MAP; in npc_mcam_alloc_entries()
1774 cntr = mcam->entry2cntr_map[req->entry]; in rvu_mbox_handler_npc_mcam_free_entry()
1910 if (mcam->entry2cntr_map[new_entry] != NPC_MCAM_INVALID_MAP) { in rvu_mbox_handler_npc_mcam_shift_entry()
1922 cntr = mcam->entry2cntr_map[old_entry]; in rvu_mbox_handler_npc_mcam_shift_entry()
2040 if (mcam->entry2cntr_map[index] != req->cntr) in rvu_mbox_handler_npc_mcam_free_counter()
[all …]
Drvu.h116 u16 *entry2cntr_map; member