Lines Matching refs:ah_attr
1211 memcpy(resp.dest.dgid, attr->ah_attr.grh.dgid.raw, 16);
1212 resp.dest.flow_label = attr->ah_attr.grh.flow_label;
1213 resp.dest.sgid_index = attr->ah_attr.grh.sgid_index;
1214 resp.dest.hop_limit = attr->ah_attr.grh.hop_limit;
1215 resp.dest.traffic_class = attr->ah_attr.grh.traffic_class;
1216 resp.dest.dlid = attr->ah_attr.dlid;
1217 resp.dest.sl = attr->ah_attr.sl;
1218 resp.dest.src_path_bits = attr->ah_attr.src_path_bits;
1219 resp.dest.static_rate = attr->ah_attr.static_rate;
1220 resp.dest.is_global = !!(attr->ah_attr.ah_flags & IB_AH_GRH);
1221 resp.dest.port_num = attr->ah_attr.port_num;
1301 memcpy(attr->ah_attr.grh.dgid.raw, cmd.dest.dgid, 16);
1302 attr->ah_attr.grh.flow_label = cmd.dest.flow_label;
1303 attr->ah_attr.grh.sgid_index = cmd.dest.sgid_index;
1304 attr->ah_attr.grh.hop_limit = cmd.dest.hop_limit;
1305 attr->ah_attr.grh.traffic_class = cmd.dest.traffic_class;
1306 attr->ah_attr.dlid = cmd.dest.dlid;
1307 attr->ah_attr.sl = cmd.dest.sl;
1308 attr->ah_attr.src_path_bits = cmd.dest.src_path_bits;
1309 attr->ah_attr.static_rate = cmd.dest.static_rate;
1310 attr->ah_attr.ah_flags = cmd.dest.is_global ? IB_AH_GRH : 0;
1311 attr->ah_attr.port_num = cmd.dest.port_num;