Searched refs:mcam_index (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_nix.c | 3505 int mce_idx, int mcam_index, bool add) in nix_update_mce_list() argument 3541 npc_enable_mcam_entry(rvu, mcam, npc_blkaddr, mcam_index, false); in nix_update_mce_list() 3603 int err = 0, nixlf, blkaddr, mcam_index, mce_idx; in nix_update_mce_rule() local 3630 mcam_index = npc_get_nixlf_mcam_index(mcam, in nix_update_mce_rule() 3633 if (mcam_index < 0) in nix_update_mce_rule() 3637 mce_idx, mcam_index, add); in nix_update_mce_rule() 4441 alg_idx, req->mcam_index); in rvu_mbox_handler_nix_rss_flowkey_cfg() 5266 elem->mcam_index); in nix_mcast_update_action() 5268 npc_set_mcam_action(rvu, mcam, npc_blkaddr, elem->mcam_index, in nix_mcast_update_action() 5273 elem->mcam_index); in nix_mcast_update_action() [all …]
|
| H A D | rvu.h | 168 int mcam_index; member 1026 int mce_idx, int mcam_index, bool add); 1050 u32 mcast_grp_idx, u16 mcam_index); 1084 int group, int alg_idx, int mcam_index);
|
| H A D | rvu_npc.c | 1161 struct rvu_pfvf *pfvf, int mcam_index, int blkaddr, in npc_update_rx_action_with_alg_idx() argument 1170 if (!is_mcam_entry_enabled(rvu, mcam, blkaddr, mcam_index)) in npc_update_rx_action_with_alg_idx() 1175 bank = npc_get_bank(mcam, mcam_index); in npc_update_rx_action_with_alg_idx() 1176 mcam_index &= (mcam->banksize - 1); in npc_update_rx_action_with_alg_idx() 1179 reg = NPC_AF_CN20K_MCAMEX_BANKX_ACTIONX_EXT(mcam_index, in npc_update_rx_action_with_alg_idx() 1182 reg = NPC_AF_MCAMEX_BANKX_ACTION(mcam_index, bank); in npc_update_rx_action_with_alg_idx() 1194 int group, int alg_idx, int mcam_index) in rvu_npc_update_flowkey_alg_idx() argument 1207 if (mcam_index < 0) { in rvu_npc_update_flowkey_alg_idx() 1214 index = mcam_index; in rvu_npc_update_flowkey_alg_idx() 1244 if (mcam_index < 0) in rvu_npc_update_flowkey_alg_idx() [all …]
|
| H A D | mbox.h | 1251 int mcam_index; /* MCAM entry index to modify */ member
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_common.c | 302 req->mcam_index = -1; /* Default or reserved index */ in otx2_set_flowkey_cfg()
|