Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dpio.c595 u32 release_credits; in sc_mtu_to_threshold() local
600 release_credits = DIV_ROUND_UP(mtu, PIO_BLOCK_SIZE); in sc_mtu_to_threshold()
603 if (sc->credits <= release_credits) in sc_mtu_to_threshold()
606 threshold = sc->credits - release_credits; in sc_mtu_to_threshold()