Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dmad.c3829 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()
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()
[all …]