Searched refs:mcam_idx (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/ |
| H A D | npc.c | 297 u16 mcam_idx; in npc_vidx_maps_del_entry() local 307 mcam_idx = npc_vidx2idx(vidx); in npc_vidx_maps_del_entry() 317 map = xa_erase(&npc_priv.xa_idx2vidx_map, mcam_idx); in npc_vidx_maps_del_entry() 326 *old_midx = mcam_idx; in npc_vidx_maps_del_entry() 408 static int npc_vidx_maps_add_entry(struct rvu *rvu, u16 mcam_idx, int pcifunc, in npc_vidx_maps_add_entry() argument 419 xa_mk_value(mcam_idx), in npc_vidx_maps_add_entry() 424 __func__, mcam_idx); in npc_vidx_maps_add_entry() 428 rc = xa_insert(&npc_priv.xa_idx2vidx_map, mcam_idx, in npc_vidx_maps_add_entry() 433 __func__, mcam_idx); in npc_vidx_maps_add_entry() 806 int mcam_idx = index % mcam->banksize; in npc_cn20k_enable_mcam_entry() local [all …]
|
| H A D | npc.h | 303 int prio, u16 *mcam_idx, int ref, int limit, 305 int npc_cn20k_idx_free(struct rvu *rvu, u16 *mcam_idx, int count); 334 int npc_mcam_idx_2_key_type(struct rvu *rvu, u16 mcam_idx, u8 *key_type);
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_npc_fs.c | 1651 bool free_entry, int mcam_idx) in rvu_npc_free_entry_for_flow_install() argument 1661 free_req.entry = mcam_idx; in rvu_npc_free_entry_for_flow_install() 1669 u16 *mcam_idx, u8 *kw_type, in rvu_npc_alloc_entry_for_flow_install() argument 1717 *mcam_idx = entry_rsp.entry_list[0]; in rvu_npc_alloc_entry_for_flow_install() 2107 int npc_install_mcam_drop_rule(struct rvu *rvu, int mcam_idx, u16 *counter_idx, in npc_install_mcam_drop_rule() argument 2136 enabled = is_mcam_entry_enabled(rvu, mcam, blkaddr, mcam_idx); in npc_install_mcam_drop_rule() 2139 __func__, mcam_idx); in npc_install_mcam_drop_rule() 2154 rule->entry = mcam_idx; in npc_install_mcam_drop_rule() 2158 npc_mcam_rsrcs_reserve(rvu, blkaddr, mcam_idx); in npc_install_mcam_drop_rule() 2190 cn20k_req.entry = mcam_idx; in npc_install_mcam_drop_rule() [all …]
|
| H A D | rvu.h | 1133 int npc_install_mcam_drop_rule(struct rvu *rvu, int mcam_idx, u16 *counter_idx,
|