Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dmad.h282 __be16 ccti_limit; /* max CCTI for cc table */ member
287 u16 ccti_limit; /* max CCTI for cc table */ member
295 u16 ccti_limit; /* max CCTI for cc table */ member
H A Dinit.c488 u16 cce, ccti_limit, max_ccti = 0; in set_link_ipg() local
515 ccti_limit = cc_state->cct.ccti_limit; in set_link_ipg()
516 if (max_ccti > ccti_limit) in set_link_ipg()
517 max_ccti = ccti_limit; in set_link_ipg()
H A Dmad.c3760 new_cc_state->cct.ccti_limit = ppd->total_cct_entry - 1; in apply_cc_state()
3762 new_cc_state->cct.ccti_limit = 0; in apply_cc_state()
3920 cc_table_attr->ccti_limit = cpu_to_be16(cc_state->cct.ccti_limit); in __subn_get_opa_cc_table()
3949 u16 ccti_limit; in __subn_set_opa_cc_table() local
3961 (be16_to_cpu(p->ccti_limit)) % IB_CCT_ENTRIES + 1; in __subn_set_opa_cc_table()
3964 ccti_limit = be16_to_cpu(p->ccti_limit); in __subn_set_opa_cc_table()
3965 if (ccti_limit + 1 > eentry) { in __subn_set_opa_cc_table()
3975 ppd->total_cct_entry = ccti_limit + 1; in __subn_set_opa_cc_table()
H A Drc.c2704 u16 ccti, ccti_incr, ccti_timer, ccti_limit; in process_becn() local
2722 ccti_limit = cc_state->cct.ccti_limit; in process_becn()
2731 if (cca_timer->ccti < ccti_limit) { in process_becn()
2732 if (cca_timer->ccti + ccti_incr <= ccti_limit) in process_becn()
2735 cca_timer->ccti = ccti_limit; in process_becn()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_mad.h270 __be16 ccti_limit; /* max CCTI for cc table */ member
275 u16 ccti_limit; /* max CCTI for cc table */ member
H A Dqib_mad.c2190 p->ccti_limit = cpu_to_be16(cct_entry); in cc_get_congestion_control_table()
2254 if (be16_to_cpu(p->ccti_limit) < IB_CCT_ENTRIES) in cc_set_congestion_control_table()
2257 cct_entry = (be16_to_cpu(p->ccti_limit))%IB_CCT_ENTRIES; in cc_set_congestion_control_table()
2265 ppd->ccti_limit = be16_to_cpu(p->ccti_limit); in cc_set_congestion_control_table()
H A Dqib.h672 u16 ccti_limit; member