/freebsd/contrib/ofed/libmlx4/ |
H A D | verbs.c | 160 mctx->port_query_cache[port - 1].link_layer = in mlx4_query_port() 161 attr->link_layer; in mlx4_query_port() 179 port_attr->link_layer = in query_port_cache() 182 link_layer; in query_port_cache() 1005 mqp->link_layer = port_attr.link_layer; in mlx4_modify_qp() 1013 if ((mqp->link_layer == IBV_LINK_LAYER_INFINIBAND) && in mlx4_modify_qp() 1019 if ((mqp->link_layer == IBV_LINK_LAYER_ETHERNET) && in mlx4_modify_qp() 1218 if (port_attr.link_layer != IBV_LINK_LAYER_ETHERNET) { in mlx4_create_ah() 1239 if (port_attr.link_layer == IBV_LINK_LAYER_ETHERNET) { in mlx4_create_ah()
|
H A D | mlx4.h | 151 uint8_t link_layer; member 235 uint8_t link_layer; member
|
H A D | cq.c | 355 if ((*cur_qp) && (*cur_qp)->link_layer == IBV_LINK_LAYER_ETHERNET) in mlx4_parse_cqe() 619 if ((cq->cur_qp) && (cq->cur_qp->link_layer == IBV_LINK_LAYER_ETHERNET)) in mlx4_cq_read_wc_sl()
|
/freebsd/contrib/ofed/libibumad/ |
H A D | umad.c | 169 port->link_layer, UMAD_CA_NAME_LEN) < 0) in get_port() 171 sprintf(port->link_layer, "IB"); in get_port() 266 if (strcmp(ca.ports[*port]->link_layer, "InfiniBand") && in resolve_ca_port() 267 strcmp(ca.ports[*port]->link_layer, "IB")) { in resolve_ca_port() 285 if (strcmp(ca.ports[i]->link_layer, "InfiniBand") && in resolve_ca_port() 286 strcmp(ca.ports[i]->link_layer, "IB")) in resolve_ca_port()
|
H A D | umad.h | 171 char link_layer[UMAD_CA_NAME_LEN]; member
|
/freebsd/contrib/ofed/libibverbs/examples/ |
H A D | devinfo.c | 193 static const char *link_layer_str(uint8_t link_layer) in link_layer_str() argument 195 switch (link_layer) { in link_layer_str() 548 link_layer_str(port_attr.link_layer)); in print_hca_cap()
|
H A D | uc_pingpong.c | 696 if (ctx->portinfo.link_layer != IBV_LINK_LAYER_ETHERNET && in main()
|
H A D | rc_pingpong.c | 871 if (ctx->portinfo.link_layer != IBV_LINK_LAYER_ETHERNET && in main()
|
H A D | srq_pingpong.c | 813 if (ctx->portinfo.link_layer != IBV_LINK_LAYER_ETHERNET in main()
|
H A D | xsrq_pingpong.c | 223 if (port_attr.link_layer != IBV_LINK_LAYER_ETHERNET && !ctx.lid) { in pp_init_ctx()
|
/freebsd/contrib/ofed/librdmacm/ |
H A D | cma.c | 75 uint8_t link_layer; member 291 cma_dev->port[i - 1].link_layer = IBV_LINK_LAYER_UNSPECIFIED; in ucma_init_device() 293 cma_dev->port[i - 1].link_layer = port_attr.link_layer; in ucma_init_device() 1019 uint8_t link_layer; in ucma_modify_qp_rtr() local 1044 link_layer = id_priv->cma_dev->port[id->port_num - 1].link_layer; in ucma_modify_qp_rtr() 1046 if (link_layer == IBV_LINK_LAYER_INFINIBAND) in ucma_modify_qp_rtr()
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | ibstat.c | 193 printf("%sLink layer: %s\n", pre, port->link_layer); in port_dump()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_std_types_device.c | 158 resp->link_layer = rdma_port_get_link_layer(ib_dev, port_num); in copy_port_attr_to_resp()
|
H A D | ib_sysfs.c | 352 static PORT_ATTR_RO(link_layer);
|
/freebsd/contrib/libpcap/ |
H A D | pcap-rdmasniff.c | 311 port_attr.link_layer == IBV_LINK_LAYER_INFINIBAND) { in rdmasniff_activate()
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_main.c | 1366 __u8 link_layer; member 1373 .link_layer = IB_LINK_LAYER_INFINIBAND 1383 u8 link_layer = rdma_port_get_link_layer(qp->device, flow_attr->port); in __mlx4_ib_default_rules_match() local 1389 if (link_layer != pdefault_rules->link_layer) in __mlx4_ib_default_rules_match()
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | verbs.h | 345 uint8_t link_layer; member 1661 port_attr->link_layer = IBV_LINK_LAYER_UNSPECIFIED; in ___ibv_query_port()
|
H A D | kern-abi.h | 326 __u8 link_layer; member
|
H A D | cmd.c | 278 port_attr->link_layer = resp.link_layer; in ibv_cmd_query_port()
|
/freebsd/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_verbs.h | 309 __u8 link_layer; member
|
/freebsd/contrib/ofed/libmlx5/ |
H A D | mlx5.c | 949 context->cached_link_layer[j] = port_attr.link_layer; in mlx5_init_context()
|
H A D | verbs.c | 1679 is_eth = (port_attr.link_layer == IBV_LINK_LAYER_ETHERNET); in mlx5_create_ah()
|