Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_ppm.c133 i = ppm_find_unused_entries(pool->bmap, ppm->pool_index_max, in ppm_get_cpu_entries()
142 if (pool->next >= ppm->pool_index_max) in ppm_get_cpu_entries()
148 __func__, cpu, i, count, i + cpu * ppm->pool_index_max, in ppm_get_cpu_entries()
151 i += cpu * ppm->pool_index_max; in ppm_get_cpu_entries()
199 cpu = i / ppm->pool_index_max; in ppm_unmark_entries()
200 i %= ppm->pool_index_max; in ppm_unmark_entries()
396 unsigned int pool_index_max = 0; in cxgbi_ppm_init() local
429 pool = ppm_alloc_cpu_pool(&ppmax_pool, &pool_index_max); in cxgbi_ppm_init()
436 ndev->name, ppmax, ppmax_pool, pool_index_max); in cxgbi_ppm_init()
486 ppm->pool_index_max = pool_index_max; in cxgbi_ppm_init()
[all …]
H A Dlibcxgb_ppm.h140 unsigned int pool_index_max; member