Searched refs:IB_CCT_ENTRIES (Results 1 – 5 of 5) sorted by relevance
197 #define IB_CCT_ENTRIES 64 macro198 #define IB_CCT_MIN_ENTRIES (IB_CCT_ENTRIES * 2)210 struct ib_cc_table_entry ccti_entries[IB_CCT_ENTRIES];215 struct ib_cc_table_entry_shadow ccti_entries[IB_CCT_ENTRIES];219 (IB_CC_TABLE_CAP_DEFAULT * IB_CCT_ENTRIES)
3342 sentry = start_block * IB_CCT_ENTRIES; in __subn_get_opa_cc_table()3343 eentry = sentry + (IB_CCT_ENTRIES * n_blocks); in __subn_get_opa_cc_table()3357 *resp_len += sizeof(u16)*(IB_CCT_ENTRIES * n_blocks + 1); in __subn_get_opa_cc_table()3391 sentry = start_block * IB_CCT_ENTRIES; in __subn_set_opa_cc_table()3392 eentry = sentry + ((n_blocks - 1) * IB_CCT_ENTRIES) + in __subn_set_opa_cc_table()3393 (be16_to_cpu(p->ccti_limit)) % IB_CCT_ENTRIES + 1; in __subn_set_opa_cc_table()
258 #define IB_CCT_ENTRIES 64 macro259 #define IB_CCT_MIN_ENTRIES (IB_CCT_ENTRIES * 2)271 struct ib_cc_table_entry ccti_entries[IB_CCT_ENTRIES];276 struct ib_cc_table_entry_shadow ccti_entries[IB_CCT_ENTRIES];280 (IB_CC_TABLE_CAP_DEFAULT * IB_CCT_ENTRIES)
2181 (ppd->ccti_entries_shadow->ccti_last_entry + 1)/IB_CCT_ENTRIES; in cc_get_congestion_control_table()2191 cct_entry = IB_CCT_ENTRIES * (cct_block_index + 1); in cc_get_congestion_control_table()2198 entries[IB_CCT_ENTRIES * cct_block_index]; in cc_get_congestion_control_table()2199 cct_entry %= IB_CCT_ENTRIES; in cc_get_congestion_control_table()2259 if (be16_to_cpu(p->ccti_limit) < IB_CCT_ENTRIES) in cc_set_congestion_control_table()2262 cct_entry = (be16_to_cpu(p->ccti_limit))%IB_CCT_ENTRIES; in cc_set_congestion_control_table()2272 entries = ppd->ccti_entries + (IB_CCT_ENTRIES * cct_block_index); in cc_set_congestion_control_table()
252 IB_CCT_MIN_ENTRIES), IB_CCT_ENTRIES*IB_CC_TABLE_CAP_DEFAULT); in qib_init_pportdata()255 ppd->cc_supported_table_entries/IB_CCT_ENTRIES; in qib_init_pportdata()258 * IB_CCT_ENTRIES; in qib_init_pportdata()