Lines Matching refs:cong_log
3867 struct opa_hfi1_cong_log *cong_log = (struct opa_hfi1_cong_log *)data; in __subn_get_opa_hfi1_cong_log() local
3871 if (am || smp_length_check(sizeof(*cong_log), max_len)) { in __subn_get_opa_hfi1_cong_log()
3878 cong_log->log_type = OPA_CC_LOG_TYPE_HFI; in __subn_get_opa_hfi1_cong_log()
3879 cong_log->congestion_flags = 0; in __subn_get_opa_hfi1_cong_log()
3880 cong_log->threshold_event_counter = in __subn_get_opa_hfi1_cong_log()
3882 memcpy(cong_log->threshold_cong_event_map, in __subn_get_opa_hfi1_cong_log()
3884 sizeof(cong_log->threshold_cong_event_map)); in __subn_get_opa_hfi1_cong_log()
3887 cong_log->current_time_stamp = cpu_to_be32(ts); in __subn_get_opa_hfi1_cong_log()
3900 memcpy(cong_log->events[i].local_qp_cn_entry, &cce->lqpn, 3); in __subn_get_opa_hfi1_cong_log()
3901 memcpy(cong_log->events[i].remote_qp_number_cn_entry, in __subn_get_opa_hfi1_cong_log()
3903 cong_log->events[i].sl_svc_type_cn_entry = in __subn_get_opa_hfi1_cong_log()
3905 cong_log->events[i].remote_lid_cn_entry = in __subn_get_opa_hfi1_cong_log()
3907 cong_log->events[i].timestamp_cn_entry = in __subn_get_opa_hfi1_cong_log()