Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_iba7322.c2296 int i, numvls, totcred, cred_vl, vl0extra; in set_vls() local
2310 cred_vl = (2 * 288 + RCV_BUF_UNITSZ - 1) / RCV_BUF_UNITSZ; in set_vls()
2311 totcred -= cred_vl; in set_vls()
2312 qib_write_kreg_port(ppd, krp_rxcreditvl15, (u64) cred_vl); in set_vls()
2313 cred_vl = totcred / numvls; in set_vls()
2314 vl0extra = totcred - cred_vl * numvls; in set_vls()
2315 qib_write_kreg_port(ppd, krp_rxcreditvl0, cred_vl + vl0extra); in set_vls()
2317 qib_write_kreg_port(ppd, krp_rxcreditvl0 + i, cred_vl); in set_vls()