Searched refs:gid_type (Results 1 - 24 of 24) sorted by relevance

/freebsd-current/sys/ofed/include/rdma/
H A Dib_cache.h65 * @gid_type: The GID type to search for.
76 enum ib_gid_type gid_type,
86 * @gid_type: The GID type to search for.
98 enum ib_gid_type gid_type,
H A Dib_sa.h179 enum ib_gid_type gid_type; member in struct:ib_sa_path_rec
427 enum ib_gid_type gid_type,
H A Dib_verbs.h106 enum ib_gid_type gid_type; member in struct:ib_gid_attr
159 static inline enum rdma_network_type ib_gid_to_network_type(enum ib_gid_type gid_type, argument
162 if (gid_type == IB_GID_TYPE_IB)
2947 enum ib_gid_type gid_type, if_t ndev,
/freebsd-current/sys/ofed/drivers/infiniband/core/
H A Dib_cache.c138 const char *ib_cache_gid_type_str(enum ib_gid_type gid_type) argument
140 if (gid_type < ARRAY_SIZE(gid_type_str) && gid_type_str[gid_type])
141 return gid_type_str[gid_type];
207 old_gid_type = table->data_vec[ix].attr.gid_type;
222 table->data_vec[ix].attr.gid_type = old_gid_type;
287 attr->gid_type != val->gid_type)
490 enum ib_gid_type gid_type,
496 struct ib_gid_attr gid_attr_val = {.ndev = ndev, .gid_type
488 ib_cache_gid_find(struct ib_device *ib_dev, const union ib_gid *gid, enum ib_gid_type gid_type, if_t ndev, u8 *port, u16 *index) argument
505 ib_find_cached_gid_by_port(struct ib_device *ib_dev, const union ib_gid *gid, enum ib_gid_type gid_type, u8 port, if_t ndev, u16 *index) argument
682 unsigned int gid_type; local
897 ib_find_cached_gid(struct ib_device *device, const union ib_gid *gid, enum ib_gid_type gid_type, if_t ndev, u8 *port_num, u16 *index) argument
[all...]
H A Dib_roce_gid_mgmt.c67 enum ib_gid_type gid_type; member in struct:__anon5747
85 ret_flags |= 1UL << PORT_CAP_TO_GID_TYPE[i].gid_type;
103 gid_attr.gid_type = i;
H A Dcore_priv.h105 const char *ib_cache_gid_type_str(enum ib_gid_type gid_type);
H A Dib_verbs.c496 enum ib_gid_type gid_type; member in struct:find_gid_index_context
512 if (ctx->gid_type != gid_attr->gid_type)
529 enum ib_gid_type gid_type,
533 .gid_type = gid_type};
580 enum ib_gid_type gid_type = IB_GID_TYPE_IB; local
591 gid_type = ib_network_to_gid_type(net_type);
607 &dgid, gid_type, &gid_index);
527 get_sgid_index_from_eth(struct ib_device *device, u8 port_num, u16 vlan_id, const union ib_gid *sgid, enum ib_gid_type gid_type, u16 *gid_index) argument
H A Dib_cma.c344 enum ib_gid_type gid_type; member in struct:rdma_id_private
488 id_priv->gid_type = 0;
499 id_priv->gid_type =
599 enum ib_gid_type gid_type,
617 gid_type = IB_GID_TYPE_IB;
620 ret = ib_find_cached_gid_by_port(device, gid, gid_type, port,
660 listen_id_priv->gid_type, gidp, dev_addr);
2792 route->path_rec->gid_type =
2795 id_priv->gid_type);
2810 if (route->path_rec->gid_type < ib_network_to_gid_typ
598 cma_validate_port(struct ib_device *device, u8 port, enum ib_gid_type gid_type, union ib_gid *gid, const struct rdma_dev_addr *dev_addr) argument
4087 enum ib_gid_type gid_type = local
4276 cma_iboe_set_mgid(struct vnet *vnet, struct sockaddr *addr, union ib_gid *mgid, enum ib_gid_type gid_type) argument
4313 enum ib_gid_type gid_type; local
[all...]
H A Dib_uverbs_marshall.c149 dst->gid_type = IB_GID_TYPE_IB;
H A Dib_device.c869 * @gid_type: Type of GID.
876 enum ib_gid_type gid_type, if_t ndev,
884 if (!ib_find_cached_gid_by_port(device, gid, gid_type, port,
891 if (gid_type != IB_GID_TYPE_IB)
875 ib_find_gid(struct ib_device *device, union ib_gid *gid, enum ib_gid_type gid_type, if_t ndev, u8 *port_num, u16 *index) argument
H A Dib_sa_query.c687 rec->gid_type != IB_GID_TYPE_ROCE_UDP_ENCAP)
719 rec->gid_type, port_num, ndev,
859 rec.gid_type = IB_GID_TYPE_IB;
H A Dib_multicast.c725 enum ib_gid_type gid_type,
740 gid_type, port_num,
722 ib_init_ah_from_mcmember(struct ib_device *device, u8 port_num, struct ib_sa_mcmember_rec *rec, if_t ndev, enum ib_gid_type gid_type, struct ib_ah_attr *ah_attr) argument
H A Dib_cm.c509 path->gid_type, ndev, &p, NULL)) {
1824 work->path[0].gid_type = gid_attr.gid_type;
1838 work->path[0].gid_type = gid_attr.gid_type;
H A Dib_sysfs.c377 return sprintf(buf, "%s\n", ib_cache_gid_type_str(gid_attr->gid_type));
/freebsd-current/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c222 if (gids[i].gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) {
284 (port_gid_table->gids[i].gid_type == attr->gid_type)) {
302 port_gid_table->gids[free].gid_type = attr->gid_type;
320 gids[i].gid_type = port_gid_table->gids[i].gid_type;
377 gids[i].gid_type =
378 port_gid_table->gids[i].gid_type;
428 attr.gid_type
[all...]
H A Dmlx4_ib_qp.c1612 static u8 gid_type_to_qpc(enum ib_gid_type gid_type) argument
1614 switch (gid_type) {
1758 enum ib_gid_type gid_type = qp->flags & MLX4_IB_ROCE_V2_GSI_QP ? local
1760 u8 qpc_roce_mode = gid_type_to_qpc(gid_type);
1809 u8 qpc_roce_mode = gid_type_to_qpc(gid_attr.gid_type);
2479 is_udp = gid_attr.gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP;
2966 qp = (gid_attr.gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) ?
H A Dmlx4_ib.h488 enum ib_gid_type gid_type; member in struct:gid_entry
/freebsd-current/contrib/ofed/libibverbs/
H A Dverbs.c727 union ibv_gid *gid, enum ibv_gid_type gid_type)
741 (gid_type != sgid_type)));
726 ibv_find_gid_index(struct ibv_context *context, uint8_t port_num, union ibv_gid *gid, enum ibv_gid_type gid_type) argument
/freebsd-current/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c370 switch (attr->gid_type) {
382 if (attr->gid_type != IB_GID_TYPE_IB) {
391 if ((attr->gid_type == IB_GID_TYPE_IB) ||
447 if (attr.gid_type != IB_GID_TYPE_ROCE_UDP_ENCAP)
454 int index, enum ib_gid_type *gid_type)
469 *gid_type = attr.gid_type;
453 mlx5_get_roce_gid_type(struct mlx5_ib_dev *dev, u8 port_num, int index, enum ib_gid_type *gid_type) argument
H A Dmlx5_ib.h1056 int index, enum ib_gid_type *gid_type);
H A Dmlx5_ib_qp.c2332 enum ib_gid_type gid_type; local
2352 &gid_type);
2359 if (gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP)
/freebsd-current/contrib/ofed/libmlx5/
H A Dverbs.c1664 uint32_t gid_type; local
1693 attr->grh.sgid_index, &gid_type))
1696 if (gid_type == IBV_GID_TYPE_ROCE_V2)
/freebsd-current/sys/dev/irdma/
H A Dirdma_kcompat.c563 ah->av.net_type = ib_gid_to_network_type(sgid_attr.gid_type, &sgid);
1307 av->net_type = ib_gid_to_network_type(sgid_attr.gid_type, &sgid);
/freebsd-current/sys/dev/bnxt/bnxt_re/
H A Dib_verbs.c903 return ib_gid_to_network_type(sgid_attr->gid_type, sgid);

Completed in 546 milliseconds