Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c591 int ltb_size; /* size of one ltb */ in alloc_ltb_set() local
600 ltb_size = rounddown(IBMVNIC_ONE_LTB_SIZE, buff_size); in alloc_ltb_set()
603 if (ltb_size > tot_size) in alloc_ltb_set()
604 ltb_size = tot_size; in alloc_ltb_set()
606 nltbs = tot_size / ltb_size; in alloc_ltb_set()
607 if (tot_size % ltb_size) in alloc_ltb_set()
657 if (ltb_size > rem_size) in alloc_ltb_set()
658 ltb_size = rem_size; in alloc_ltb_set()
660 rem_size -= ltb_size; in alloc_ltb_set()
662 rc = alloc_long_term_buff(adapter, &new_set.ltbs[i], ltb_size); in alloc_ltb_set()