Lines Matching refs:ah_attr
728 struct ib_ah_attr *ah_attr)
748 memset(ah_attr, 0, sizeof *ah_attr);
749 ah_attr->dlid = be16_to_cpu(rec->mlid);
750 ah_attr->sl = rec->sl;
751 ah_attr->port_num = port_num;
752 ah_attr->static_rate = rec->rate;
754 ah_attr->ah_flags = IB_AH_GRH;
755 ah_attr->grh.dgid = rec->mgid;
757 ah_attr->grh.sgid_index = (u8) gid_index;
758 ah_attr->grh.flow_label = be32_to_cpu(rec->flow_label);
759 ah_attr->grh.hop_limit = rec->hop_limit;
760 ah_attr->grh.traffic_class = rec->traffic_class;