Searched refs:IB_CCT_ENTRIES (Results 1 – 5 of 5) sorted by relevance
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)
2184 (ppd->ccti_entries_shadow->ccti_last_entry + 1)/IB_CCT_ENTRIES; in cc_get_congestion_control_table()2194 cct_entry = IB_CCT_ENTRIES * (cct_block_index + 1); in cc_get_congestion_control_table()2201 entries[IB_CCT_ENTRIES * cct_block_index]; in cc_get_congestion_control_table()2202 cct_entry %= IB_CCT_ENTRIES; in cc_get_congestion_control_table()2262 if (be16_to_cpu(p->ccti_limit) < IB_CCT_ENTRIES) in cc_set_congestion_control_table()2265 cct_entry = (be16_to_cpu(p->ccti_limit))%IB_CCT_ENTRIES; in cc_set_congestion_control_table()2275 entries = ppd->ccti_entries + (IB_CCT_ENTRIES * cct_block_index); in cc_set_congestion_control_table()
255 IB_CCT_MIN_ENTRIES), IB_CCT_ENTRIES*IB_CC_TABLE_CAP_DEFAULT); in qib_init_pportdata()258 ppd->cc_supported_table_entries/IB_CCT_ENTRIES; in qib_init_pportdata()261 * IB_CCT_ENTRIES; in qib_init_pportdata()
311 #define IB_CCT_ENTRIES 64 macro312 #define IB_CCT_MIN_ENTRIES (IB_CCT_ENTRIES * 2)324 struct ib_cc_table_entry ccti_entries[IB_CCT_ENTRIES];329 struct ib_cc_table_entry_shadow ccti_entries[IB_CCT_ENTRIES];333 (IB_CC_TABLE_CAP_DEFAULT * IB_CCT_ENTRIES)
3952 u32 size = sizeof(u16) * (IB_CCT_ENTRIES * n_blocks + 1); in __subn_get_opa_cc_table()3970 sentry = start_block * IB_CCT_ENTRIES; in __subn_get_opa_cc_table()3971 eentry = sentry + (IB_CCT_ENTRIES * n_blocks); in __subn_get_opa_cc_table()4003 u32 size = sizeof(u16) * (IB_CCT_ENTRIES * n_blocks + 1); in __subn_set_opa_cc_table()4012 sentry = start_block * IB_CCT_ENTRIES; in __subn_set_opa_cc_table()4013 eentry = sentry + ((n_blocks - 1) * IB_CCT_ENTRIES) + in __subn_set_opa_cc_table()4014 (be16_to_cpu(p->ccti_limit)) % IB_CCT_ENTRIES + 1; in __subn_set_opa_cc_table()