Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_ppm.c397 unsigned int ppmax_pool = 0; in cxgbi_ppm_init() local
428 ppmax_pool = ppmax / reserve_factor; in cxgbi_ppm_init()
429 pool = ppm_alloc_cpu_pool(&ppmax_pool, &pool_index_max); in cxgbi_ppm_init()
431 ppmax_pool = 0; in cxgbi_ppm_init()
436 ndev->name, ppmax, ppmax_pool, pool_index_max); in cxgbi_ppm_init()
439 ppod_bmap_size = BITS_TO_LONGS(ppmax - ppmax_pool); in cxgbi_ppm_init()
450 if ((ppod_bmap_size >> 3) > (ppmax - ppmax_pool)) { in cxgbi_ppm_init()
451 unsigned int start = ppmax - ppmax_pool; in cxgbi_ppm_init()
456 __func__, ppmax, ppmax_pool, ppod_bmap_size, start, in cxgbi_ppm_init()
482 ppm->bmap_index_max = ppmax - ppmax_pool; in cxgbi_ppm_init()
[all …]