Lines Matching refs:sa_path
684 struct ibv_sa_path_rec *sa_path) in ucma_convert_path() argument
688 sa_path->dgid = path_data->path.dgid; in ucma_convert_path()
689 sa_path->sgid = path_data->path.sgid; in ucma_convert_path()
690 sa_path->dlid = path_data->path.dlid; in ucma_convert_path()
691 sa_path->slid = path_data->path.slid; in ucma_convert_path()
692 sa_path->raw_traffic = 0; in ucma_convert_path()
695 sa_path->flow_label = htobe32(fl_hop >> 8); in ucma_convert_path()
696 sa_path->hop_limit = (uint8_t) fl_hop; in ucma_convert_path()
698 sa_path->traffic_class = path_data->path.tclass; in ucma_convert_path()
699 sa_path->reversible = path_data->path.reversible_numpath >> 7; in ucma_convert_path()
700 sa_path->numb_path = 1; in ucma_convert_path()
701 sa_path->pkey = path_data->path.pkey; in ucma_convert_path()
702 sa_path->sl = be16toh(path_data->path.qosclass_sl) & 0xF; in ucma_convert_path()
703 sa_path->mtu_selector = 2; /* exactly */ in ucma_convert_path()
704 sa_path->mtu = path_data->path.mtu & 0x1F; in ucma_convert_path()
705 sa_path->rate_selector = 2; in ucma_convert_path()
706 sa_path->rate = path_data->path.rate & 0x1F; in ucma_convert_path()
707 sa_path->packet_life_time_selector = 2; in ucma_convert_path()
708 sa_path->packet_life_time = path_data->path.packetlifetime & 0x1F; in ucma_convert_path()
710 sa_path->preference = (uint8_t) path_data->flags; in ucma_convert_path()