Searched refs:bmap_entries (Results 1 – 5 of 5) sorted by relevance
500 if (is_npc_intf_rx(intf) && actindex < mcam->bmap_entries) in npc_config_mcam_entry()955 for (index = 0; index < mcam->bmap_entries; index++) { in npc_update_vf_flow_entry()1839 mcam->bmap_entries = mcam->total_entries - rsvd; in npc_mcam_rsrcs_init()1840 mcam->nixlf_offset = mcam->bmap_entries; in npc_mcam_rsrcs_init()1844 mcam->bmap = devm_kcalloc(rvu->dev, BITS_TO_LONGS(mcam->bmap_entries), in npc_mcam_rsrcs_init()1850 BITS_TO_LONGS(mcam->bmap_entries), in npc_mcam_rsrcs_init()1855 mcam->bmap_fcnt = mcam->bmap_entries; in npc_mcam_rsrcs_init()1858 mcam->entry2pfvf_map = devm_kcalloc(rvu->dev, mcam->bmap_entries, in npc_mcam_rsrcs_init()1867 mcam->lprio_count = mcam->bmap_entries / 8; in npc_mcam_rsrcs_init()1871 mcam->lprio_start = mcam->bmap_entries - mcam->lprio_count; in npc_mcam_rsrcs_init()[all …]
1509 percent = (mcam->hprio_count * 100) / mcam->bmap_entries; in rvu_af_dl_npc_mcam_high_zone_percent_get()1525 mcam->hprio_count = (mcam->bmap_entries * percent) / 100; in rvu_af_dl_npc_mcam_high_zone_percent_set()1527 mcam->lprio_count = (mcam->bmap_entries - mcam->hprio_count) / 2; in rvu_af_dl_npc_mcam_high_zone_percent_set()1528 mcam->lprio_start = mcam->bmap_entries - mcam->lprio_count; in rvu_af_dl_npc_mcam_high_zone_percent_set()1552 if (mcam->bmap_fcnt < mcam->bmap_entries) { in rvu_af_dl_npc_mcam_high_zone_percent_validate()
1561 for (index = 0; index < mcam->bmap_entries; index++) { in npc_mcam_enable_flows()1580 for (index = 0; index < mcam->bmap_entries; index++) { in npc_mcam_disable_flows()
167 u16 bmap_entries; /* Number of unreserved MCAM entries */ member
2701 mcam->total_entries - mcam->bmap_entries); in rvu_dbg_npc_mcam_info_display()2711 if (mcam->bmap_entries == mcam->bmap_fcnt) { in rvu_dbg_npc_mcam_info_display()