Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.c398 unsigned int ppmax_pool = 0; in cxgbi_ppm_init() local
429 ppmax_pool = ppmax / reserve_factor; in cxgbi_ppm_init()
430 pool = ppm_alloc_cpu_pool(&ppmax_pool, &pool_index_max); in cxgbi_ppm_init()
432 ppmax_pool = 0; in cxgbi_ppm_init()
437 ndev->name, ppmax, ppmax_pool, pool_index_max); in cxgbi_ppm_init()
440 ppod_bmap_size = BITS_TO_LONGS(ppmax - ppmax_pool); in cxgbi_ppm_init()
451 if ((ppod_bmap_size >> 3) > (ppmax - ppmax_pool)) { in cxgbi_ppm_init()
452 unsigned int start = ppmax - ppmax_pool; in cxgbi_ppm_init()
457 __func__, ppmax, ppmax_pool, ppod_bmap_size, start, in cxgbi_ppm_init()
483 ppm->bmap_index_max = ppmax - ppmax_pool; in cxgbi_ppm_init()
[all …]