/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 | verbs.c | 214 ret = rdma_addr_find_dmac_by_grh(&grh->dgid, &grh->sgid, 230 ah_attr->grh.dgid = grh->sgid; 232 ret = ib_find_cached_gid(device, &grh->dgid, &port_num, 879 if (rdma_link_local_addr((struct in6_addr *)qp_attr->ah_attr.grh.dgid.raw)) { 880 rdma_get_ll_mac((struct in6_addr *)qp_attr->ah_attr.grh.dgid.raw, qp_attr->ah_attr.dmac); 884 ret = rdma_addr_find_dmac_by_grh(&sgid, &qp_attr->ah_attr.grh.dgid,
|
H A D | addr.c | 460 int rdma_addr_find_dmac_by_grh(union ib_gid *sgid, union ib_gid *dgid, u8 *dmac, argument 479 ret = rdma_gid2ip(&dgid_addr._sockaddr, dgid);
|
H A D | cm.c | 177 union ib_gid dgid; member in struct:cm_av 661 union ib_gid *port_gid = &cm_id_priv->av.dgid; 674 cmp = memcmp(port_gid, &cur_cm_id_priv->av.dgid, 1046 req_msg->primary_remote_gid = pri_path->dgid; 1066 req_msg->alt_remote_gid = alt_path->dgid; 1240 primary_path->dgid = req_msg->primary_local_gid; 1261 alt_path->dgid = req_msg->alt_local_gid; 2594 lap_msg->alt_remote_gid = alternate_path->dgid; 2667 path->dgid = lap_msg->alt_local_gid; 3002 cm_id_priv->av.dgid [all...] |
H A D | uverbs_cmd.c | 1929 memcpy(resp.dest.dgid, attr->ah_attr.grh.dgid.raw, 16); 1941 memcpy(resp.alt_dest.dgid, attr->alt_ah_attr.grh.dgid.raw, 16); 2033 memcpy(attr->ah_attr.grh.dgid.raw, cmd.dest.dgid, 16); 2045 memcpy(attr->alt_ah_attr.grh.dgid.raw, cmd.alt_dest.dgid, 16); 2523 memcpy(attr.grh.dgid.raw, cmd.attr.grh.dgid, 1 [all...] |
H A D | sa_query.c | 134 { PATH_REC_FIELD(dgid), 547 ah_attr->grh.dgid = rec->dgid;
|
H A D | cma.c | 427 union ib_gid gid, sgid, *dgid; local 434 dgid = (union ib_gid *) &addr->sib_addr; 446 if (!memcmp(&gid, dgid, sizeof(gid))) { 454 dgid->global.subnet_prefix)) { 859 memcpy(&ib->sib_addr, &path->dgid, 16); 1219 rdma_addr_set_dgid(&rt->addr.dev_addr, &rt->path_rec[0].dgid); 1707 rdma_addr_get_dgid(dev_addr, &path_rec.dgid); 1925 &route->path_rec->dgid);
|
H A D | ucma.c | 637 (union ib_gid *) &resp->ib_route[0].dgid); 663 (union ib_gid *)&resp->ib_route[0].dgid); 687 rdma_addr_get_dgid(dev_addr, (union ib_gid *) &resp->ib_route[0].dgid);
|
H A D | user_mad.c | 247 memcpy(packet->mad.hdr.gid, &ah_attr.grh.dgid, 16); 494 memcpy(ah_attr.grh.dgid.raw, packet->mad.hdr.gid, 16);
|
/drivers/infiniband/hw/mlx4/ |
H A D | ah.c | 56 memcpy(ah->av.ib.dgid, ah_attr->grh.dgid.raw, 16); 80 memcpy(&in6, ah_attr->grh.dgid.raw, sizeof(in6)); 106 memcpy(ah->av.eth.dgid, ah_attr->grh.dgid.raw, 16); 167 memcpy(ah_attr->grh.dgid.raw, ah->av.ib.dgid, 16);
|
H A D | mad.c | 510 memcpy(&attr.grh.dgid.raw[0], &grh->dgid.raw[0], 16); 625 if (mlx4_get_slave_from_roce_gid(dev->dev, port, grh->dgid.raw, &slave)) { 658 slave = mlx4_ib_find_real_gid(ibdev, port, grh->dgid.global.interface_id); 738 be64_to_cpu(in_grh->dgid.global.subnet_prefix), 739 be64_to_cpu(in_grh->dgid.global.interface_id));
|
/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_ah.c | 74 memcpy(&grh.dgid[0], attr->grh.dgid.raw, sizeof(attr->grh.dgid.raw)); 124 status = rdma_addr_find_dmac_by_grh(&sgid, &attr->grh.dgid, 176 memcpy(&attr->grh.dgid.raw[0], &grh->dgid[0], sizeof(grh->dgid));
|
H A D | ocrdma.h | 481 memcpy(&in6, ah_attr->grh.dgid.raw, sizeof(in6));
|
H A D | ocrdma_sli.h | 1099 u8 dgid[16]; member in struct:ocrdma_qp_params 1769 u8 dgid[16]; member in struct:ocrdma_grh
|
/drivers/infiniband/hw/mlx5/ |
H A D | ah.c | 39 memcpy(ah->av.rgid, &ah_attr->grh.dgid, 16); 77 memcpy(&ah_attr->grh.dgid, ah->av.rgid, 16);
|
/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 | 1521 attr->ah_attr.grh.dgid.raw[cnt]; 1631 attr->alt_ah_attr.grh.dgid.raw[cnt]; 1996 qp_attr->ah_attr.grh.dgid.raw[cnt] = 2016 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);
|
/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)) 668 hdr->dgid = grh->dgid;
|
/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 266 ret = memcmp(gid, path->pathrec.dgid.raw, 292 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, 320 ipoib_del_neighs_by_gid(dev, path->pathrec.dgid.raw); 339 memset(iter->path.pathrec.dgid.raw, 0, 16); 363 if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw, 396 path->pathrec.dgid.raw); 449 be16_to_cpu(pathrec->dlid), pathrec->dgid.raw); 452 status, path->pathrec.dgid [all...] |
H A D | ipoib_ib.c | 234 union ib_gid *dgid; local 283 /* First byte of dgid signals multicast when 0xff */ 284 dgid = &((struct ib_grh *)skb->data)->dgid; 286 if (!(wc->wc_flags & IB_WC_GRH) || dgid->raw[0] != 0xff) 288 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);
|
/drivers/infiniband/hw/ipath/ |
H A D | ipath_ruc.c | 594 hdr->dgid = grh->dgid;
|
/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 2133 memcpy(target->path.dgid.raw, cpi->redirect_gid, 16); 2146 memcpy(target->path.dgid.raw, 2151 (unsigned long long) be64_to_cpu(target->path.dgid.global.subnet_prefix), 2152 (unsigned long long) be64_to_cpu(target->path.dgid.global.interface_id)); 2485 return sprintf(buf, "%pI6\n", target->path.dgid.raw); 2565 static DEVICE_ATTR(dgid, S_IRUGO, show_dgid, NULL); 2699 * id_ext=<SRP ID ext>,ioc_guid=<SRP IOC GUID>,dgid=<dest GID>, 2731 { SRP_OPT_DGID, "dgid=%s" }, 2751 char dgid[3]; local 2804 strlcpy(dgid, [all...] |