Searched refs:mcam_idx (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc_hash.c | 786 u8 ctype, u32 *seq_id, bool cmd, u32 mcam_idx, u16 pcifunc) in rvu_npc_exact_add_to_list() argument 845 entry->mcam_idx = mcam_idx; in rvu_npc_exact_add_to_list() 1318 u32 mcam_idx, u16 pcifunc) in rvu_npc_exact_add_table_entry() argument 1348 mac, chan, ctype, seq_id, cmd, mcam_idx, pcifunc); in rvu_npc_exact_add_table_entry() 1600 u32 seq_id, mcam_idx; in rvu_npc_exact_mac_addr_update() local 1628 mcam_idx = entry->mcam_idx; in rvu_npc_exact_mac_addr_update() 1651 mcam_idx, req->hdr.pcifunc); in rvu_npc_exact_mac_addr_update() 1743 u32 mcam_idx = -1; in rvu_npc_exact_mac_addr_set() local 1774 mcam_idx = npc_get_nixlf_mcam_index(&rvu->hw->mcam, req->hdr.pcifunc, in rvu_npc_exact_mac_addr_set() 1780 true, mcam_idx, req->hdr.pcifunc); in rvu_npc_exact_mac_addr_set()
|
D | rvu_npc_fs.c | 1591 int npc_install_mcam_drop_rule(struct rvu *rvu, int mcam_idx, u16 *counter_idx, in npc_install_mcam_drop_rule() argument 1618 enabled = is_mcam_entry_enabled(rvu, mcam, blkaddr, mcam_idx); in npc_install_mcam_drop_rule() 1621 __func__, mcam_idx); in npc_install_mcam_drop_rule() 1636 rule->entry = mcam_idx; in npc_install_mcam_drop_rule() 1640 npc_mcam_rsrcs_reserve(rvu, blkaddr, mcam_idx); in npc_install_mcam_drop_rule() 1665 req.entry = mcam_idx; in npc_install_mcam_drop_rule() 1670 __func__, mcam_idx); in npc_install_mcam_drop_rule() 1675 __func__, mcam_idx, req.cntr); in npc_install_mcam_drop_rule() 1678 npc_enable_mcam_entry(rvu, mcam, blkaddr, mcam_idx, false); in npc_install_mcam_drop_rule()
|
D | rvu_npc_hash.h | 156 u32 mcam_idx; member
|
D | rvu.h | 917 int npc_install_mcam_drop_rule(struct rvu *rvu, int mcam_idx, u16 *counter_idx,
|
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_tc.c | 936 int mcam_idx = flow_cfg->max_flows - flow_cfg->nr_flows - 1; in otx2_tc_update_mcam_table_add_req() local 953 tmp->entry = flow_cfg->flow_ent[mcam_idx]; in otx2_tc_update_mcam_table_add_req() 957 mcam_idx++; in otx2_tc_update_mcam_table_add_req() 960 return mcam_idx; in otx2_tc_update_mcam_table_add_req() 1023 int rc, err, mcam_idx; in otx2_tc_add_flow() local 1055 mcam_idx = otx2_tc_update_mcam_table(nic, flow_cfg, new_node, true); in otx2_tc_add_flow() 1067 req->entry = flow_cfg->flow_ent[mcam_idx]; in otx2_tc_add_flow()
|