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)
2176 (ppd->ccti_entries_shadow->ccti_last_entry + 1)/IB_CCT_ENTRIES; in cc_get_congestion_control_table()2186 cct_entry = IB_CCT_ENTRIES * (cct_block_index + 1); in cc_get_congestion_control_table()2193 entries[IB_CCT_ENTRIES * cct_block_index]; in cc_get_congestion_control_table()2194 cct_entry %= IB_CCT_ENTRIES; 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()2267 entries = ppd->ccti_entries + (IB_CCT_ENTRIES * cct_block_index); in cc_set_congestion_control_table()
253 IB_CCT_MIN_ENTRIES), IB_CCT_ENTRIES*IB_CC_TABLE_CAP_DEFAULT); in qib_init_pportdata()256 ppd->cc_supported_table_entries/IB_CCT_ENTRIES; in qib_init_pportdata()259 * IB_CCT_ENTRIES; in qib_init_pportdata()
270 #define IB_CCT_ENTRIES 64 macro271 #define IB_CCT_MIN_ENTRIES (IB_CCT_ENTRIES * 2)283 struct ib_cc_table_entry ccti_entries[IB_CCT_ENTRIES];288 struct ib_cc_table_entry_shadow ccti_entries[IB_CCT_ENTRIES];292 (IB_CC_TABLE_CAP_DEFAULT * IB_CCT_ENTRIES)
3899 u32 size = sizeof(u16) * (IB_CCT_ENTRIES * n_blocks + 1); in __subn_get_opa_cc_table()3917 sentry = start_block * IB_CCT_ENTRIES; in __subn_get_opa_cc_table()3918 eentry = sentry + (IB_CCT_ENTRIES * n_blocks); in __subn_get_opa_cc_table()3950 u32 size = sizeof(u16) * (IB_CCT_ENTRIES * n_blocks + 1); in __subn_set_opa_cc_table()3959 sentry = start_block * IB_CCT_ENTRIES; in __subn_set_opa_cc_table()3960 eentry = sentry + ((n_blocks - 1) * IB_CCT_ENTRIES) + in __subn_set_opa_cc_table()3961 (be16_to_cpu(p->ccti_limit)) % IB_CCT_ENTRIES + 1; in __subn_set_opa_cc_table()