Home
last modified time | relevance | path

Searched refs:kpu (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc.c1635 rvu->kpu.mcam_kex_prfl.mkex = mcam_kex; in npc_load_mkex_profile()
1646 rvu->kpu.mcam_kex_prfl.mkex->name); in npc_load_mkex_profile()
1648 npc_program_mkex_profile(rvu, blkaddr, rvu->kpu.mcam_kex_prfl.mkex); in npc_load_mkex_profile()
1655 int kpu, int entry, bool pkind) in npc_config_kpuaction() argument
1670 reg = NPC_AF_KPUX_ENTRYX_ACTION1(kpu, entry); in npc_config_kpuaction()
1690 reg = NPC_AF_KPUX_ENTRYX_ACTION0(kpu, entry); in npc_config_kpuaction()
1697 int kpu, int entry) in npc_config_kpucam() argument
1700 struct npc_kpu_profile_adapter *profile = &rvu->kpu; in npc_config_kpucam()
1725 NPC_AF_KPUX_ENTRYX_CAMX(kpu, entry, 0), *(u64 *)&cam0); in npc_config_kpucam()
1727 NPC_AF_KPUX_ENTRYX_CAMX(kpu, entry, 1), *(u64 *)&cam1); in npc_config_kpucam()
[all …]
H A Drvu.h558 struct npc_kpu_profile *kpu; /* array[kpus] */ member
644 struct npc_kpu_profile_adapter kpu; member
H A Drvu_npc_fs.c580 struct npc_mcam_kex_hash *mkex_hash = rvu->kpu.mkex_hash; in npc_scan_ldata()
H A Drvu_nix.c5031 ltdefs = rvu->kpu.lt_def; in rvu_nix_block_init()
5733 memcpy(ltdefs, rvu->kpu.lt_def, sizeof(struct npc_lt_def_cfg)); in nix_config_rx_pkt_policer_precolor()
/linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/
H A Dnpc.c563 if (!rvu->kpu.custom) in npc_enable_kpm_entry()
622 profile1 = &rvu->kpu.kpu[idx]; in npc_program_kpm_profile()
625 profile2 = &rvu->kpu.kpu[idx + KPU_OFFSET]; in npc_program_kpm_profile()
673 num_pkinds = rvu->kpu.pkinds; in npc_cn20k_parser_profile_init()
795 rvu->kpu.mcam_kex_prfl.mkex_extr = mcam_kex_extr; in npc_cn20k_load_mkex_profile()
803 rvu->kpu.mcam_kex_prfl.mkex_extr = npc_mkex_extr_default_get(); in npc_cn20k_load_mkex_profile()
807 rvu->kpu.mcam_kex_prfl.mkex_extr->name); in npc_cn20k_load_mkex_profile()
810 rvu->kpu.mcam_kex_prfl.mkex_extr); in npc_cn20k_load_mkex_profile()
1632 action = pfl->kpu[i].action; in npc_cn20k_update_action_entries_n_flags()
1633 entries = pfl->kpu[i].action_entries; in npc_cn20k_update_action_entries_n_flags()
[all …]