Searched refs:congestion_entries_shadow (Results 1 – 4 of 4) sorted by relevance
258 if (!qib_cc_table_size || !ppd->congestion_entries_shadow) in cc_setting_bin_read()272 memcpy(buf, ppd->congestion_entries_shadow, count); in cc_setting_bin_read()290 if (!qib_cc_table_size || !ppd->congestion_entries_shadow) in qib_ccmgta_is_bin_visible()
275 ppd->congestion_entries_shadow = kzalloc(size, GFP_KERNEL); in qib_init_pportdata()276 if (!ppd->congestion_entries_shadow) in qib_init_pportdata()1310 kfree(dd->pport[pidx].congestion_entries_shadow); in cleanup_device_data()1311 dd->pport[pidx].congestion_entries_shadow = NULL; in cleanup_device_data()
2139 entries = ppd->congestion_entries_shadow->entries; in cc_get_congestion_setting()2141 ppd->congestion_entries_shadow->port_control); in cc_get_congestion_setting()2143 ppd->congestion_entries_shadow->control_map); in cc_get_congestion_setting()2278 ppd->congestion_entries_shadow->port_control = IB_CC_CCS_PC_SL_BASED; in cc_set_congestion_control_table()2279 ppd->congestion_entries_shadow->control_map = ppd->cc_sl_control_map; in cc_set_congestion_control_table()2280 memcpy(ppd->congestion_entries_shadow->entries, ppd->congestion_entries, in cc_set_congestion_control_table()2383 if (!ppd->congestion_entries_shadow || in qib_process_mad()
652 struct ib_cc_congestion_setting_attr_shadow *congestion_entries_shadow; member