Home
last modified time | relevance | path

Searched refs:congestion_entries_shadow (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_sysfs.c269 if (!qib_cc_table_size || !ppd->congestion_entries_shadow) in read_cc_setting_bin()
283 memcpy(buf, ppd->congestion_entries_shadow, count); in read_cc_setting_bin()
724 if (!qib_cc_table_size || !ppd->congestion_entries_shadow) in qib_create_port_files()
808 ppd->congestion_entries_shadow) { in qib_verbs_unregister_sysfs()
Dqib_init.c286 ppd->congestion_entries_shadow = kzalloc(size, GFP_KERNEL); in qib_init_pportdata()
287 if (!ppd->congestion_entries_shadow) { in qib_init_pportdata()
1365 kfree(dd->pport[pidx].congestion_entries_shadow); in cleanup_device_data()
1366 dd->pport[pidx].congestion_entries_shadow = NULL; in cleanup_device_data()
Dqib_mad.c2142 entries = ppd->congestion_entries_shadow->entries; in cc_get_congestion_setting()
2144 ppd->congestion_entries_shadow->port_control); in cc_get_congestion_setting()
2146 ppd->congestion_entries_shadow->control_map); in cc_get_congestion_setting()
2283 ppd->congestion_entries_shadow->port_control = IB_CC_CCS_PC_SL_BASED; in cc_set_congestion_control_table()
2284 ppd->congestion_entries_shadow->control_map = ppd->cc_sl_control_map; in cc_set_congestion_control_table()
2285 memcpy(ppd->congestion_entries_shadow->entries, ppd->congestion_entries, in cc_set_congestion_control_table()
2430 if (!ppd->congestion_entries_shadow || in qib_process_mad()
Dqib.h673 struct ib_cc_congestion_setting_attr_shadow *congestion_entries_shadow; member