Home
last modified time | relevance | path

Searched refs:gid_type (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/infiniband/hw/mlx5/
A Dah.c38 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 Dmain.c568 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 Dcma_configfs.c105 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 Dcache.c146 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 Dcma.c465 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 Dcma_priv.h102 enum ib_gid_type gid_type; member
A Dverbs.c684 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 Droce_gid_mgmt.c74 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 Dlag.c118 ah_attr->grh.sgid_attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP && in rdma_lag_get_ah_roce_slave()
A Duverbs_std_types_device.c410 entry.gid_type = gid_attr->gid_type; in UVERBS_HANDLER()
A Dcore_priv.h127 const char *ib_cache_gid_type_str(enum ib_gid_type gid_type);
A Dmulticast.c738 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 Dib_cache.h18 enum ib_gid_type gid_type,
22 enum ib_gid_type gid_type,
A Dib_sa.h496 enum ib_gid_type gid_type,
A Dib_verbs.h155 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 Dpvrdma_misc.c301 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 Dpvrdma_main.c584 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 Dpvrdma.h530 u8 ib_gid_type_to_pvrdma(enum ib_gid_type gid_type);
A Dpvrdma_dev_api.h632 u8 gid_type; member
/linux/include/uapi/rdma/
A Dib_user_ioctl_verbs.h265 __u32 gid_type; member
/linux/net/smc/
A Dsmc_ib.c226 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 Dmain.c219 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 Dqp.c1951 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 Dmlx4_ib.h535 enum ib_gid_type gid_type; member
/linux/drivers/infiniband/hw/qedr/
A Dqedr_roce_cm.c410 has_udp = (sgid_attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP); in qedr_gsi_build_header()

Completed in 102 milliseconds

12