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

/freebsd-11-stable/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.h178 enum ib_gid_type gid_type; member in struct:ib_sa_path_rec
426 enum ib_gid_type gid_type,
H A Dib_verbs.h92 enum ib_gid_type gid_type; member in struct:ib_gid_attr
145 static inline enum rdma_network_type ib_gid_to_network_type(enum ib_gid_type gid_type, argument
148 if (gid_type == IB_GID_TYPE_IB)
2575 enum ib_gid_type gid_type, struct net_device *ndev,
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_cache.c139 const char *ib_cache_gid_type_str(enum ib_gid_type gid_type) argument
141 if (gid_type < ARRAY_SIZE(gid_type_str) && gid_type_str[gid_type])
142 return gid_type_str[gid_type];
208 old_gid_type = table->data_vec[ix].attr.gid_type;
223 table->data_vec[ix].attr.gid_type = old_gid_type;
288 attr->gid_type != val->gid_type)
491 enum ib_gid_type gid_type,
497 struct ib_gid_attr gid_attr_val = {.ndev = ndev, .gid_type
489 ib_cache_gid_find(struct ib_device *ib_dev, const union ib_gid *gid, enum ib_gid_type gid_type, struct net_device *ndev, u8 *port, u16 *index) argument
506 ib_find_cached_gid_by_port(struct ib_device *ib_dev, const union ib_gid *gid, enum ib_gid_type gid_type, u8 port, struct net_device *ndev, u16 *index) argument
683 unsigned int gid_type; local
898 ib_find_cached_gid(struct ib_device *device, const union ib_gid *gid, enum ib_gid_type gid_type, struct net_device *ndev, u8 *port_num, u16 *index) argument
[all...]
H A Dcore_priv.h102 const char *ib_cache_gid_type_str(enum ib_gid_type gid_type);
H A Dib_roce_gid_mgmt.c68 enum ib_gid_type gid_type; member in struct:__anon5470
86 ret_flags |= 1UL << PORT_CAP_TO_GID_TYPE[i].gid_type;
104 gid_attr.gid_type = i;
H A Dib_verbs.c414 enum ib_gid_type gid_type; member in struct:find_gid_index_context
430 if (ctx->gid_type != gid_attr->gid_type)
447 enum ib_gid_type gid_type,
451 .gid_type = gid_type};
498 enum ib_gid_type gid_type = IB_GID_TYPE_IB; local
509 gid_type = ib_network_to_gid_type(net_type);
525 &dgid, gid_type, &gid_index);
445 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.c321 enum ib_gid_type gid_type; member in struct:rdma_id_private
460 id_priv->gid_type = 0;
471 id_priv->gid_type =
571 enum ib_gid_type gid_type,
589 gid_type = IB_GID_TYPE_IB;
592 ret = ib_find_cached_gid_by_port(device, gid, gid_type, port,
632 listen_id_priv->gid_type, gidp, dev_addr);
2573 route->path_rec->gid_type =
2576 id_priv->gid_type);
2591 if (route->path_rec->gid_type < ib_network_to_gid_typ
570 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
3824 enum ib_gid_type gid_type = local
4013 cma_iboe_set_mgid(struct sockaddr *addr, union ib_gid *mgid, enum ib_gid_type gid_type) argument
4050 enum ib_gid_type gid_type; local
[all...]
H A Dib_uverbs_marshall.c151 dst->gid_type = IB_GID_TYPE_IB;
H A Dib_device.c868 * @gid_type: Type of GID.
875 enum ib_gid_type gid_type, struct net_device *ndev,
883 if (!ib_find_cached_gid_by_port(device, gid, gid_type, port,
890 if (gid_type != IB_GID_TYPE_IB)
874 ib_find_gid(struct ib_device *device, union ib_gid *gid, enum ib_gid_type gid_type, struct net_device *ndev, u8 *port_num, u16 *index) argument
H A Dib_sa_query.c691 rec->gid_type != IB_GID_TYPE_ROCE_UDP_ENCAP)
723 rec->gid_type, port_num, ndev,
863 rec.gid_type = IB_GID_TYPE_IB;
H A Dib_multicast.c727 enum ib_gid_type gid_type,
742 gid_type, port_num,
724 ib_init_ah_from_mcmember(struct ib_device *device, u8 port_num, struct ib_sa_mcmember_rec *rec, struct net_device *ndev, enum ib_gid_type gid_type, struct ib_ah_attr *ah_attr) argument
H A Dib_cm.c436 path->gid_type, ndev, &p, NULL)) {
1744 work->path[0].gid_type = gid_attr.gid_type;
1758 work->path[0].gid_type = gid_attr.gid_type;
H A Dib_sysfs.c350 return sprintf(buf, "%s\n", ib_cache_gid_type_str(gid_attr->gid_type));
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c223 if (gids[i].gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) {
285 (port_gid_table->gids[i].gid_type == attr->gid_type)) {
303 port_gid_table->gids[free].gid_type = attr->gid_type;
321 gids[i].gid_type = port_gid_table->gids[i].gid_type;
378 gids[i].gid_type =
379 port_gid_table->gids[i].gid_type;
429 attr.gid_type
[all...]
H A Dmlx4_ib_qp.c1607 static u8 gid_type_to_qpc(enum ib_gid_type gid_type) argument
1609 switch (gid_type) {
1750 enum ib_gid_type gid_type = qp->flags & MLX4_IB_ROCE_V2_GSI_QP ? local
1752 u8 qpc_roce_mode = gid_type_to_qpc(gid_type);
1801 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.h493 enum ib_gid_type gid_type; member in struct:gid_entry
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Dverbs.c705 union ibv_gid *gid, enum ibv_gid_type gid_type)
719 (gid_type != sgid_type)));
704 ibv_find_gid_index(struct ibv_context *context, uint8_t port_num, union ibv_gid *gid, enum ibv_gid_type gid_type) argument
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c364 switch (attr->gid_type) {
376 if (attr->gid_type != IB_GID_TYPE_IB) {
385 if ((attr->gid_type == IB_GID_TYPE_IB) ||
441 if (attr.gid_type != IB_GID_TYPE_ROCE_UDP_ENCAP)
448 int index, enum ib_gid_type *gid_type)
463 *gid_type = attr.gid_type;
447 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.h955 int index, enum ib_gid_type *gid_type);
H A Dmlx5_ib_qp.c2225 enum ib_gid_type gid_type; local
2245 &gid_type);
2252 if (gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP)
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dverbs.c1638 uint32_t gid_type; local
1667 attr->grh.sgid_index, &gid_type))
1670 if (gid_type == IBV_GID_TYPE_ROCE_V2)

Completed in 239 milliseconds