Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/rdma/hfi1/
Dmad.c3382 struct cc_state *old_cc_state, *new_cc_state; in __subn_set_opa_cc_table() local
3402 new_cc_state = kzalloc(sizeof(*new_cc_state), GFP_KERNEL); in __subn_set_opa_cc_table()
3403 if (new_cc_state == NULL) in __subn_set_opa_cc_table()
3412 kfree(new_cc_state); in __subn_set_opa_cc_table()
3416 *new_cc_state = *old_cc_state; in __subn_set_opa_cc_table()
3418 new_cc_state->cct.ccti_limit = ccti_limit; in __subn_set_opa_cc_table()
3426 memcpy(new_cc_state->cct.entries, entries, in __subn_set_opa_cc_table()
3429 new_cc_state->cong_setting.port_control = IB_CC_CCS_PC_SL_BASED; in __subn_set_opa_cc_table()
3430 new_cc_state->cong_setting.control_map = ppd->cc_sl_control_map; in __subn_set_opa_cc_table()
3431 memcpy(new_cc_state->cong_setting.entries, ppd->congestion_entries, in __subn_set_opa_cc_table()
[all …]