Searched refs:bmap_entries (Results 1 – 5 of 5) sorted by relevance
488 if (is_npc_intf_rx(intf) && actindex < mcam->bmap_entries) in npc_config_mcam_entry()958 for (index = 0; index < mcam->bmap_entries; index++) { in npc_update_vf_flow_entry()1884 mcam->bmap_entries = mcam->total_entries - rsvd; in npc_mcam_rsrcs_init()1885 mcam->nixlf_offset = mcam->bmap_entries; in npc_mcam_rsrcs_init()1889 mcam->bmap = bitmap_zalloc(mcam->bmap_entries, GFP_KERNEL); in npc_mcam_rsrcs_init()1893 mcam->bmap_reverse = bitmap_zalloc(mcam->bmap_entries, GFP_KERNEL); in npc_mcam_rsrcs_init()1897 mcam->bmap_fcnt = mcam->bmap_entries; in npc_mcam_rsrcs_init()1900 mcam->entry2pfvf_map = kcalloc(mcam->bmap_entries, sizeof(u16), in npc_mcam_rsrcs_init()1910 mcam->lprio_count = mcam->bmap_entries / 8; in npc_mcam_rsrcs_init()1914 mcam->lprio_start = mcam->bmap_entries - mcam->lprio_count; in npc_mcam_rsrcs_init()[all …]
1308 percent = (mcam->hprio_count * 100) / mcam->bmap_entries; in rvu_af_dl_npc_mcam_high_zone_percent_get()1325 mcam->hprio_count = (mcam->bmap_entries * percent) / 100; in rvu_af_dl_npc_mcam_high_zone_percent_set()1327 mcam->lprio_count = (mcam->bmap_entries - mcam->hprio_count) / 2; in rvu_af_dl_npc_mcam_high_zone_percent_set()1328 mcam->lprio_start = mcam->bmap_entries - mcam->lprio_count; in rvu_af_dl_npc_mcam_high_zone_percent_set()1352 if (mcam->bmap_fcnt < mcam->bmap_entries) { in rvu_af_dl_npc_mcam_high_zone_percent_validate()1414 if (mcam->bmap_fcnt < mcam->bmap_entries) { in rvu_af_dl_nix_maxlf_validate()
1691 for (index = 0; index < mcam->bmap_entries; index++) { in npc_mcam_enable_flows()1710 for (index = 0; index < mcam->bmap_entries; index++) { in npc_mcam_disable_flows()
186 u16 bmap_entries; /* Number of unreserved MCAM entries */ member
3084 mcam->total_entries - mcam->bmap_entries); in rvu_dbg_npc_mcam_info_display()3094 if (mcam->bmap_entries == mcam->bmap_fcnt) { in rvu_dbg_npc_mcam_info_display()