/freebsd-11-stable/sys/ofed/include/rdma/ |
H A D | ib_cache.h | 65 * @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 D | ib_sa.h | 178 enum ib_gid_type gid_type; member in struct:ib_sa_path_rec 426 enum ib_gid_type gid_type,
|
H A D | ib_verbs.h | 92 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 D | ib_cache.c | 139 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 D | core_priv.h | 102 const char *ib_cache_gid_type_str(enum ib_gid_type gid_type);
|
H A D | ib_roce_gid_mgmt.c | 68 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 D | ib_verbs.c | 414 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 D | ib_cma.c | 321 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 D | ib_uverbs_marshall.c | 151 dst->gid_type = IB_GID_TYPE_IB;
|
H A D | ib_device.c | 868 * @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 D | ib_sa_query.c | 691 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 D | ib_multicast.c | 727 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 D | ib_cm.c | 436 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 D | ib_sysfs.c | 350 return sprintf(buf, "%s\n", ib_cache_gid_type_str(gid_attr->gid_type));
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_main.c | 223 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 D | mlx4_ib_qp.c | 1607 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 D | mlx4_ib.h | 493 enum ib_gid_type gid_type; member in struct:gid_entry
|
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | verbs.c | 705 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 D | mlx5_ib_main.c | 364 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 D | mlx5_ib.h | 955 int index, enum ib_gid_type *gid_type);
|
H A D | mlx5_ib_qp.c | 2225 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 D | verbs.c | 1638 uint32_t gid_type; local 1667 attr->grh.sgid_index, &gid_type)) 1670 if (gid_type == IBV_GID_TYPE_ROCE_V2)
|