Searched refs:num_cam_entries (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_npc.c | 1798 int num_cam_entries, num_action_entries; in npc_program_kpu_profile() local 1802 num_cam_entries = npc_get_num_kpu_cam_entries(rvu, profile); in npc_program_kpu_profile() 1805 if (num_cam_entries != num_action_entries) { in npc_program_kpu_profile() 1808 kpu, num_cam_entries, num_action_entries); in npc_program_kpu_profile() 1813 WARN(num_cam_entries > max_entries, in npc_program_kpu_profile() 1815 kpu, rvu->hw->npc_kpu_entries, num_cam_entries); in npc_program_kpu_profile() 1818 num_entries = min_t(int, num_cam_entries, max_entries); in npc_program_kpu_profile() 1832 num_entries = min_t(int, num_action_entries, num_cam_entries); in npc_program_kpu_profile()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/ |
| H A D | npc.c | 522 int num_cam_entries, num_action_entries; in npc_program_single_kpm_profile() local 526 num_cam_entries = npc_get_num_kpu_cam_entries(rvu, profile); in npc_program_single_kpm_profile() 529 if (num_cam_entries != num_action_entries) { in npc_program_single_kpm_profile() 532 kpm, num_cam_entries, num_action_entries); in npc_program_single_kpm_profile() 541 num_entries = min_t(int, num_cam_entries, max_entries); in npc_program_single_kpm_profile()
|