Lines Matching refs:cong_log
3825 struct opa_hfi1_cong_log *cong_log = (struct opa_hfi1_cong_log *)data; in __subn_get_opa_hfi1_cong_log() local
3829 if (am || smp_length_check(sizeof(*cong_log), max_len)) { in __subn_get_opa_hfi1_cong_log()
3836 cong_log->log_type = OPA_CC_LOG_TYPE_HFI; in __subn_get_opa_hfi1_cong_log()
3837 cong_log->congestion_flags = 0; in __subn_get_opa_hfi1_cong_log()
3838 cong_log->threshold_event_counter = in __subn_get_opa_hfi1_cong_log()
3840 memcpy(cong_log->threshold_cong_event_map, in __subn_get_opa_hfi1_cong_log()
3842 sizeof(cong_log->threshold_cong_event_map)); in __subn_get_opa_hfi1_cong_log()
3845 cong_log->current_time_stamp = cpu_to_be32(ts); in __subn_get_opa_hfi1_cong_log()
3858 memcpy(cong_log->events[i].local_qp_cn_entry, &cce->lqpn, 3); in __subn_get_opa_hfi1_cong_log()
3859 memcpy(cong_log->events[i].remote_qp_number_cn_entry, in __subn_get_opa_hfi1_cong_log()
3861 cong_log->events[i].sl_svc_type_cn_entry = in __subn_get_opa_hfi1_cong_log()
3863 cong_log->events[i].remote_lid_cn_entry = in __subn_get_opa_hfi1_cong_log()
3865 cong_log->events[i].timestamp_cn_entry = in __subn_get_opa_hfi1_cong_log()