Searched refs:cred_vl (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/drivers/infiniband/hw/qib/ |
D | qib_iba7322.c | 2318 int i, numvls, totcred, cred_vl, vl0extra; in set_vls() local 2332 cred_vl = (2 * 288 + RCV_BUF_UNITSZ - 1) / RCV_BUF_UNITSZ; in set_vls() 2333 totcred -= cred_vl; in set_vls() 2334 qib_write_kreg_port(ppd, krp_rxcreditvl15, (u64) cred_vl); in set_vls() 2335 cred_vl = totcred / numvls; in set_vls() 2336 vl0extra = totcred - cred_vl * numvls; in set_vls() 2337 qib_write_kreg_port(ppd, krp_rxcreditvl0, cred_vl + vl0extra); in set_vls() 2339 qib_write_kreg_port(ppd, krp_rxcreditvl0 + i, cred_vl); in set_vls()
|