/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 | 565 enum ib_gid_type gid_type = IB_GID_TYPE_ROCE; in set_roce_addr() local 573 gid_type = attr->gid_type; in set_roce_addr() 579 switch (gid_type) { in set_roce_addr() 592 mlx5_ib_warn(dev, "Unexpected GID type %u\n", gid_type); in set_roce_addr() 618 if (attr->gid_type != IB_GID_TYPE_ROCE_UDP_ENCAP) in mlx5_get_roce_udp_sport_min()
|
D | qp.c | 3205 enum ib_gid_type gid_type; in mlx5_set_path() local 3233 (grh->sgid_attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) && in mlx5_set_path() 3239 gid_type = ah->grh.sgid_attr->gid_type; in mlx5_set_path() 3240 if (gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) in mlx5_set_path()
|
/drivers/infiniband/core/ |
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 sprintf(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()
|
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() 686 enum ib_gid_type gid_type, in rdma_find_gid_by_port() argument 693 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 | 72 enum ib_gid_type gid_type); 474 id_priv->gid_type = in cma_attach_to_dev() 565 enum ib_gid_type gid_type, in cma_validate_port() argument 589 gid_type = IB_GID_TYPE_IB; in cma_validate_port() 592 sgid_attr = rdma_find_gid_by_port(device, gid, gid_type, port, ndev); in cma_validate_port() 620 enum ib_gid_type gid_type; in cma_acquire_dev_by_src_ip() local 639 gid_type = cma_dev->default_gid_type[port - 1]; in cma_acquire_dev_by_src_ip() 641 gid_type, gidp, id_priv); in cma_acquire_dev_by_src_ip() 673 enum ib_gid_type gid_type; in cma_ib_acquire_dev() local 687 gid_type = listen_id_priv->cma_dev->default_gid_type[req->port - 1]; in cma_ib_acquire_dev() [all …]
|
D | cma_priv.h | 93 enum ib_gid_type gid_type; member
|
D | verbs.c | 681 enum ib_gid_type gid_type; member 692 if (ctx->gid_type != gid_attr->gid_type) in find_gid_index() 705 enum ib_gid_type gid_type) in get_sgid_attr_from_eth() argument 708 .gid_type = gid_type}; in get_sgid_attr_from_eth() 764 sgid_attr->gid_type == IB_GID_TYPE_ROCE) { in ib_resolve_unicast_gid_dmac() 797 enum ib_gid_type gid_type = IB_GID_TYPE_IB; in ib_init_ah_attr_from_wc() local 812 gid_type = ib_network_to_gid_type(net_type); in ib_init_ah_attr_from_wc() 831 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 | 118 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 | 129 const char *ib_cache_gid_type_str(enum ib_gid_type gid_type);
|
D | multicast.c | 737 enum ib_gid_type gid_type, in ib_init_ah_from_mcmember() argument 751 gid_type, port_num, ndev); in ib_init_ah_from_mcmember()
|
D | sysfs.c | 376 return sprintf(buf, "%s\n", ib_cache_gid_type_str(gid_attr->gid_type)); in print_gid_type()
|
/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 | 612 u8 gid_type, in pvrdma_add_gid_at_index() argument 630 cmd_bind->gid_type = gid_type; in pvrdma_add_gid_at_index() 647 ib_gid_type_to_pvrdma(attr->gid_type), in pvrdma_add_gid()
|
D | pvrdma.h | 540 u8 ib_gid_type_to_pvrdma(enum ib_gid_type gid_type);
|
D | pvrdma_dev_api.h | 632 u8 gid_type; member
|
/drivers/infiniband/hw/mlx4/ |
D | main.c | 218 if (gids[i].gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) { in mlx4_ib_update_gids_v1_v2() 286 port_gid_table->gids[i].gid_type == attr->gid_type && in mlx4_ib_add_gid() 306 port_gid_table->gids[free].gid_type = attr->gid_type; in mlx4_ib_add_gid() 328 gids[i].gid_type = port_gid_table->gids[i].gid_type; in mlx4_ib_add_gid() 387 gids[i].gid_type = in mlx4_ib_del_gid() 388 port_gid_table->gids[i].gid_type; in mlx4_ib_del_gid() 427 attr->gid_type == port_gid_table->gids[i].gid_type) { in mlx4_ib_gid_index_to_real_index()
|
D | qp.c | 1957 static u8 gid_type_to_qpc(enum ib_gid_type gid_type) in gid_type_to_qpc() argument 1959 switch (gid_type) { in gid_type_to_qpc() 2243 enum ib_gid_type gid_type = qp->flags & MLX4_IB_ROCE_V2_GSI_QP ? in __mlx4_ib_modify_qp() 2245 u8 qpc_roce_mode = gid_type_to_qpc(gid_type); in __mlx4_ib_modify_qp() 2284 u8 qpc_roce_mode = gid_type_to_qpc(gid_attr->gid_type); in __mlx4_ib_modify_qp() 2959 enum ib_gid_type *gid_type) in fill_gid_by_hw_index() argument 2968 *gid_type = port_gid_table->gids[index].gid_type; in fill_gid_by_hw_index() 3008 enum ib_gid_type gid_type; in build_mlx_header() local 3021 &gid_type); in build_mlx_header() 3023 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
|
/drivers/infiniband/hw/qedr/ |
D | qedr_roce_cm.c | 411 has_udp = (sgid_attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP); in qedr_gsi_build_header()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_device.h | 1137 return grh->sgid_attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP ? in get_tclass()
|
D | hns_roce_hw_v2.c | 2691 if (attr->gid_type == IB_GID_TYPE_ROCE) in hns_roce_v2_set_gid() 2694 if (attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) { in hns_roce_v2_set_gid() 4431 is_udp = (gid_attr->gid_type == in hns_roce_v2_set_path()
|
/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 2161 is_udp = sgid_attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP; in bnxt_re_build_qp1_send_v2()
|