Home
last modified time | relevance | path

Searched refs:ib_gid (Results 1 – 25 of 68) sorted by relevance

123

/drivers/staging/rdma/ehca/
Dehca_mcast.c59 int ehca_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in ehca_attach_mcast()
64 union ib_gid my_gid; in ehca_attach_mcast()
80 memcpy(&my_gid, gid->raw, sizeof(union ib_gid)); in ehca_attach_mcast()
96 int ehca_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in ehca_detach_mcast()
101 union ib_gid my_gid; in ehca_detach_mcast()
117 memcpy(&my_gid, gid->raw, sizeof(union ib_gid)); in ehca_detach_mcast()
Dehca_iverbs.h62 union ib_gid *gid);
184 int ehca_attach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid);
186 int ehca_detach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid);
Dehca_av.c130 union ib_gid gid; in ehca_create_ah()
194 union ib_gid gid; in ehca_modify_ah()
/drivers/infiniband/core/
Dcache.c58 union ib_gid zgid;
89 union ib_gid gid;
117 const union ib_gid *gid, in write_gid()
181 const union ib_gid *gid, in add_gid()
190 const union ib_gid *gid, in modify_gid()
204 static int find_gid(struct ib_gid_table *table, const union ib_gid *gid, in find_gid()
241 static void make_default_gid(struct net_device *dev, union ib_gid *gid) in make_default_gid()
248 union ib_gid *gid, struct ib_gid_attr *attr) in ib_cache_gid_add()
264 union ib_gid default_gid; in ib_cache_gid_add()
299 union ib_gid *gid, struct ib_gid_attr *attr) in ib_cache_gid_del()
[all …]
Dcore_priv.h78 union ib_gid *gid, struct ib_gid_attr *attr);
81 union ib_gid *gid, struct ib_gid_attr *attr);
Dcm_msgs.h82 union ib_gid primary_local_gid;
83 union ib_gid primary_remote_gid;
95 union ib_gid alt_local_gid;
96 union ib_gid alt_remote_gid;
672 union ib_gid alt_local_gid;
673 union ib_gid alt_remote_gid;
Droce_gid_mgmt.c52 union ib_gid gid;
71 u8 port, union ib_gid *gid, in update_gid()
192 union ib_gid gid; in update_gid_ip()
332 union ib_gid gid; in enum_netdev_ipv6_ips()
Ddevice.c681 u8 port_num, int index, union ib_gid *gid, in ib_query_gid()
833 int ib_find_gid(struct ib_device *device, union ib_gid *gid, in ib_find_gid()
836 union ib_gid tmp_gid; in ib_find_gid()
918 const union ib_gid *gid, in ib_get_net_dev_by_params()
Daddr.c475 int rdma_addr_find_dmac_by_grh(const union ib_gid *sgid, const union ib_gid *dgid, in rdma_addr_find_dmac_by_grh()
517 int rdma_addr_find_smac_by_sgid(union ib_gid *sgid, u8 *smac, u16 *vlan_id) in rdma_addr_find_smac_by_sgid()
Ducma.c752 (union ib_gid *) &resp->ib_route[0].dgid); in ucma_copy_ib_route()
754 (union ib_gid *) &resp->ib_route[0].sgid); in ucma_copy_ib_route()
778 (union ib_gid *)&resp->ib_route[0].dgid); in ucma_copy_iboe_route()
780 (union ib_gid *)&resp->ib_route[0].sgid); in ucma_copy_iboe_route()
802 rdma_addr_get_dgid(dev_addr, (union ib_gid *) &resp->ib_route[0].dgid); in ucma_copy_iw_route()
803 rdma_addr_get_sgid(dev_addr, (union ib_gid *) &resp->ib_route[0].sgid); in ucma_copy_iw_route()
951 (union ib_gid *) &addr->sib_addr); in ucma_query_gid()
964 (union ib_gid *) &addr->sib_addr); in ucma_query_gid()
/drivers/staging/rdma/ipath/
Dipath_verbs_mcast.c84 static struct ipath_mcast *ipath_mcast_alloc(union ib_gid *mgid) in ipath_mcast_alloc()
120 struct ipath_mcast *ipath_mcast_find(union ib_gid *mgid) in ipath_mcast_find()
134 sizeof(union ib_gid)); in ipath_mcast_find()
180 sizeof(union ib_gid)); in ipath_mcast_add()
235 int ipath_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in ipath_multicast_attach()
284 int ipath_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in ipath_multicast_detach()
307 sizeof(union ib_gid)); in ipath_multicast_detach()
Dipath_verbs.h163 union ib_gid mgid;
725 struct ipath_mcast *ipath_mcast_find(union ib_gid *mgid);
734 int ipath_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
736 int ipath_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
/drivers/staging/rdma/hfi1/
Dverbs_mcast.c91 static struct hfi1_mcast *mcast_alloc(union ib_gid *mgid) in mcast_alloc()
128 struct hfi1_mcast *hfi1_mcast_find(struct hfi1_ibport *ibp, union ib_gid *mgid) in hfi1_mcast_find()
142 sizeof(union ib_gid)); in hfi1_mcast_find()
187 sizeof(union ib_gid)); in mcast_add()
242 int hfi1_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in hfi1_multicast_attach()
300 int hfi1_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in hfi1_multicast_detach()
329 sizeof(union ib_gid)); in hfi1_multicast_detach()
/drivers/infiniband/hw/qib/
Dqib_verbs_mcast.c74 static struct qib_mcast *qib_mcast_alloc(union ib_gid *mgid) in qib_mcast_alloc()
111 struct qib_mcast *qib_mcast_find(struct qib_ibport *ibp, union ib_gid *mgid) in qib_mcast_find()
125 sizeof(union ib_gid)); in qib_mcast_find()
170 sizeof(union ib_gid)); in qib_mcast_add()
225 int qib_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in qib_multicast_attach()
283 int qib_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in qib_multicast_detach()
309 sizeof(union ib_gid)); in qib_multicast_detach()
Dqib_mad.h152 union ib_gid redirect_gid;
158 union ib_gid trap_gid;
/drivers/infiniband/ulp/ipoib/
Dipoib_multicast.c60 union ib_gid mgid;
168 sizeof (union ib_gid)); in __ipoib_mcast_find()
193 sizeof (union ib_gid)); in __ipoib_mcast_add()
223 sizeof (union ib_gid))) { in ipoib_mcast_join_finish()
583 memcpy(priv->dev->dev_addr + 4, priv->local_gid.raw, sizeof (union ib_gid)); in ipoib_mcast_join_task()
606 sizeof (union ib_gid)); in ipoib_mcast_join_task()
754 sizeof (union ib_gid)); in ipoib_mcast_send()
883 union ib_gid mgid; in ipoib_mcast_restart_task()
1010 sizeof (union ib_gid)) < 0) { in ipoib_mcast_iter_next()
1031 union ib_gid *mgid, in ipoib_mcast_iter_read()
Dipoib_main.c99 const union ib_gid *gid, const struct sockaddr *addr,
359 const union ib_gid *gid, in ipoib_match_gid_pkey_addr()
407 const union ib_gid *gid, in __ipoib_get_net_dev_by_params()
431 const union ib_gid *gid, const struct sockaddr *addr, in ipoib_get_net_dev_by_params()
520 sizeof (union ib_gid)); in __path_find()
546 sizeof (union ib_gid)); in __path_add()
617 sizeof (union ib_gid)) < 0) { in ipoib_path_iter_next()
733 sizeof(union ib_gid))) { in path_rec_completion()
740 sizeof(union ib_gid)); in path_rec_completion()
823 memcpy(path->pathrec.dgid.raw, gid, sizeof (union ib_gid)); in path_rec_create()
[all …]
Dipoib_fs.c46 static void format_gid(union ib_gid *gid, char *buf) in format_gid()
101 union ib_gid mgid; in ipoib_mcg_seq_show()
/drivers/net/ethernet/mellanox/mlx5/core/
Dmcg.c64 int mlx5_core_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn) in mlx5_core_attach_mcg()
86 int mlx5_core_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn) in mlx5_core_detach_mcg()
/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c59 struct ib_ah_attr *attr, union ib_gid *sgid, in set_av_attr()
96 memcpy(&grh.sgid[0], sgid->raw, sizeof(union ib_gid)); in set_av_attr()
124 union ib_gid sgid; in ocrdma_create_ah()
Docrdma_verbs.h65 int index, union ib_gid *gid);
70 const union ib_gid *gid,
/drivers/infiniband/ulp/srp/
Dib_srp.h198 union ib_gid sgid;
215 union ib_gid orig_dgid;
/drivers/infiniband/hw/mlx4/
Dcm.c71 union ib_gid primary_path_sgid;
135 static union ib_gid gid_from_req_msg(struct ib_device *ibdev, struct ib_mad *mad) in gid_from_req_msg()
369 union ib_gid gid; in mlx4_ib_demux_cm_handler()
Dmlx4_ib.h191 union ib_gid gid;
480 union ib_gid gid;
779 union ib_gid *gid, int netw_view);
805 union ib_gid *gid);
/drivers/infiniband/hw/mthca/
Dmthca_mcg.c120 int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in mthca_multicast_attach()
214 int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in mthca_multicast_detach()

123