/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ehca/ |
H A D | ehca_av.c | 85 av->av.grh.word_0 = EHCA_BMASK_SET(GRH_IPVERSION_MASK, 6); 86 av->av.grh.word_0 |= EHCA_BMASK_SET(GRH_TCLASS_MASK, 87 ah_attr->grh.traffic_class); 88 av->av.grh.word_0 |= EHCA_BMASK_SET(GRH_FLOWLABEL_MASK, 89 ah_attr->grh.flow_label); 90 av->av.grh.word_0 |= EHCA_BMASK_SET(GRH_HOPLIMIT_MASK, 91 ah_attr->grh.hop_limit); 92 av->av.grh.word_0 |= EHCA_BMASK_SET(GRH_NEXTHEADER_MASK, 0x1B); 93 /* set sgid in grh.word_1 */ 111 ah_attr->grh [all...] |
H A D | ehca_qp.c | 987 mqpcb->source_gid_idx = attr->ah_attr.grh.sgid_index; 993 attr->ah_attr.grh.dgid.raw[cnt]; 996 mqpcb->flow_label = attr->ah_attr.grh.flow_label; 998 mqpcb->hop_limit = attr->ah_attr.grh.hop_limit; 1000 mqpcb->traffic_class = attr->ah_attr.grh.traffic_class; 1069 attr->alt_ah_attr.grh.sgid_index; 1075 attr->alt_ah_attr.grh.dgid.raw[cnt]; 1079 mqpcb->flow_label_al = attr->alt_ah_attr.grh.flow_label; 1082 mqpcb->hop_limit_al = attr->alt_ah_attr.grh.hop_limit; 1086 attr->alt_ah_attr.grh [all...] |
H A D | ehca_qes.h | 90 } grh; member in union:ehca_ud_av::__anon4518
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mlx4/ |
H A D | ah.c | 58 ah->av.gid_index = ah_attr->grh.sgid_index; 59 ah->av.hop_limit = ah_attr->grh.hop_limit; 61 cpu_to_be32((ah_attr->grh.traffic_class << 20) | 62 ah_attr->grh.flow_label); 63 memcpy(ah->av.dgid, ah_attr->grh.dgid.raw, 16); 84 ah_attr->grh.traffic_class = 86 ah_attr->grh.flow_label = 88 ah_attr->grh.hop_limit = ah->av.hop_limit; 89 ah_attr->grh.sgid_index = ah->av.gid_index; 90 memcpy(ah_attr->grh [all...] |
H A D | qp.c | 681 if (ah->grh.sgid_index >= dev->dev->caps.gid_table_len[port]) { 683 ah->grh.sgid_index, dev->dev->caps.gid_table_len[port] - 1); 688 path->mgid_index = ah->grh.sgid_index; 689 path->hop_limit = ah->grh.hop_limit; 691 cpu_to_be32((ah->grh.traffic_class << 20) | 692 (ah->grh.flow_label)); 693 memcpy(path->rgid, ah->grh.dgid.raw, 16); 1068 sqp->ud_header.grh.traffic_class = 1070 sqp->ud_header.grh.flow_label = 1072 sqp->ud_header.grh [all...] |
H A D | mad.c | 87 u8 grh[40]; member in struct:__anon4537 101 memcpy(ext_info->grh, in_grh, 40);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/core/ |
H A D | ud_header.c | 86 { STRUCT_FIELD(grh, ip_version), 90 { STRUCT_FIELD(grh, traffic_class), 94 { STRUCT_FIELD(grh, flow_label), 98 { STRUCT_FIELD(grh, payload_length), 102 { STRUCT_FIELD(grh, next_header), 106 { STRUCT_FIELD(grh, hop_limit), 110 { STRUCT_FIELD(grh, source_gid), 114 { STRUCT_FIELD(grh, destination_gid), 189 * lrh.packet_length, grh.ip_version, grh [all...] |
H A D | agent.h | 49 extern int agent_send_response(struct ib_mad *mad, struct ib_grh *grh,
|
H A D | uverbs_marshall.c | 38 memcpy(dst->grh.dgid, src->grh.dgid.raw, sizeof src->grh.dgid); 39 dst->grh.flow_label = src->grh.flow_label; 40 dst->grh.sgid_index = src->grh.sgid_index; 41 dst->grh.hop_limit = src->grh.hop_limit; 42 dst->grh [all...] |
H A D | verbs.c | 146 struct ib_grh *grh, struct ib_ah_attr *ah_attr) 160 ah_attr->grh.dgid = grh->sgid; 162 ret = ib_find_cached_gid(device, &grh->dgid, &port_num, 167 ah_attr->grh.sgid_index = (u8) gid_index; 168 flow_class = be32_to_cpu(grh->version_tclass_flow); 169 ah_attr->grh.flow_label = flow_class & 0xFFFFF; 170 ah_attr->grh.hop_limit = 0xFF; 171 ah_attr->grh.traffic_class = (flow_class >> 20) & 0xFF; 178 struct ib_grh *grh, u 145 ib_init_ah_from_wc(struct ib_device *device, u8 port_num, struct ib_wc *wc, struct ib_grh *grh, struct ib_ah_attr *ah_attr) argument 177 ib_create_ah_from_wc(struct ib_pd *pd, struct ib_wc *wc, struct ib_grh *grh, u8 port_num) argument [all...] |
H A D | agent.c | 81 int agent_send_response(struct ib_mad *mad, struct ib_grh *grh, argument 98 ah = ib_create_ah_from_wc(agent->qp->pd, wc, grh, port_num);
|
H A D | uverbs_cmd.c | 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; 1223 memcpy(resp.alt_dest.dgid, attr->alt_ah_attr.grh.dgid.raw, 16); 1224 resp.alt_dest.flow_label = attr->alt_ah_attr.grh.flow_label; 1225 resp.alt_dest.sgid_index = attr->alt_ah_attr.grh.sgid_index; 1226 resp.alt_dest.hop_limit = attr->alt_ah_attr.grh.hop_limit; 1227 resp.alt_dest.traffic_class = attr->alt_ah_attr.grh [all...] |
H A D | user_mad.c | 236 mad_recv_wc->wc, mad_recv_wc->recv_buf.grh, 239 packet->mad.hdr.gid_index = ah_attr.grh.sgid_index; 240 packet->mad.hdr.hop_limit = ah_attr.grh.hop_limit; 241 packet->mad.hdr.traffic_class = ah_attr.grh.traffic_class; 242 memcpy(packet->mad.hdr.gid, &ah_attr.grh.dgid, 16); 243 packet->mad.hdr.flow_label = cpu_to_be32(ah_attr.grh.flow_label); 479 memcpy(ah_attr.grh.dgid.raw, packet->mad.hdr.gid, 16); 480 ah_attr.grh.sgid_index = packet->mad.hdr.gid_index; 481 ah_attr.grh.flow_label = be32_to_cpu(packet->mad.hdr.flow_label); 482 ah_attr.grh [all...] |
H A D | mad_priv.h | 80 struct ib_grh grh; member in struct:ib_mad_private
|
H A D | multicast.c | 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;
|
H A D | sa_query.c | 499 ah_attr->grh.dgid = rec->dgid; 506 ah_attr->grh.sgid_index = gid_index; 507 ah_attr->grh.flow_label = be32_to_cpu(rec->flow_label); 508 ah_attr->grh.hop_limit = rec->hop_limit; 509 ah_attr->grh.traffic_class = rec->traffic_class;
|
H A D | mad.c | 1717 attr.grh.sgid_index, &sgid)) 1719 return !memcmp(sgid.raw, rwc->recv_buf.grh->dgid.raw, 1727 return !memcmp(attr.grh.dgid.raw, rwc->recv_buf.grh->sgid.raw, 1866 recv->header.recv_wc.recv_buf.grh = &recv->grh; 1912 wc, &recv->grh, 1920 &recv->grh, wc, 2375 local->mad_priv->header.recv_wc.recv_buf.grh = NULL; 2539 &mad_priv->grh, [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mthca/ |
H A D | mthca_av.c | 212 ah_attr->grh.sgid_index; 213 av->hop_limit = ah_attr->grh.hop_limit; 215 cpu_to_be32((ah_attr->grh.traffic_class << 20) | 216 ah_attr->grh.flow_label); 217 memcpy(av->dgid, ah_attr->grh.dgid.raw, 16); 277 header->grh.traffic_class = 279 header->grh.flow_label = 281 header->grh.hop_limit = ah->av->hop_limit; 285 &header->grh.source_gid); 286 memcpy(header->grh [all...] |
H A D | mthca_qp.c | 417 ib_ah_attr->grh.sgid_index = path->mgid_index & (dev->limits.gid_table_len - 1); 418 ib_ah_attr->grh.hop_limit = path->hop_limit; 419 ib_ah_attr->grh.traffic_class = 421 ib_ah_attr->grh.flow_label = 423 memcpy(ib_ah_attr->grh.dgid.raw, 424 path->rgid, sizeof ib_ah_attr->grh.dgid.raw); 522 if (ah->grh.sgid_index >= dev->limits.gid_table_len) { 524 ah->grh.sgid_index, dev->limits.gid_table_len-1); 529 path->mgid_index = ah->grh.sgid_index; 530 path->hop_limit = ah->grh [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/ |
H A D | ipath_ud.c | 223 ipath_copy_sge(&rsge, &ah_attr->grh, sizeof(struct ib_grh)); 393 qp->s_hdr.u.l.grh.version_tclass_flow = 395 (ah_attr->grh.traffic_class << 20) | 396 ah_attr->grh.flow_label); 397 qp->s_hdr.u.l.grh.paylen = 402 qp->s_hdr.u.l.grh.next_hdr = 0x1B; 403 qp->s_hdr.u.l.grh.hop_limit = ah_attr->grh.hop_limit; 405 qp->s_hdr.u.l.grh.sgid.global.subnet_prefix = 407 qp->s_hdr.u.l.grh [all...] |
H A D | ipath_ruc.c | 600 * @grh: the global route address to send to 607 struct ib_global_route *grh, u32 hwords, u32 nwords) 611 (grh->traffic_class << 20) | 612 grh->flow_label); 616 hdr->hop_limit = grh->hop_limit; 620 hdr->dgid = grh->dgid; 704 qp->s_hdrwords += ipath_make_grh(dev, &qp->s_hdr.u.l.grh, 705 &qp->remote_ah_attr.grh, 606 ipath_make_grh(struct ipath_ibdev *dev, struct ib_grh *hdr, struct ib_global_route *grh, u32 hwords, u32 nwords) argument
|
H A D | ipath_verbs.h | 132 struct ib_grh grh; member in struct:ipath_ib_header::__anon4533::__anon4534 786 struct ib_global_route *grh, u32 hwords, u32 nwords);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/rdma/ |
H A D | ib_mad.h | 377 * @grh: References a data buffer containing the global route header. 384 struct ib_grh *grh; member in struct:ib_mad_recv_buf
|
H A D | ib_pack.h | 218 struct ib_unpacked_grh grh; member in struct:ib_ud_header
|
H A D | ib_verbs.h | 363 struct ib_global_route grh; member in struct:ib_ah_attr 1160 * @grh: References the received global route header. This parameter is 1166 struct ib_grh *grh, struct ib_ah_attr *ah_attr); 1173 * @grh: References the received global route header. This parameter is 1181 struct ib_grh *grh, u8 port_num);
|