/drivers/infiniband/core/ |
D | uverbs_marshall.c | 39 memcpy(dst->grh.dgid, src->grh.dgid.raw, sizeof src->grh.dgid); in ib_copy_ah_attr_to_user() 97 memcpy(dst->dgid, src->dgid.raw, sizeof src->dgid); in ib_copy_path_rec_to_user() 123 memcpy(dst->dgid.raw, src->dgid, sizeof dst->dgid); in ib_copy_path_rec_from_user()
|
D | uverbs_cmd.c | 1838 memcpy(resp.dest.dgid, attr->ah_attr.grh.dgid.raw, 16); in ib_uverbs_query_qp() 1850 memcpy(resp.alt_dest.dgid, attr->alt_ah_attr.grh.dgid.raw, 16); in ib_uverbs_query_qp() 1942 memcpy(attr->ah_attr.grh.dgid.raw, cmd.dest.dgid, 16); in ib_uverbs_modify_qp() 1954 memcpy(attr->alt_ah_attr.grh.dgid.raw, cmd.alt_dest.dgid, 16); in ib_uverbs_modify_qp() 2421 memcpy(attr.grh.dgid.raw, cmd.attr.grh.dgid, 16); in ib_uverbs_create_ah()
|
D | cm.c | 176 union ib_gid dgid; member 658 union ib_gid *port_gid = &cm_id_priv->av.dgid; in cm_insert_remote_sidr() 671 cmp = memcmp(port_gid, &cur_cm_id_priv->av.dgid, in cm_insert_remote_sidr() 1043 req_msg->primary_remote_gid = pri_path->dgid; in cm_format_req() 1063 req_msg->alt_remote_gid = alt_path->dgid; in cm_format_req() 1237 primary_path->dgid = req_msg->primary_local_gid; in cm_format_paths_from_req() 1258 alt_path->dgid = req_msg->alt_local_gid; in cm_format_paths_from_req() 2588 lap_msg->alt_remote_gid = alternate_path->dgid; in cm_format_lap() 2661 path->dgid = lap_msg->alt_local_gid; in cm_format_path_from_lap() 2996 cm_id_priv->av.dgid.global.subnet_prefix = cpu_to_be64(wc->slid); in cm_sidr_req_handler() [all …]
|
D | sa_query.c | 134 { PATH_REC_FIELD(dgid), 547 ah_attr->grh.dgid = rec->dgid; in ib_init_ah_from_path()
|
D | ucma.c | 584 (union ib_gid *) &resp->ib_route[0].dgid); in ucma_copy_ib_route() 619 iboe_mac_vlan_to_ll((union ib_gid *) &resp->ib_route[0].dgid, in ucma_copy_iboe_route() 644 rdma_addr_get_dgid(dev_addr, (union ib_gid *) &resp->ib_route[0].dgid); in ucma_copy_iw_route()
|
D | verbs.c | 201 ah_attr->grh.dgid = grh->sgid; in ib_init_ah_from_wc() 203 ret = ib_find_cached_gid(device, &grh->dgid, &port_num, in ib_init_ah_from_wc()
|
D | user_mad.c | 241 memcpy(packet->mad.hdr.gid, &ah_attr.grh.dgid, 16); in recv_handler() 488 memcpy(ah_attr.grh.dgid.raw, packet->mad.hdr.gid, 16); in ib_umad_write()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 54 vlan_tag = rdma_get_vlan_id(&attr->grh.dgid); in set_av_attr() 67 status = ocrdma_resolve_dgid(dev, &attr->grh.dgid, ð.dmac[0]); in set_av_attr() 82 memcpy(&grh.dgid[0], attr->grh.dgid.raw, sizeof(attr->grh.dgid.raw)); in set_av_attr() 150 memcpy(&attr->grh.dgid.raw[0], &grh->dgid[0], sizeof(grh->dgid)); in ocrdma_query_ah()
|
D | ocrdma_hw.h | 91 int ocrdma_resolve_dgid(struct ocrdma_dev *, union ib_gid *dgid, u8 *mac_addr);
|
D | ocrdma_hw.c | 2119 int ocrdma_resolve_dgid(struct ocrdma_dev *dev, union ib_gid *dgid, in ocrdma_resolve_dgid() argument 2124 memcpy(&in6, dgid, sizeof in6); in ocrdma_resolve_dgid() 2153 memcpy(&cmd->params.dgid[0], &ah_attr->grh.dgid.raw[0], in ocrdma_set_av_params() 2154 sizeof(cmd->params.dgid)); in ocrdma_set_av_params() 2159 ocrdma_resolve_dgid(qp->dev, &ah_attr->grh.dgid, &mac_addr[0]); in ocrdma_set_av_params() 2163 ocrdma_cpu_to_le32(&cmd->params.dgid[0], sizeof(cmd->params.dgid)); in ocrdma_set_av_params()
|
D | ocrdma_sli.h | 990 u8 dgid[16]; member 1662 u8 dgid[16]; member
|
/drivers/infiniband/hw/mlx4/ |
D | ah.c | 49 memcpy(&in6, ah_attr->grh.dgid.raw, sizeof in6); in mlx4_ib_resolve_grh() 75 memcpy(ah->av.ib.dgid, ah_attr->grh.dgid.raw, 16); in create_ib_ah() 128 memcpy(ah->av.eth.dgid, ah_attr->grh.dgid.raw, 16); in create_iboe_ah() 189 memcpy(ah_attr->grh.dgid.raw, ah->av.ib.dgid, 16); in mlx4_ib_query_ah()
|
D | mad.c | 597 slave = mlx4_ib_find_real_gid(ibdev, port, grh->dgid.global.interface_id); in mlx4_ib_demux_mad() 662 be64_to_cpu(in_grh->dgid.global.subnet_prefix), in ib_process_mad() 663 be64_to_cpu(in_grh->dgid.global.interface_id)); in ib_process_mad()
|
D | qp.c | 1181 memcpy(path->rgid, ah->grh.dgid.raw, 16); in mlx4_set_path() 1821 ah->av.ib.dgid, 16); in build_mlx_header() 2669 memcpy(ib_ah_attr->grh.dgid.raw, in to_ib_ah_attr() 2670 path->rgid, sizeof ib_ah_attr->grh.dgid.raw); in to_ib_ah_attr()
|
/drivers/infiniband/hw/ehca/ |
D | ehca_av.c | 157 memcpy(&av->av.grh.word_3, &ah_attr->grh.dgid, in ehca_create_ah() 158 sizeof(ah_attr->grh.dgid)); in ehca_create_ah() 223 memcpy(&new_ehca_av.grh.word_3, &ah_attr->grh.dgid, in ehca_modify_ah() 224 sizeof(ah_attr->grh.dgid)); in ehca_modify_ah() 236 memcpy(&ah_attr->grh.dgid, &av->av.grh.word_3, in ehca_query_ah() 237 sizeof(ah_attr->grh.dgid)); in ehca_query_ah()
|
D | ehca_sqp.c | 192 memcpy(poi->redirect_gid, in_grh->dgid.raw, in ehca_process_perf()
|
D | ehca_qp.c | 1521 attr->ah_attr.grh.dgid.raw[cnt]; in internal_modify_qp() 1631 attr->alt_ah_attr.grh.dgid.raw[cnt]; in internal_modify_qp() 1996 qp_attr->ah_attr.grh.dgid.raw[cnt] = in ehca_query_qp() 2016 qp_attr->alt_ah_attr.grh.dgid.raw[cnt] = in ehca_query_qp()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_av.c | 66 __be32 dgid[4]; member 215 memcpy(av->dgid, ah_attr->grh.dgid.raw, 16); in mthca_create_ah() 218 av->dgid[3] = cpu_to_be32(2); in mthca_create_ah() 286 ah->av->dgid, 16); in mthca_read_ah() 318 memcpy(attr->grh.dgid.raw, ah->av->dgid, 16); in mthca_ah_query()
|
D | mthca_qp.c | 419 memcpy(ib_ah_attr->grh.dgid.raw, in to_ib_ah_attr() 420 path->rgid, sizeof ib_ah_attr->grh.dgid.raw); in to_ib_ah_attr() 536 memcpy(path->rgid, ah->grh.dgid.raw, 16); in mthca_path_set()
|
/drivers/infiniband/hw/qib/ |
D | qib_ruc.c | 281 if (!gid_ok(&hdr->u.l.grh.dgid, ibp->gid_prefix, guid)) in qib_ruc_check_hdr() 284 qp->alt_ah_attr.grh.dgid.global.subnet_prefix, in qib_ruc_check_hdr() 285 qp->alt_ah_attr.grh.dgid.global.interface_id)) in qib_ruc_check_hdr() 313 if (!gid_ok(&hdr->u.l.grh.dgid, ibp->gid_prefix, guid)) in qib_ruc_check_hdr() 316 qp->remote_ah_attr.grh.dgid.global.subnet_prefix, in qib_ruc_check_hdr() 317 qp->remote_ah_attr.grh.dgid.global.interface_id)) in qib_ruc_check_hdr() 668 hdr->dgid = grh->dgid; in qib_make_grh()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_main.c | 264 ret = memcmp(gid, path->pathrec.dgid.raw, in __path_find() 290 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, in __path_add() 318 ipoib_del_neighs_by_gid(dev, path->pathrec.dgid.raw); in path_free() 337 memset(iter->path.pathrec.dgid.raw, 0, 16); in ipoib_path_iter_init() 361 if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw, in ipoib_path_iter_next() 394 path->pathrec.dgid.raw); in ipoib_mark_paths_invalid() 447 be16_to_cpu(pathrec->dlid), pathrec->dgid.raw); in path_rec_completion() 450 status, path->pathrec.dgid.raw); in path_rec_completion() 514 ipoib_del_neighs_by_gid(dev, path->pathrec.dgid.raw); in path_rec_completion() 545 memcpy(path->pathrec.dgid.raw, gid, sizeof (union ib_gid)); in path_rec_create() [all …]
|
D | ipoib_ib.c | 234 union ib_gid *dgid; in ipoib_ib_handle_rx_wc() local 284 dgid = &((struct ib_grh *)skb->data)->dgid; in ipoib_ib_handle_rx_wc() 286 if (!(wc->wc_flags & IB_WC_GRH) || dgid->raw[0] != 0xff) in ipoib_ib_handle_rx_wc() 288 else if (memcmp(dgid, dev->broadcast + 4, sizeof(union ib_gid)) == 0) in ipoib_ib_handle_rx_wc()
|
D | ipoib_fs.c | 208 format_gid(&path.pathrec.dgid, gid_buf); in ipoib_path_seq_show()
|
/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 1575 memcpy(target->path.dgid.raw, cpi->redirect_gid, 16); in srp_cm_rej_handler() 1588 memcpy(target->path.dgid.raw, in srp_cm_rej_handler() 1593 (unsigned long long) be64_to_cpu(target->path.dgid.global.subnet_prefix), in srp_cm_rej_handler() 1594 (unsigned long long) be64_to_cpu(target->path.dgid.global.interface_id)); in srp_cm_rej_handler() 1851 return sprintf(buf, "%pI6\n", target->path.dgid.raw); in show_dgid() 1914 static DEVICE_ATTR(dgid, S_IRUGO, show_dgid, NULL); 2053 char dgid[3]; in srp_parse_options() local 2106 strlcpy(dgid, p + i * 2, 3); in srp_parse_options() 2107 target->path.dgid.raw[i] = simple_strtoul(dgid, NULL, 16); in srp_parse_options() 2110 memcpy(target->orig_dgid, target->path.dgid.raw, 16); in srp_parse_options() [all …]
|
/drivers/infiniband/hw/ipath/ |
D | ipath_ruc.c | 594 hdr->dgid = grh->dgid; in ipath_make_grh()
|