| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_flows.c | 40 static int otx2_mcam_pfl_info_get(struct otx2_nic *pfvf, u16 *x4_slots, u8 *kw_type) in otx2_mcam_pfl_info_get() argument 46 u8 kw_type; in otx2_mcam_pfl_info_get() member 56 *kw_type = pfl_info.kw_type; in otx2_mcam_pfl_info_get() 81 pfl_info.kw_type = rsp->kw_type; in otx2_mcam_pfl_info_get() 82 if (rsp->kw_type == NPC_MCAM_KEY_X2) in otx2_mcam_pfl_info_get() 89 *kw_type = pfl_info.kw_type; in otx2_mcam_pfl_info_get() 166 u8 kw_type in otx2_alloc_mcam_entries() local 295 u8 kw_type = 0; otx2_mcam_entry_init() local 1112 otx2_get_kw_type(struct otx2_nic * pfvf,struct npc_install_flow_req * fl_req,u8 * kw_type) otx2_get_kw_type() argument 1198 u8 kw_type = 0; otx2_add_flow_msg() local [all...] |
| H A D | cn20k.c | 297 type = first->kw_type; in cn20k_tc_check_entry_shiftable() 306 if (type != tmp->kw_type) { in cn20k_tc_check_entry_shiftable() 316 type = tmp->kw_type; in cn20k_tc_check_entry_shiftable() 468 *type = rsp->kw_type; in __cn20k_tc_alloc_entry() 502 new_node->kw_type = entry_type; in cn20k_tc_alloc_entry()
|
| H A D | otx2_common.h | 390 u8 kw_type; /* X2/X4 */ 391 u8 kw_type; /* X2/X4 */ global() member
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/ |
| H A D | npc.c | 823 u8 kw_type; in npc_cn20k_enable_mcam_entry() local 828 if (npc_mcam_idx_2_key_type(rvu, index, &kw_type)) in npc_cn20k_enable_mcam_entry() 831 if (kw_type == NPC_MCAM_KEY_X2) { in npc_cn20k_enable_mcam_entry() 905 u8 kw_type; in npc_cn20k_clear_mcam_entry() 908 if (npc_mcam_idx_2_key_type(rvu, mcam_idx, &kw_type)) in npc_cn20k_clear_mcam_entry() local 913 if (kw_type == NPC_MCAM_KEY_X2) { in npc_cn20k_clear_mcam_entry() 975 int bank, u8 kw_type, int kw, in npc_cn20k_config_kw_x2() 981 u8 kw_type_mask = ~kw_type; in npc_cn20k_config_kw_x2() 996 kw_type == NPC_MCAM_KEY_X2) { in npc_cn20k_config_kw_x2() 997 kw_type in npc_cn20k_config_kw_x2() 978 npc_cn20k_config_kw_x2(struct rvu * rvu,struct npc_mcam * mcam,int blkaddr,int index,u8 intf,struct cn20k_mcam_entry * entry,int bank,u8 kw_type,int kw,u8 req_kw_type) npc_cn20k_config_kw_x2() argument 1060 npc_cn20k_config_kw_x4(struct rvu * rvu,struct npc_mcam * mcam,int blkaddr,int index,u8 intf,struct cn20k_mcam_entry * entry,u8 kw_type,u8 req_kw_type) npc_cn20k_config_kw_x4() argument 1080 u8 kw_type; npc_cn20k_config_mcam_entry() local 1243 u8 kw_type; npc_cn20k_read_mcam_entry() local [all...] |
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_npc_fs.c | 1673 u16 *mcam_idx, u8 *kw_type, in rvu_npc_alloc_entry_for_flow_install() 1686 *kw_type = -1; in rvu_npc_alloc_entry_for_flow_install() 1691 *kw_type = -1; in rvu_npc_alloc_entry_for_flow_install() 1705 *kw_type = NPC_MCAM_KEY_X2; in rvu_npc_alloc_entry_for_flow_install() 1708 if (rsp.kw_type == NPC_MCAM_KEY_X2) { in rvu_npc_alloc_entry_for_flow_install() 1714 *kw_type = NPC_MCAM_KEY_X4; in rvu_npc_alloc_entry_for_flow_install() 1723 entry_req.kw_type = *kw_type; in rvu_npc_alloc_entry_for_flow_install() 1748 u8 kw_type; in rvu_mbox_handler_npc_install_flow() 1761 &kw_type, in rvu_mbox_handler_npc_install_flow() 1674 rvu_npc_alloc_entry_for_flow_install(struct rvu * rvu,struct npc_install_flow_req * fl_req,u16 * mcam_idx,u8 * kw_type,bool * allocated) rvu_npc_alloc_entry_for_flow_install() argument 1749 u8 kw_type; rvu_mbox_handler_npc_install_flow() local [all...] |
| H A D | mbox.h | 1575 u8 kw_type; /* entry key type, valid for cn20k */ member 1902 u8 kw_type; member 1930 u8 kw_type; member
|
| H A D | rvu_npc.c | 3135 if (req->kw_type != NPC_MCAM_KEY_X2 && req->kw_type != NPC_MCAM_KEY_X4) in npc_mcam_alloc_entries() 3149 if (req->kw_type == NPC_MCAM_KEY_X2) in npc_mcam_alloc_entries() 3155 ret = npc_cn20k_ref_idx_alloc(rvu, pcifunc, req->kw_type, in npc_mcam_alloc_entries()
|