gid_type          140 drivers/infiniband/core/cache.c const char *ib_cache_gid_type_str(enum ib_gid_type gid_type)
gid_type          142 drivers/infiniband/core/cache.c 	if (gid_type < ARRAY_SIZE(gid_type_str) && gid_type_str[gid_type])
gid_type          143 drivers/infiniband/core/cache.c 		return gid_type_str[gid_type];
gid_type          512 drivers/infiniband/core/cache.c 		    attr->gid_type != val->gid_type)
gid_type          682 drivers/infiniband/core/cache.c 		      enum ib_gid_type gid_type,
gid_type          689 drivers/infiniband/core/cache.c 	struct ib_gid_attr val = {.ndev = ndev, .gid_type = gid_type};
gid_type          846 drivers/infiniband/core/cache.c 	unsigned int gid_type;
gid_type          855 drivers/infiniband/core/cache.c 	for (gid_type = 0; gid_type < IB_GID_TYPE_SIZE; ++gid_type) {
gid_type          856 drivers/infiniband/core/cache.c 		if (1UL << gid_type & ~gid_type_mask)
gid_type          859 drivers/infiniband/core/cache.c 		gid_attr.gid_type = gid_type;
gid_type          996 drivers/infiniband/core/cache.c 					enum ib_gid_type gid_type,
gid_type         1001 drivers/infiniband/core/cache.c 	struct ib_gid_attr gid_attr_val = {.ndev = ndev, .gid_type = gid_type};
gid_type         1988 drivers/infiniband/core/cm.c 			sa_conv_gid_to_pathrec_type(gid_attr->gid_type);
gid_type          508 drivers/infiniband/core/cma.c 	id_priv->gid_type =
gid_type          609 drivers/infiniband/core/cma.c 		  enum ib_gid_type gid_type,
gid_type          633 drivers/infiniband/core/cma.c 		gid_type = IB_GID_TYPE_IB;
gid_type          636 drivers/infiniband/core/cma.c 	sgid_attr = rdma_find_gid_by_port(device, gid, gid_type, port, ndev);
gid_type          664 drivers/infiniband/core/cma.c 	enum ib_gid_type gid_type;
gid_type          683 drivers/infiniband/core/cma.c 			gid_type = cma_dev->default_gid_type[port - 1];
gid_type          685 drivers/infiniband/core/cma.c 						      gid_type, gidp, id_priv);
gid_type          717 drivers/infiniband/core/cma.c 	enum ib_gid_type gid_type;
gid_type          731 drivers/infiniband/core/cma.c 	gid_type = listen_id_priv->cma_dev->default_gid_type[req->port - 1];
gid_type          733 drivers/infiniband/core/cma.c 				      gid_type, &gid, id_priv);
gid_type          755 drivers/infiniband/core/cma.c 	enum ib_gid_type gid_type;
gid_type          771 drivers/infiniband/core/cma.c 	gid_type = listen_id_priv->gid_type;
gid_type          773 drivers/infiniband/core/cma.c 				      gid_type, &gid, id_priv);
gid_type          787 drivers/infiniband/core/cma.c 			gid_type = cma_dev->default_gid_type[port - 1];
gid_type          789 drivers/infiniband/core/cma.c 						      gid_type, &gid, id_priv);
gid_type          895 drivers/infiniband/core/cma.c 	id_priv->gid_type = IB_GID_TYPE_IB;
gid_type         2750 drivers/infiniband/core/cma.c 	enum ib_gid_type gid_type = IB_GID_TYPE_ROCE;
gid_type         2765 drivers/infiniband/core/cma.c 	gid_type = cma_route_gid_type(addr->dev_addr.network,
gid_type         2767 drivers/infiniband/core/cma.c 				      id_priv->gid_type);
gid_type         2769 drivers/infiniband/core/cma.c 	if (gid_type < ib_network_to_gid_type(addr->dev_addr.network))
gid_type         2770 drivers/infiniband/core/cma.c 		gid_type = ib_network_to_gid_type(addr->dev_addr.network);
gid_type         2771 drivers/infiniband/core/cma.c 	route->path_rec->rec_type = sa_conv_gid_to_pathrec_type(gid_type);
gid_type         4184 drivers/infiniband/core/cma.c 		enum ib_gid_type gid_type =
gid_type         4192 drivers/infiniband/core/cma.c 					       ndev, gid_type,
gid_type         4317 drivers/infiniband/core/cma.c 			      enum ib_gid_type gid_type)
gid_type         4328 drivers/infiniband/core/cma.c 			(gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) ? 0 : 0xff;
gid_type         4330 drivers/infiniband/core/cma.c 			(gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) ? 0 : 0x0e;
gid_type         4353 drivers/infiniband/core/cma.c 	enum ib_gid_type gid_type;
gid_type         4371 drivers/infiniband/core/cma.c 	gid_type = id_priv->cma_dev->default_gid_type[id_priv->id.port_num -
gid_type         4373 drivers/infiniband/core/cma.c 	cma_iboe_set_mgid(addr, &mc->multicast.ib->rec.mgid, gid_type);
gid_type         4390 drivers/infiniband/core/cma.c 		if (gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) {
gid_type         4398 drivers/infiniband/core/cma.c 		if (gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP)
gid_type          105 drivers/infiniband/core/cma_configfs.c 	int gid_type;
gid_type          112 drivers/infiniband/core/cma_configfs.c 	gid_type = cma_get_default_gid_type(cma_dev, group->port_num);
gid_type          115 drivers/infiniband/core/cma_configfs.c 	if (gid_type < 0)
gid_type          116 drivers/infiniband/core/cma_configfs.c 		return gid_type;
gid_type          118 drivers/infiniband/core/cma_configfs.c 	return sprintf(buf, "%s\n", ib_cache_gid_type_str(gid_type));
gid_type          126 drivers/infiniband/core/cma_configfs.c 	int gid_type = ib_cache_gid_parse_type_str(buf);
gid_type          129 drivers/infiniband/core/cma_configfs.c 	if (gid_type < 0)
gid_type          136 drivers/infiniband/core/cma_configfs.c 	ret = cma_set_default_gid_type(cma_dev, group->port_num, gid_type);
gid_type           92 drivers/infiniband/core/cma_priv.h 	enum ib_gid_type	gid_type;
gid_type          128 drivers/infiniband/core/core_priv.h const char *ib_cache_gid_type_str(enum ib_gid_type gid_type);
gid_type          737 drivers/infiniband/core/multicast.c 			     enum ib_gid_type gid_type,
gid_type          751 drivers/infiniband/core/multicast.c 					  gid_type, port_num, ndev);
gid_type           74 drivers/infiniband/core/roce_gid_mgmt.c 	enum ib_gid_type gid_type;
gid_type           92 drivers/infiniband/core/roce_gid_mgmt.c 			ret_flags |= 1UL << PORT_CAP_TO_GID_TYPE[i].gid_type;
gid_type          107 drivers/infiniband/core/roce_gid_mgmt.c 			gid_attr->gid_type = i;
gid_type          376 drivers/infiniband/core/sysfs.c 	return sprintf(buf, "%s\n", ib_cache_gid_type_str(gid_attr->gid_type));
gid_type          657 drivers/infiniband/core/verbs.c 	enum ib_gid_type gid_type;
gid_type          668 drivers/infiniband/core/verbs.c 	if (ctx->gid_type != gid_attr->gid_type)
gid_type          681 drivers/infiniband/core/verbs.c 		       enum ib_gid_type gid_type)
gid_type          684 drivers/infiniband/core/verbs.c 						 .gid_type = gid_type};
gid_type          740 drivers/infiniband/core/verbs.c 	    sgid_attr->gid_type == IB_GID_TYPE_ROCE) {
gid_type          773 drivers/infiniband/core/verbs.c 	enum ib_gid_type gid_type = IB_GID_TYPE_IB;
gid_type          788 drivers/infiniband/core/verbs.c 		gid_type = ib_network_to_gid_type(net_type);
gid_type          807 drivers/infiniband/core/verbs.c 						   gid_type);
gid_type         1877 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	is_udp = sgid_attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP;
gid_type         2179 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (attr->gid_type == IB_GID_TYPE_ROCE)
gid_type         2182 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) {
gid_type         4085 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			is_udp = (gid_attr->gid_type ==
gid_type          218 drivers/infiniband/hw/mlx4/main.c 		if (gids[i].gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) {
gid_type          281 drivers/infiniband/hw/mlx4/main.c 		    port_gid_table->gids[i].gid_type == attr->gid_type)  {
gid_type          300 drivers/infiniband/hw/mlx4/main.c 				port_gid_table->gids[free].gid_type = attr->gid_type;
gid_type          321 drivers/infiniband/hw/mlx4/main.c 				gids[i].gid_type = port_gid_table->gids[i].gid_type;
gid_type          380 drivers/infiniband/hw/mlx4/main.c 				gids[i].gid_type =
gid_type          381 drivers/infiniband/hw/mlx4/main.c 				    port_gid_table->gids[i].gid_type;
gid_type          420 drivers/infiniband/hw/mlx4/main.c 		    attr->gid_type == port_gid_table->gids[i].gid_type) {
gid_type          509 drivers/infiniband/hw/mlx4/mlx4_ib.h 	enum ib_gid_type gid_type;
gid_type         2013 drivers/infiniband/hw/mlx4/qp.c static u8 gid_type_to_qpc(enum ib_gid_type gid_type)
gid_type         2015 drivers/infiniband/hw/mlx4/qp.c 	switch (gid_type) {
gid_type         2299 drivers/infiniband/hw/mlx4/qp.c 			enum ib_gid_type gid_type = qp->flags & MLX4_IB_ROCE_V2_GSI_QP ?
gid_type         2301 drivers/infiniband/hw/mlx4/qp.c 			u8 qpc_roce_mode = gid_type_to_qpc(gid_type);
gid_type         2340 drivers/infiniband/hw/mlx4/qp.c 			u8 qpc_roce_mode = gid_type_to_qpc(gid_attr->gid_type);
gid_type         3014 drivers/infiniband/hw/mlx4/qp.c 				enum ib_gid_type *gid_type)
gid_type         3023 drivers/infiniband/hw/mlx4/qp.c 	*gid_type = port_gid_table->gids[index].gid_type;
gid_type         3062 drivers/infiniband/hw/mlx4/qp.c 		enum ib_gid_type gid_type;
gid_type         3075 drivers/infiniband/hw/mlx4/qp.c 					    &sgid, &gid_type);
gid_type         3077 drivers/infiniband/hw/mlx4/qp.c 				is_udp = gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP;
gid_type         3558 drivers/infiniband/hw/mlx4/qp.c 			enum ib_gid_type gid_type;
gid_type         3563 drivers/infiniband/hw/mlx4/qp.c 					   &gid, &gid_type))
gid_type         3564 drivers/infiniband/hw/mlx4/qp.c 				qp = (gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) ?
gid_type           38 drivers/infiniband/hw/mlx5/ah.c 	enum ib_gid_type gid_type;
gid_type           54 drivers/infiniband/hw/mlx5/ah.c 		gid_type = ah_attr->grh.sgid_attr->gid_type;
gid_type           61 drivers/infiniband/hw/mlx5/ah.c 		if (gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP)
gid_type          582 drivers/infiniband/hw/mlx5/main.c 	enum ib_gid_type gid_type = IB_GID_TYPE_IB;
gid_type          590 drivers/infiniband/hw/mlx5/main.c 		gid_type = attr->gid_type;
gid_type          596 drivers/infiniband/hw/mlx5/main.c 	switch (gid_type) {
gid_type          609 drivers/infiniband/hw/mlx5/main.c 		mlx5_ib_warn(dev, "Unexpected GID type %u\n", gid_type);
gid_type          635 drivers/infiniband/hw/mlx5/main.c 	if (attr->gid_type != IB_GID_TYPE_ROCE_UDP_ENCAP)
gid_type         2915 drivers/infiniband/hw/mlx5/qp.c 	enum ib_gid_type gid_type;
gid_type         2945 drivers/infiniband/hw/mlx5/qp.c 		gid_type = ah->grh.sgid_attr->gid_type;
gid_type         2946 drivers/infiniband/hw/mlx5/qp.c 		if (gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP)
gid_type          411 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	has_udp = (sgid_attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP);
gid_type          526 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h u8 ib_gid_type_to_pvrdma(enum ib_gid_type gid_type);
gid_type          620 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h 	u8 gid_type;
gid_type          612 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 				   u8 gid_type,
gid_type          630 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	cmd_bind->gid_type = gid_type;
gid_type          647 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 				       ib_gid_type_to_pvrdma(attr->gid_type),
gid_type          302 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c u8 ib_gid_type_to_pvrdma(enum ib_gid_type gid_type)
gid_type          304 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c 	return (gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) ?
gid_type           44 include/rdma/ib_cache.h 					enum ib_gid_type gid_type,
gid_type           48 include/rdma/ib_cache.h 						enum ib_gid_type gid_type,
gid_type          546 include/rdma/ib_sa.h 			     enum ib_gid_type gid_type,
gid_type          172 include/rdma/ib_verbs.h 	enum ib_gid_type	gid_type;
gid_type          220 include/rdma/ib_verbs.h 	if (attr->gid_type == IB_GID_TYPE_IB)
gid_type          197 net/smc/smc_ib.c 		    attr->gid_type == IB_GID_TYPE_ROCE) {