/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/ehca/ |
H A D | ehca_av.c | 118 av->av.grh.word_0 = EHCA_BMASK_SET(GRH_IPVERSION_MASK, 6); 119 av->av.grh.word_0 |= EHCA_BMASK_SET(GRH_TCLASS_MASK, 120 ah_attr->grh.traffic_class); 121 av->av.grh.word_0 |= EHCA_BMASK_SET(GRH_FLOWLABEL_MASK, 122 ah_attr->grh.flow_label); 123 av->av.grh.word_0 |= EHCA_BMASK_SET(GRH_HOPLIMIT_MASK, 124 ah_attr->grh.hop_limit); 125 av->av.grh.word_0 |= EHCA_BMASK_SET(GRH_NEXTHEADER_MASK, 0x1B); 126 /* set sgid in grh.word_1 */ 144 ah_attr->grh [all...] |
H A D | ehca_qp.c | 1516 mqpcb->source_gid_idx = attr->ah_attr.grh.sgid_index; 1522 attr->ah_attr.grh.dgid.raw[cnt]; 1525 mqpcb->flow_label = attr->ah_attr.grh.flow_label; 1527 mqpcb->hop_limit = attr->ah_attr.grh.hop_limit; 1529 mqpcb->traffic_class = attr->ah_attr.grh.traffic_class; 1632 attr->alt_ah_attr.grh.dgid.raw[cnt]; 1634 attr->alt_ah_attr.grh.sgid_index; 1635 mqpcb->flow_label_al = attr->alt_ah_attr.grh.flow_label; 1636 mqpcb->hop_limit_al = attr->alt_ah_attr.grh.hop_limit; 1638 attr->alt_ah_attr.grh [all...] |
H A D | ehca_qes.h | 90 } grh; member in union:ehca_ud_av::__anon11583
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/mlx4/ |
H A D | ah.c | 60 ah->av.gid_index = ah_attr->grh.sgid_index; 61 ah->av.hop_limit = ah_attr->grh.hop_limit; 63 cpu_to_be32((ah_attr->grh.traffic_class << 20) | 64 ah_attr->grh.flow_label); 65 memcpy(ah->av.dgid, ah_attr->grh.dgid.raw, 16); 86 ah_attr->grh.traffic_class = 88 ah_attr->grh.flow_label = 90 ah_attr->grh.hop_limit = ah->av.hop_limit; 91 ah_attr->grh.sgid_index = ah->av.gid_index; 92 memcpy(ah_attr->grh [all...] |
H A D | qp.c | 867 if (ah->grh.sgid_index >= dev->dev->caps.gid_table_len[port]) { 869 ah->grh.sgid_index, dev->dev->caps.gid_table_len[port] - 1); 874 path->mgid_index = ah->grh.sgid_index; 875 path->hop_limit = ah->grh.hop_limit; 877 cpu_to_be32((ah->grh.traffic_class << 20) | 878 (ah->grh.flow_label)); 879 memcpy(path->rgid, ah->grh.dgid.raw, 16); 1241 sqp->ud_header.grh.traffic_class = 1243 sqp->ud_header.grh.flow_label = 1245 sqp->ud_header.grh [all...] |
H A D | mad.c | 88 u8 grh[40]; member in struct:__anon11606 102 memcpy(ext_info->grh, in_grh, 40);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/core/ |
H A D | ud_header.c | 84 { STRUCT_FIELD(grh, ip_version), 88 { STRUCT_FIELD(grh, traffic_class), 92 { STRUCT_FIELD(grh, flow_label), 96 { STRUCT_FIELD(grh, payload_length), 100 { STRUCT_FIELD(grh, next_header), 104 { STRUCT_FIELD(grh, hop_limit), 108 { STRUCT_FIELD(grh, source_gid), 112 { STRUCT_FIELD(grh, destination_gid), 188 * lrh.packet_length, grh.ip_version, grh [all...] |
H A D | agent.h | 47 extern void 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 | agent.c | 81 void agent_send_response(struct ib_mad *mad, struct ib_grh *grh, argument 102 ah = ib_create_ah_from_wc(agent->qp->pd, wc, grh, port_num);
|
H A D | uverbs_cmd.c | 1243 memcpy(resp.dest.dgid, attr->ah_attr.grh.dgid.raw, 16); 1244 resp.dest.flow_label = attr->ah_attr.grh.flow_label; 1245 resp.dest.sgid_index = attr->ah_attr.grh.sgid_index; 1246 resp.dest.hop_limit = attr->ah_attr.grh.hop_limit; 1247 resp.dest.traffic_class = attr->ah_attr.grh.traffic_class; 1255 memcpy(resp.alt_dest.dgid, attr->alt_ah_attr.grh.dgid.raw, 16); 1256 resp.alt_dest.flow_label = attr->alt_ah_attr.grh.flow_label; 1257 resp.alt_dest.sgid_index = attr->alt_ah_attr.grh.sgid_index; 1258 resp.alt_dest.hop_limit = attr->alt_ah_attr.grh.hop_limit; 1259 resp.alt_dest.traffic_class = attr->alt_ah_attr.grh [all...] |
H A D | verbs.c | 144 struct ib_grh *grh, struct ib_ah_attr *ah_attr) 158 ah_attr->grh.dgid = grh->sgid; 160 ret = ib_find_cached_gid(device, &grh->dgid, &port_num, 165 ah_attr->grh.sgid_index = (u8) gid_index; 166 flow_class = be32_to_cpu(grh->version_tclass_flow); 167 ah_attr->grh.flow_label = flow_class & 0xFFFFF; 168 ah_attr->grh.hop_limit = 0xFF; 169 ah_attr->grh.traffic_class = (flow_class >> 20) & 0xFF; 176 struct ib_grh *grh, u 143 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 175 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 | user_mad.c | 235 mad_recv_wc->wc, mad_recv_wc->recv_buf.grh, 238 packet->mad.hdr.gid_index = ah_attr.grh.sgid_index; 239 packet->mad.hdr.hop_limit = ah_attr.grh.hop_limit; 240 packet->mad.hdr.traffic_class = ah_attr.grh.traffic_class; 241 memcpy(packet->mad.hdr.gid, &ah_attr.grh.dgid, 16); 242 packet->mad.hdr.flow_label = cpu_to_be32(ah_attr.grh.flow_label); 489 memcpy(ah_attr.grh.dgid.raw, packet->mad.hdr.gid, 16); 490 ah_attr.grh.sgid_index = packet->mad.hdr.gid_index; 491 ah_attr.grh.flow_label = be32_to_cpu(packet->mad.hdr.flow_label); 492 ah_attr.grh [all...] |
H A D | mad_priv.h | 81 struct ib_grh grh; member in struct:ib_mad_private
|
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, 1862 recv->header.recv_wc.recv_buf.grh = &recv->grh; 1911 response->header.recv_wc.recv_buf.grh = &response->grh; 1914 &response->grh, wc, 1930 wc, &recv->grh, [all...] |
H A D | multicast.c | 737 ah_attr->grh.dgid = rec->mgid; 739 ah_attr->grh.sgid_index = (u8) gid_index; 740 ah_attr->grh.flow_label = be32_to_cpu(rec->flow_label); 741 ah_attr->grh.hop_limit = rec->hop_limit; 742 ah_attr->grh.traffic_class = rec->traffic_class;
|
H A D | sa_query.c | 507 ah_attr->grh.dgid = rec->dgid; 514 ah_attr->grh.sgid_index = gid_index; 515 ah_attr->grh.flow_label = be32_to_cpu(rec->flow_label); 516 ah_attr->grh.hop_limit = rec->hop_limit; 517 ah_attr->grh.traffic_class = rec->traffic_class;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/mthca/ |
H A D | mthca_av.c | 210 ah_attr->grh.sgid_index; 211 av->hop_limit = ah_attr->grh.hop_limit; 213 cpu_to_be32((ah_attr->grh.traffic_class << 20) | 214 ah_attr->grh.flow_label); 215 memcpy(av->dgid, ah_attr->grh.dgid.raw, 16); 275 header->grh.traffic_class = 277 header->grh.flow_label = 279 header->grh.hop_limit = ah->av->hop_limit; 283 &header->grh.source_gid); 284 memcpy(header->grh [all...] |
H A D | mthca_qp.c | 415 ib_ah_attr->grh.sgid_index = path->mgid_index & (dev->limits.gid_table_len - 1); 416 ib_ah_attr->grh.hop_limit = path->hop_limit; 417 ib_ah_attr->grh.traffic_class = 419 ib_ah_attr->grh.flow_label = 421 memcpy(ib_ah_attr->grh.dgid.raw, 422 path->rgid, sizeof ib_ah_attr->grh.dgid.raw); 528 if (ah->grh.sgid_index >= dev->limits.gid_table_len) { 530 ah->grh.sgid_index, dev->limits.gid_table_len-1); 535 path->mgid_index = ah->grh.sgid_index; 536 path->hop_limit = ah->grh [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/qib/ |
H A D | qib_ruc.c | 277 guid = get_sguid(ibp, qp->alt_ah_attr.grh.sgid_index); 278 if (!gid_ok(&hdr->u.l.grh.dgid, ibp->gid_prefix, guid)) 280 if (!gid_ok(&hdr->u.l.grh.sgid, 281 qp->alt_ah_attr.grh.dgid.global.subnet_prefix, 282 qp->alt_ah_attr.grh.dgid.global.interface_id)) 307 qp->remote_ah_attr.grh.sgid_index); 308 if (!gid_ok(&hdr->u.l.grh.dgid, ibp->gid_prefix, guid)) 310 if (!gid_ok(&hdr->u.l.grh.sgid, 311 qp->remote_ah_attr.grh.dgid.global.subnet_prefix, 312 qp->remote_ah_attr.grh 652 qib_make_grh(struct qib_ibport *ibp, struct ib_grh *hdr, struct ib_global_route *grh, u32 hwords, u32 nwords) argument [all...] |
H A D | qib_ud.c | 160 qib_copy_sge(&qp->r_sge, &ah_attr->grh, 317 qp->s_hdrwords += qib_make_grh(ibp, &qp->s_hdr.u.l.grh, 318 &ah_attr->grh, 556 qib_copy_sge(&qp->r_sge, &hdr->u.l.grh,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/ipath/ |
H A D | ipath_ruc.c | 565 * @grh: the global route address to send to 572 struct ib_global_route *grh, u32 hwords, u32 nwords) 576 (grh->traffic_class << 20) | 577 grh->flow_label); 581 hdr->hop_limit = grh->hop_limit; 585 hdr->dgid = grh->dgid; 604 qp->s_hdrwords += ipath_make_grh(dev, &qp->s_hdr.u.l.grh, 605 &qp->remote_ah_attr.grh, 571 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_ud.c | 179 ipath_copy_sge(&rsge, &ah_attr->grh, sizeof(struct ib_grh)); 320 qp->s_hdrwords += ipath_make_grh(dev, &qp->s_hdr.u.l.grh, 321 &ah_attr->grh, 538 ipath_copy_sge(&qp->r_sge, &hdr->u.l.grh,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/rdma/ |
H A D | ib_mad.h | 381 * @grh: References a data buffer containing the global route header. 388 struct ib_grh *grh; member in struct:ib_mad_recv_buf
|
H A D | ib_pack.h | 216 struct ib_unpacked_grh grh; member in struct:ib_ud_header
|