Home
last modified time | relevance | path

Searched refs:tot_ids (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_hash.c489 idx = find_first_zero_bit(table->id_bmap, table->tot_ids); in rvu_npc_exact_alloc_id()
490 if (idx == table->tot_ids) { in rvu_npc_exact_alloc_id()
493 __func__, bitmap_weight(table->id_bmap, table->tot_ids)); in rvu_npc_exact_alloc_id()
688 return table->tot_ids; in rvu_npc_exact_get_max_entries()
1917 table->tot_ids = (table->mem_table.depth * table->mem_table.ways) + table->cam_table.depth; in rvu_npc_exact_init()
1918 table->id_bmap = devm_kcalloc(rvu->dev, BITS_TO_LONGS(table->tot_ids), in rvu_npc_exact_init()
1919 table->tot_ids, GFP_KERNEL); in rvu_npc_exact_init()
1925 __func__, table->tot_ids); in rvu_npc_exact_init()
Drvu_npc_hash.h167 u32 tot_ids; member