Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_mad.c2165 u32 cct_entry; in cc_get_congestion_control_table() local
2186 cct_entry = IB_CCT_ENTRIES * (cct_block_index + 1); in cc_get_congestion_control_table()
2188 cct_entry--; in cc_get_congestion_control_table()
2190 p->ccti_limit = cpu_to_be16(cct_entry); in cc_get_congestion_control_table()
2194 cct_entry %= IB_CCT_ENTRIES; in cc_get_congestion_control_table()
2196 for (i = 0; i <= cct_entry; i++) in cc_get_congestion_control_table()
2243 u32 cct_entry; in cc_set_congestion_control_table() local
2257 cct_entry = (be16_to_cpu(p->ccti_limit))%IB_CCT_ENTRIES; in cc_set_congestion_control_table()
2260 ppd->total_cct_entry += (cct_entry + 1); in cc_set_congestion_control_table()
2269 for (i = 0; i <= cct_entry; i++) in cc_set_congestion_control_table()