Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dmad.c3825 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()
[all …]