/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | ah.c | 38 enum ib_gid_type gid_type = ah_attr->grh.sgid_attr->gid_type; in mlx5_ah_get_udp_sport() local 41 if ((gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) && in mlx5_ah_get_udp_sport() 57 enum ib_gid_type gid_type; in create_ib_ah() local 77 gid_type = ah_attr->grh.sgid_attr->gid_type; in create_ib_ah() 83 if (gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) in create_ib_ah()
|
D | main.c | 567 enum ib_gid_type gid_type; in set_roce_addr() local 574 gid_type = attr->gid_type; in set_roce_addr() 581 switch (gid_type) { in set_roce_addr() 594 mlx5_ib_warn(dev, "Unexpected GID type %u\n", gid_type); in set_roce_addr() 620 if (attr->gid_type != IB_GID_TYPE_ROCE_UDP_ENCAP) in mlx5_get_roce_udp_sport_min()
|
/linux-6.1.9/drivers/infiniband/core/ |
D | cma_configfs.c | 104 int gid_type; in default_roce_mode_show() local 111 gid_type = cma_get_default_gid_type(cma_dev, group->port_num); in default_roce_mode_show() 114 if (gid_type < 0) in default_roce_mode_show() 115 return gid_type; in default_roce_mode_show() 117 return sysfs_emit(buf, "%s\n", ib_cache_gid_type_str(gid_type)); in default_roce_mode_show() 125 int gid_type; in default_roce_mode_store() local 132 gid_type = ib_cache_gid_parse_type_str(buf); in default_roce_mode_store() 133 if (gid_type < 0) { in default_roce_mode_store() 138 ret = cma_set_default_gid_type(cma_dev, group->port_num, gid_type); in default_roce_mode_store()
|
D | cache.c | 144 const char *ib_cache_gid_type_str(enum ib_gid_type gid_type) in ib_cache_gid_type_str() argument 146 if (gid_type < ARRAY_SIZE(gid_type_str) && gid_type_str[gid_type]) in ib_cache_gid_type_str() 147 return gid_type_str[gid_type]; in ib_cache_gid_type_str() 516 attr->gid_type != val->gid_type) in find_gid() 685 enum ib_gid_type gid_type, in rdma_find_gid_by_port() argument 692 struct ib_gid_attr val = {.ndev = ndev, .gid_type = gid_type}; in rdma_find_gid_by_port() 844 unsigned int gid_type; in ib_cache_gid_set_default_gid() local 853 for (gid_type = 0; gid_type < IB_GID_TYPE_SIZE; ++gid_type) { in ib_cache_gid_set_default_gid() 854 if (1UL << gid_type & ~gid_type_mask) in ib_cache_gid_set_default_gid() 857 gid_attr.gid_type = gid_type; in ib_cache_gid_set_default_gid() [all …]
|
D | cma.c | 73 enum ib_gid_type gid_type); 596 id_priv->gid_type = in cma_attach_to_dev() 678 enum ib_gid_type gid_type, in cma_validate_port() argument 702 gid_type = IB_GID_TYPE_IB; in cma_validate_port() 705 sgid_attr = rdma_find_gid_by_port(device, gid, gid_type, port, ndev); in cma_validate_port() 733 enum ib_gid_type gid_type; in cma_acquire_dev_by_src_ip() local 752 gid_type = cma_dev->default_gid_type[port - 1]; in cma_acquire_dev_by_src_ip() 754 gid_type, gidp, id_priv); in cma_acquire_dev_by_src_ip() 786 enum ib_gid_type gid_type; in cma_ib_acquire_dev() local 800 gid_type = listen_id_priv->cma_dev->default_gid_type[req->port - 1]; in cma_ib_acquire_dev() [all …]
|
D | cma_priv.h | 103 enum ib_gid_type gid_type; member
|
D | verbs.c | 676 enum ib_gid_type gid_type; member 687 if (ctx->gid_type != gid_attr->gid_type) in find_gid_index() 700 enum ib_gid_type gid_type) in get_sgid_attr_from_eth() argument 703 .gid_type = gid_type}; in get_sgid_attr_from_eth() 759 sgid_attr->gid_type == IB_GID_TYPE_ROCE) { in ib_resolve_unicast_gid_dmac() 792 enum ib_gid_type gid_type = IB_GID_TYPE_IB; in ib_init_ah_attr_from_wc() local 807 gid_type = ib_network_to_gid_type(net_type); in ib_init_ah_attr_from_wc() 826 gid_type); in ib_init_ah_attr_from_wc()
|
D | roce_gid_mgmt.c | 74 enum ib_gid_type gid_type; member 92 ret_flags |= 1UL << PORT_CAP_TO_GID_TYPE[i].gid_type; in roce_gid_type_mask_support() 107 gid_attr->gid_type = i; in update_gid()
|
D | lag.c | 117 ah_attr->grh.sgid_attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP && in rdma_lag_get_ah_roce_slave()
|
D | uverbs_std_types_device.c | 410 entry.gid_type = gid_attr->gid_type; in UVERBS_HANDLER()
|
D | core_priv.h | 127 const char *ib_cache_gid_type_str(enum ib_gid_type gid_type);
|
D | multicast.c | 738 enum ib_gid_type gid_type, in ib_init_ah_from_mcmember() argument 752 gid_type, port_num, ndev); in ib_init_ah_from_mcmember()
|
/linux-6.1.9/include/rdma/ |
D | ib_cache.h | 18 enum ib_gid_type gid_type, 22 enum ib_gid_type gid_type,
|
D | ib_sa.h | 497 enum ib_gid_type gid_type,
|
D | ib_verbs.h | 155 enum ib_gid_type gid_type; member 204 if (attr->gid_type == IB_GID_TYPE_IB) in rdma_gid_attr_network_type() 207 if (attr->gid_type == IB_GID_TYPE_ROCE) in rdma_gid_attr_network_type()
|
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_misc.c | 301 u8 ib_gid_type_to_pvrdma(enum ib_gid_type gid_type) in ib_gid_type_to_pvrdma() argument 303 return (gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) ? in ib_gid_type_to_pvrdma()
|
D | pvrdma_main.c | 584 u8 gid_type, in pvrdma_add_gid_at_index() argument 602 cmd_bind->gid_type = gid_type; in pvrdma_add_gid_at_index() 619 ib_gid_type_to_pvrdma(attr->gid_type), in pvrdma_add_gid()
|
D | pvrdma.h | 530 u8 ib_gid_type_to_pvrdma(enum ib_gid_type gid_type);
|
D | pvrdma_dev_api.h | 632 u8 gid_type; member
|
/linux-6.1.9/include/uapi/rdma/ |
D | ib_user_ioctl_verbs.h | 266 __u32 gid_type; member
|
/linux-6.1.9/net/smc/ |
D | smc_ib.c | 228 if (!smcrv2 && attr->gid_type == IB_GID_TYPE_ROCE) { in smc_ib_determine_gid_rcu() 235 if (smcrv2 && attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP && in smc_ib_determine_gid_rcu() 314 if ((!smcrv2 && attr->gid_type == IB_GID_TYPE_ROCE) || in smc_ib_check_link_gid() 315 (smcrv2 && attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP && in smc_ib_check_link_gid()
|
/linux-6.1.9/drivers/infiniband/hw/mlx4/ |
D | main.c | 211 if (gids[i].gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) { in mlx4_ib_update_gids_v1_v2() 279 port_gid_table->gids[i].gid_type == attr->gid_type && in mlx4_ib_add_gid() 299 port_gid_table->gids[free].gid_type = attr->gid_type; in mlx4_ib_add_gid() 321 gids[i].gid_type = port_gid_table->gids[i].gid_type; in mlx4_ib_add_gid() 380 gids[i].gid_type = in mlx4_ib_del_gid() 381 port_gid_table->gids[i].gid_type; in mlx4_ib_del_gid() 420 attr->gid_type == port_gid_table->gids[i].gid_type) { in mlx4_ib_gid_index_to_real_index()
|
D | qp.c | 1951 static u8 gid_type_to_qpc(enum ib_gid_type gid_type) in gid_type_to_qpc() argument 1953 switch (gid_type) { in gid_type_to_qpc() 2237 enum ib_gid_type gid_type = qp->flags & MLX4_IB_ROCE_V2_GSI_QP ? in __mlx4_ib_modify_qp() 2239 u8 qpc_roce_mode = gid_type_to_qpc(gid_type); in __mlx4_ib_modify_qp() 2278 u8 qpc_roce_mode = gid_type_to_qpc(gid_attr->gid_type); in __mlx4_ib_modify_qp() 2956 enum ib_gid_type *gid_type) in fill_gid_by_hw_index() argument 2965 *gid_type = port_gid_table->gids[index].gid_type; in fill_gid_by_hw_index() 3005 enum ib_gid_type gid_type; in build_mlx_header() local 3018 &gid_type); in build_mlx_header() 3020 is_udp = gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP; in build_mlx_header() [all …]
|
D | mlx4_ib.h | 535 enum ib_gid_type gid_type; member
|
/linux-6.1.9/drivers/infiniband/hw/qedr/ |
D | qedr_roce_cm.c | 410 has_udp = (sgid_attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP); in qedr_gsi_build_header()
|