Lines Matching refs:ah_attr
682 struct ib_ah_attr *ah_attr)
692 memset(ah_attr, 0, sizeof *ah_attr);
693 ah_attr->dlid = be16_to_cpu(rec->mlid);
694 ah_attr->sl = rec->sl;
695 ah_attr->port_num = port_num;
696 ah_attr->static_rate = rec->rate;
698 ah_attr->ah_flags = IB_AH_GRH;
699 ah_attr->grh.dgid = rec->mgid;
701 ah_attr->grh.sgid_index = (u8) gid_index;
702 ah_attr->grh.flow_label = be32_to_cpu(rec->flow_label);
703 ah_attr->grh.hop_limit = rec->hop_limit;
704 ah_attr->grh.traffic_class = rec->traffic_class;