/drivers/infiniband/core/ |
H A D | uverbs_marshall.c | 39 memcpy(dst->grh.dgid, src->grh.dgid.raw, sizeof src->grh.dgid); 97 memcpy(dst->dgid, src->dgid.raw, sizeof src->dgid); 123 memcpy(dst->dgid.raw, src->dgid, sizeof dst->dgid);
|
H A D | sa_query.c | 128 { PATH_REC_FIELD(dgid), 513 ah_attr->grh.dgid = rec->dgid;
|
H A D | cm.c | 176 union ib_gid dgid; member in struct:cm_av 657 union ib_gid *port_gid = &cm_id_priv->av.dgid; 670 cmp = memcmp(port_gid, &cur_cm_id_priv->av.dgid, 1042 req_msg->primary_remote_gid = pri_path->dgid; 1062 req_msg->alt_remote_gid = alt_path->dgid; 1236 primary_path->dgid = req_msg->primary_local_gid; 1257 alt_path->dgid = req_msg->alt_local_gid; 2587 lap_msg->alt_remote_gid = alternate_path->dgid; 2660 path->dgid = lap_msg->alt_local_gid; 2995 cm_id_priv->av.dgid [all...] |
H A D | uverbs_cmd.c | 1711 memcpy(resp.dest.dgid, attr->ah_attr.grh.dgid.raw, 16); 1723 memcpy(resp.alt_dest.dgid, attr->alt_ah_attr.grh.dgid.raw, 16); 1815 memcpy(attr->ah_attr.grh.dgid.raw, cmd.dest.dgid, 16); 1827 memcpy(attr->alt_ah_attr.grh.dgid.raw, cmd.alt_dest.dgid, 16); 2294 memcpy(attr.grh.dgid.raw, cmd.attr.grh.dgid, 1 [all...] |
H A D | ucma.c | 607 (union ib_gid *) &resp->ib_route[0].dgid); 642 iboe_mac_vlan_to_ll((union ib_gid *) &resp->ib_route[0].dgid, 667 rdma_addr_get_dgid(dev_addr, (union ib_gid *) &resp->ib_route[0].dgid);
|
H A D | verbs.c | 201 ah_attr->grh.dgid = grh->sgid; 203 ret = ib_find_cached_gid(device, &grh->dgid, &port_num,
|
H A D | user_mad.c | 241 memcpy(packet->mad.hdr.gid, &ah_attr.grh.dgid, 16); 488 memcpy(ah_attr.grh.dgid.raw, packet->mad.hdr.gid, 16);
|
H A D | multicast.c | 738 ah_attr->grh.dgid = rec->mgid;
|
H A D | cma.c | 1120 rdma_addr_set_dgid(&rt->addr.dev_addr, &rt->path_rec[0].dgid); 1631 rdma_addr_get_dgid(&addr->dev_addr, &path_rec.dgid); 1823 iboe_mac_vlan_to_ll(&route->path_rec->dgid, addr->dev_addr.dst_dev_addr, vid);
|
/drivers/infiniband/hw/mlx4/ |
H A D | ah.c | 49 memcpy(&in6, ah_attr->grh.dgid.raw, sizeof in6); 75 memcpy(ah->av.ib.dgid, ah_attr->grh.dgid.raw, 16); 128 memcpy(ah->av.eth.dgid, ah_attr->grh.dgid.raw, 16); 189 memcpy(ah_attr->grh.dgid.raw, ah->av.ib.dgid, 16);
|
H A D | qp.c | 960 memcpy(path->rgid, ah->grh.dgid.raw, 16); 1398 ah->av.ib.dgid, 16); 2075 memcpy(ib_ah_attr->grh.dgid.raw, 2076 path->rgid, sizeof ib_ah_attr->grh.dgid.raw);
|
/drivers/infiniband/hw/ehca/ |
H A D | ehca_av.c | 156 /* dgid comes in grh.word_3 */ 157 memcpy(&av->av.grh.word_3, &ah_attr->grh.dgid, 158 sizeof(ah_attr->grh.dgid)); 223 memcpy(&new_ehca_av.grh.word_3, &ah_attr->grh.dgid, 224 sizeof(ah_attr->grh.dgid)); 236 memcpy(&ah_attr->grh.dgid, &av->av.grh.word_3, 237 sizeof(ah_attr->grh.dgid));
|
H A D | ehca_sqp.c | 192 memcpy(poi->redirect_gid, in_grh->dgid.raw,
|
H A D | ehca_qp.c | 1525 attr->ah_attr.grh.dgid.raw[cnt]; 1635 attr->alt_ah_attr.grh.dgid.raw[cnt]; 2000 qp_attr->ah_attr.grh.dgid.raw[cnt] = 2020 qp_attr->alt_ah_attr.grh.dgid.raw[cnt] =
|
/drivers/infiniband/hw/mthca/ |
H A D | mthca_av.c | 66 __be32 dgid[4]; member in struct:mthca_av 215 memcpy(av->dgid, ah_attr->grh.dgid.raw, 16); 218 av->dgid[3] = cpu_to_be32(2); 286 ah->av->dgid, 16); 318 memcpy(attr->grh.dgid.raw, ah->av->dgid, 16);
|
H A D | mthca_qp.c | 418 memcpy(ib_ah_attr->grh.dgid.raw, 419 path->rgid, sizeof ib_ah_attr->grh.dgid.raw); 534 memcpy(path->rgid, ah->grh.dgid.raw, 16);
|
/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 221 ret = memcmp(gid, path->pathrec.dgid.raw, 247 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, 309 memset(iter->path.pathrec.dgid.raw, 0, 16); 333 if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw, 366 path->pathrec.dgid.raw); 419 be16_to_cpu(pathrec->dlid), pathrec->dgid.raw); 422 status, path->pathrec.dgid.raw); 461 memcpy(&neigh->dgid [all...] |
H A D | ipoib_ib.c | 230 union ib_gid *dgid; local 279 /* First byte of dgid signals multicast when 0xff */ 280 dgid = &((struct ib_grh *)skb->data)->dgid; 282 if (!(wc->wc_flags & IB_WC_GRH) || dgid->raw[0] != 0xff) 284 else if (memcmp(dgid, dev->broadcast + 4, sizeof(union ib_gid)) == 0)
|
H A D | ipoib_fs.c | 208 format_gid(&path.pathrec.dgid, gid_buf);
|
H A D | ipoib.h | 380 union ib_gid dgid; member in struct:ipoib_neigh
|
H A D | ipoib_cm.c | 1134 p->qp->qp_num, pathrec->dgid.raw, qpn); 1282 tx->neigh->dgid.raw);
|
H A D | ipoib_multicast.c | 240 av.grh.dgid = mcast->mcmember.mgid;
|
/drivers/infiniband/hw/qib/ |
H A D | qib_ruc.c | 281 if (!gid_ok(&hdr->u.l.grh.dgid, ibp->gid_prefix, guid)) 284 qp->alt_ah_attr.grh.dgid.global.subnet_prefix, 285 qp->alt_ah_attr.grh.dgid.global.interface_id)) 313 if (!gid_ok(&hdr->u.l.grh.dgid, ibp->gid_prefix, guid)) 316 qp->remote_ah_attr.grh.dgid.global.subnet_prefix, 317 qp->remote_ah_attr.grh.dgid.global.interface_id)) 672 hdr->dgid = grh->dgid;
|
/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 1461 memcpy(target->path.dgid.raw, cpi->redirect_gid, 16); 1474 memcpy(target->path.dgid.raw, 1479 (unsigned long long) be64_to_cpu(target->path.dgid.global.subnet_prefix), 1480 (unsigned long long) be64_to_cpu(target->path.dgid.global.interface_id)); 1732 return sprintf(buf, "%pI6\n", target->path.dgid.raw); 1795 static DEVICE_ATTR(dgid, S_IRUGO, show_dgid, NULL); 1885 * id_ext=<SRP ID ext>,ioc_guid=<SRP IOC GUID>,dgid=<dest GID>, 1914 { SRP_OPT_DGID, "dgid=%s" }, 1931 char dgid[3]; local 1984 strlcpy(dgid, [all...] |
/drivers/infiniband/hw/ipath/ |
H A D | ipath_ruc.c | 594 hdr->dgid = grh->dgid;
|