Searched refs:kw_type (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/ |
| H A D | npc.c | 809 u8 kw_type; in npc_cn20k_enable_mcam_entry() local 814 if (npc_mcam_idx_2_key_type(rvu, index, &kw_type)) in npc_cn20k_enable_mcam_entry() 817 if (kw_type == NPC_MCAM_KEY_X2) { in npc_cn20k_enable_mcam_entry() 888 u8 kw_type; in npc_cn20k_clear_mcam_entry() local 891 if (npc_mcam_idx_2_key_type(rvu, mcam_idx, &kw_type)) in npc_cn20k_clear_mcam_entry() 896 if (kw_type == NPC_MCAM_KEY_X2) { in npc_cn20k_clear_mcam_entry() 958 int bank, u8 kw_type, int kw, in npc_cn20k_config_kw_x2() argument 964 u8 kw_type_mask = ~kw_type; in npc_cn20k_config_kw_x2() 979 kw_type == NPC_MCAM_KEY_X2) { in npc_cn20k_config_kw_x2() 980 kw_type = 0; in npc_cn20k_config_kw_x2() [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_npc_fs.c | 1669 u16 *mcam_idx, u8 *kw_type, in rvu_npc_alloc_entry_for_flow_install() argument 1680 *kw_type = -1; in rvu_npc_alloc_entry_for_flow_install() 1685 *kw_type = -1; in rvu_npc_alloc_entry_for_flow_install() 1699 *kw_type = NPC_MCAM_KEY_X2; in rvu_npc_alloc_entry_for_flow_install() 1701 *kw_type = NPC_MCAM_KEY_X4; in rvu_npc_alloc_entry_for_flow_install() 1709 entry_req.kw_type = *kw_type; in rvu_npc_alloc_entry_for_flow_install() 1734 u8 kw_type; in rvu_mbox_handler_npc_install_flow() local 1747 &kw_type, &allocated); in rvu_mbox_handler_npc_install_flow() 1891 rsp->kw_type = kw_type; in rvu_mbox_handler_npc_install_flow()
|
| H A D | rvu_npc.c | 2845 if (req->kw_type != NPC_MCAM_KEY_X2 && req->kw_type != NPC_MCAM_KEY_X4) in npc_mcam_alloc_entries() 2859 if (req->kw_type == NPC_MCAM_KEY_X2) in npc_mcam_alloc_entries() 2865 ret = npc_cn20k_ref_idx_alloc(rvu, pcifunc, req->kw_type, in npc_mcam_alloc_entries()
|