Searched refs:sgid (Results 1 - 25 of 61) sorted by path

123

/linux-master/drivers/infiniband/hw/qib/
H A Dqib_mad.h177 u8 sgid[16]; member in struct:ib_cc_trap_key_violation_attr
H A Dqib_ruc.c104 if (!gid_ok(&hdr->u.l.grh.sgid,
143 if (!gid_ok(&hdr->u.l.grh.sgid,
195 hdr->sgid.global.subnet_prefix = ibp->rvp.gid_prefix;
197 hdr->sgid.global.interface_id = ppd_from_ibp(ibp)->guid;
199 hdr->sgid.global.interface_id = ibp->guids[grh->sgid_index - 1];
/linux-master/include/uapi/rdma/
H A Dib_user_sa.h57 __u8 sgid[16]; member in struct:ib_user_path_rec
/linux-master/kernel/
H A Duid16.c81 SYSCALL_DEFINE3(setresgid16, old_gid_t, rgid, old_gid_t, egid, old_gid_t, sgid)
84 low2highgid(sgid));
91 old_gid_t rgid, egid, sgid; local
95 sgid = high2lowgid(from_kgid_munged(cred->user_ns, cred->sgid));
99 retval = put_user(sgid, sgidp);
H A Duid16.h10 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid);
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-sensor-groups.c183 u32 sgid, len, nr_attrs, chipid; local
207 if (of_property_read_u32(node, "sensor-group-id", &sgid)) {
218 if (add_attr_group(ops, len, &sgs[i], sgid)) {
/linux-master/drivers/infiniband/core/
H A Daddr.c728 } sgid, dgid; local
737 rdma_gid2ip((struct sockaddr *)&sgid, &rec->sgid);
740 if (sgid._sockaddr.sa_family != dgid._sockaddr.sa_family)
749 ret = addr_resolve((struct sockaddr *)&sgid, (struct sockaddr *)&dgid,
813 int rdma_addr_find_l2_eth_by_grh(const union ib_gid *sgid, argument
826 rdma_gid2ip((struct sockaddr *)&sgid_addr, sgid);
H A Dcm.c495 &path->sgid,
1368 pri_path->sgid;
1422 alt_path->sgid;
1699 primary_path->sgid =
1726 alt_path->sgid = *IBA_GET_MEM_PTR(
1777 * reject them as the local_gid will not match the sgid. Therefore,
1790 (ib_is_opa_gid(&path->sgid))) {
1791 union ib_gid sgid; local
1793 if (rdma_query_gid(dev, port_num, 0, &sgid)) {
1795 "Error updating sgid i
[all...]
H A Dcma.c913 union ib_gid gid, sgid, *dgid; local
946 sgid = gid;
955 sgid = gid;
970 memcpy(&addr->sib_addr, &sgid, sizeof(sgid));
1408 memcpy(&ib->sib_addr, &path->sgid, 16);
1540 memcpy(&req->local_gid, &req_param->primary_path->sgid,
2289 rdma_addr_set_sgid(&rt->addr.dev_addr, &rt->path_rec[0].sgid);
2467 void rdma_read_gids(struct rdma_cm_id *cm_id, union ib_gid *sgid, argument
2473 if (sgid)
[all...]
H A Dcore_priv.h332 int rdma_addr_find_l2_eth_by_grh(const union ib_gid *sgid,
H A Dmad.c1676 union ib_gid sgid; local
1711 grh->sgid_index, &sgid))
1713 return !memcmp(sgid.raw, rwc->recv_buf.grh->dgid.raw,
1722 rwc->recv_buf.grh->sgid.raw,
H A Dsa_query.c201 { PATH_REC_FIELD(sgid),
303 { OPA_PATH_REC_FIELD(sgid),
736 sizeof(sa_rec->sgid), &sa_rec->sgid);
1200 gid_attr = rdma_find_gid_by_port(device, &rec->sgid, type,
H A Ducma.c763 (union ib_gid *) &resp->ib_route[0].sgid);
789 (union ib_gid *)&resp->ib_route[0].sgid);
812 rdma_addr_get_sgid(dev_addr, (union ib_gid *) &resp->ib_route[0].sgid);
H A Duverbs_marshall.c140 memcpy(dst->sgid, src->sgid.raw, sizeof(src->sgid));
181 if ((ib_is_opa_gid((union ib_gid *)src->sgid)) ||
184 slid = opa_get_lid_from_gid((union ib_gid *)src->sgid);
192 memcpy(dst->sgid.raw, src->sgid, sizeof dst->sgid);
H A Dverbs.c704 u16 vlan_id, const union ib_gid *sgid,
710 return rdma_find_gid_by_filter(device, sgid, port_num, find_gid_index,
716 union ib_gid *sgid, union ib_gid *dgid)
722 if (!sgid || !dgid)
733 (struct in6_addr *)sgid);
740 *sgid = hdr->ibgrh.sgid;
781 * getting executed and, sgid contains the GID of the sender.
784 * as sgid and, sgid i
703 get_sgid_attr_from_eth(struct ib_device *device, u32 port_num, u16 vlan_id, const union ib_gid *sgid, enum ib_gid_type gid_type) argument
714 ib_get_gids_from_rdma_hdr(const union rdma_network_hdr *hdr, enum rdma_network_type net_type, union ib_gid *sgid, union ib_gid *dgid) argument
801 union ib_gid sgid; local
[all...]
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c1090 union ib_gid sgid; local
1100 rc = bnxt_re_query_gid(&rdev->ibdev, 1, 0, &sgid);
1104 /* supply the dgid data same as sgid */
1105 memcpy(ah->qplib_ah.dgid.data, &sgid.raw,
2308 /* For vlan, check the sgid for vlan existence */
/linux-master/drivers/infiniband/hw/hfi1/
H A Dhfi.h2582 grh->sgid.global.subnet_prefix = ibp->rvp.gid_prefix;
2584 grh->sgid.global.interface_id =
2587 grh->sgid.global.interface_id = OPA_MAKE_ID(slid);
H A Druc.c57 &packet->grh->sgid,
94 &packet->grh->sgid,
138 hdr->sgid.global.subnet_prefix = ibp->rvp.gid_prefix;
139 hdr->sgid.global.interface_id =
H A Dud.c153 * OPA_GID_INDEX. The new dgid is from the sgid
617 grh->sgid = old_grh->dgid;
618 grh->dgid = old_grh->sgid;
675 grh->sgid = old_grh->dgid;
676 grh->dgid = old_grh->sgid;
/linux-master/drivers/infiniband/hw/mlx4/
H A Dmad.c487 static int get_gids_from_l3_hdr(struct ib_grh *grh, union ib_gid *sgid, argument
501 sgid, dgid);
581 union ib_gid sgid; local
584 if (get_gids_from_l3_hdr(grh, &sgid, &dgid))
699 union ib_gid sgid; local
701 if (get_gids_from_l3_hdr(grh, &sgid, &dgid))
H A Dqp.c3023 union ib_gid sgid; local
3051 ah->av.ib.gid_index, &sgid.raw[0]);
3056 ah->av.ib.gid_index, &sgid,
3061 if (ipv6_addr_v4mapped((struct in6_addr *)&sgid))
3095 memcpy(sqp->ud_header.grh.source_gid.raw, sgid.raw, 16);
3131 sgid.raw + 12, 4);
/linux-master/drivers/infiniband/hw/ocrdma/
H A Docrdma_ah.c74 struct rdma_ah_attr *attr, const union ib_gid *sgid,
135 rdma_gid2ip((struct sockaddr *)&sgid_addr, sgid);
141 memcpy(&grh.sgid[0], sgid->raw, sizeof(union ib_gid));
73 set_av_attr(struct ocrdma_dev *dev, struct ocrdma_ah *ah, struct rdma_ah_attr *attr, const union ib_gid *sgid, int pdid, bool *isvlan, u16 vlan_tag) argument
H A Docrdma_hw.c2525 memcpy(&cmd->params.sgid[0], &sgid_attr->gid.raw[0],
2526 sizeof(cmd->params.sgid));
2540 memcpy(&cmd->params.sgid[0],
2545 ocrdma_cpu_to_le32(&cmd->params.sgid[0], sizeof(cmd->params.sgid));
H A Docrdma_sli.h1195 u8 sgid[16]; member in struct:ocrdma_qp_params
1910 u8 sgid[16]; member in struct:ocrdma_grh
/linux-master/drivers/infiniband/hw/qedr/
H A Dmain.c977 union ib_gid *sgid = &dev->sgid_tbl[0]; local
991 sgid->global.subnet_prefix = cpu_to_be64(0xfe80000000000000LL);
992 memcpy(&sgid->raw[8], guid, sizeof(guid));

Completed in 642 milliseconds

123