/linux/drivers/infiniband/hw/mlx5/ |
A 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()
|
A D | main.c | 568 enum ib_gid_type gid_type; in set_roce_addr() local 575 gid_type = attr->gid_type; in set_roce_addr() 582 switch (gid_type) { in set_roce_addr() 595 mlx5_ib_warn(dev, "Unexpected GID type %u\n", gid_type); in set_roce_addr() 621 if (attr->gid_type != IB_GID_TYPE_ROCE_UDP_ENCAP) in mlx5_get_roce_udp_sport_min()
|
/linux/drivers/infiniband/core/ |
A D | cma_configfs.c | 105 int gid_type; in default_roce_mode_show() local 112 gid_type = cma_get_default_gid_type(cma_dev, group->port_num); in default_roce_mode_show() 115 if (gid_type < 0) in default_roce_mode_show() 116 return gid_type; in default_roce_mode_show() 118 return sysfs_emit(buf, "%s\n", ib_cache_gid_type_str(gid_type)); in default_roce_mode_show() 126 int gid_type; in default_roce_mode_store() local 133 gid_type = ib_cache_gid_parse_type_str(buf); in default_roce_mode_store() 134 if (gid_type < 0) { in default_roce_mode_store() 139 ret = cma_set_default_gid_type(cma_dev, group->port_num, gid_type); in default_roce_mode_store()
|
A D | cache.c | 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() 857 gid_attr.gid_type = gid_type; in ib_cache_gid_set_default_gid() 1011 enum ib_gid_type gid_type, in rdma_find_gid() argument 1016 struct ib_gid_attr gid_attr_val = {.ndev = ndev, .gid_type = gid_type}; in rdma_find_gid() [all …]
|
A D | cma.c | 465 id_priv->gid_type = in cma_attach_to_dev() 557 enum ib_gid_type gid_type, in cma_validate_port() argument 581 gid_type = IB_GID_TYPE_IB; in cma_validate_port() 612 enum ib_gid_type gid_type; in cma_acquire_dev_by_src_ip() local 665 enum ib_gid_type gid_type; in cma_ib_acquire_dev() local 704 enum ib_gid_type gid_type; in cma_iw_acquire_dev() local 720 gid_type = listen_id_priv->gid_type; in cma_iw_acquire_dev() 2914 id_priv->gid_type); in cma_iboe_set_path_rec_l2_fields() 4566 enum ib_gid_type gid_type; in cma_make_mc_event() local 4584 gid_type = in cma_make_mc_event() [all …]
|
A D | cma_priv.h | 102 enum ib_gid_type gid_type; member
|
A D | verbs.c | 684 enum ib_gid_type gid_type; member 695 if (ctx->gid_type != gid_attr->gid_type) in find_gid_index() 708 enum ib_gid_type gid_type) in get_sgid_attr_from_eth() argument 711 .gid_type = gid_type}; in get_sgid_attr_from_eth() 767 sgid_attr->gid_type == IB_GID_TYPE_ROCE) { in ib_resolve_unicast_gid_dmac() 800 enum ib_gid_type gid_type = IB_GID_TYPE_IB; in ib_init_ah_attr_from_wc() local 815 gid_type = ib_network_to_gid_type(net_type); in ib_init_ah_attr_from_wc() 834 gid_type); in ib_init_ah_attr_from_wc()
|
A 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()
|
A D | lag.c | 118 ah_attr->grh.sgid_attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP && in rdma_lag_get_ah_roce_slave()
|
A D | uverbs_std_types_device.c | 410 entry.gid_type = gid_attr->gid_type; in UVERBS_HANDLER()
|
A D | core_priv.h | 127 const char *ib_cache_gid_type_str(enum ib_gid_type gid_type);
|
A 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/include/rdma/ |
A D | ib_cache.h | 18 enum ib_gid_type gid_type, 22 enum ib_gid_type gid_type,
|
A D | ib_sa.h | 496 enum ib_gid_type gid_type,
|
A 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/drivers/infiniband/hw/vmw_pvrdma/ |
A 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()
|
A 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()
|
A D | pvrdma.h | 530 u8 ib_gid_type_to_pvrdma(enum ib_gid_type gid_type);
|
A D | pvrdma_dev_api.h | 632 u8 gid_type; member
|
/linux/include/uapi/rdma/ |
A D | ib_user_ioctl_verbs.h | 265 __u32 gid_type; member
|
/linux/net/smc/ |
A D | smc_ib.c | 226 if (!smcrv2 && attr->gid_type == IB_GID_TYPE_ROCE) { in smc_ib_determine_gid_rcu() 233 if (smcrv2 && attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP && in smc_ib_determine_gid_rcu() 312 if ((!smcrv2 && attr->gid_type == IB_GID_TYPE_ROCE) || in smc_ib_check_link_gid() 313 (smcrv2 && attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP && in smc_ib_check_link_gid()
|
/linux/drivers/infiniband/hw/mlx4/ |
A D | main.c | 219 if (gids[i].gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) { in mlx4_ib_update_gids_v1_v2() 287 port_gid_table->gids[i].gid_type == attr->gid_type && in mlx4_ib_add_gid() 307 port_gid_table->gids[free].gid_type = attr->gid_type; in mlx4_ib_add_gid() 329 gids[i].gid_type = port_gid_table->gids[i].gid_type; in mlx4_ib_add_gid() 388 gids[i].gid_type = in mlx4_ib_del_gid() 389 port_gid_table->gids[i].gid_type; in mlx4_ib_del_gid() 428 attr->gid_type == port_gid_table->gids[i].gid_type) { in mlx4_ib_gid_index_to_real_index()
|
A 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() 2239 u8 qpc_roce_mode = gid_type_to_qpc(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() 3508 enum ib_gid_type gid_type; in _mlx4_ib_post_send() local 3513 &gid, &gid_type)) in _mlx4_ib_post_send() [all …]
|
A D | mlx4_ib.h | 535 enum ib_gid_type gid_type; member
|
/linux/drivers/infiniband/hw/qedr/ |
A D | qedr_roce_cm.c | 410 has_udp = (sgid_attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP); in qedr_gsi_build_header()
|