Home
last modified time | relevance | path

Searched refs:link_layer (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/ofed/libmlx4/
H A Dverbs.c160 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 Dmlx4.h151 uint8_t link_layer; member
235 uint8_t link_layer; member
H A Dcq.c355 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 Dumad.c169 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 Dumad.h171 char link_layer[UMAD_CA_NAME_LEN]; member
/freebsd/contrib/ofed/libibverbs/examples/
H A Ddevinfo.c192 static const char *link_layer_str(uint8_t link_layer) in link_layer_str() argument
194 switch (link_layer) { in link_layer_str()
547 link_layer_str(port_attr.link_layer)); in print_hca_cap()
H A Duc_pingpong.c696 if (ctx->portinfo.link_layer != IBV_LINK_LAYER_ETHERNET && in main()
H A Drc_pingpong.c871 if (ctx->portinfo.link_layer != IBV_LINK_LAYER_ETHERNET && in main()
H A Dsrq_pingpong.c813 if (ctx->portinfo.link_layer != IBV_LINK_LAYER_ETHERNET in main()
H A Dxsrq_pingpong.c223 if (port_attr.link_layer != IBV_LINK_LAYER_ETHERNET && !ctx.lid) { in pp_init_ctx()
/freebsd/contrib/ofed/librdmacm/
H A Dcma.c75 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 Dibstat.c193 printf("%sLink layer: %s\n", pre, port->link_layer); in port_dump()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_std_types_device.c158 resp->link_layer = rdma_port_get_link_layer(ib_dev, port_num); in copy_port_attr_to_resp()
H A Dib_sysfs.c352 static PORT_ATTR_RO(link_layer);
/freebsd/contrib/libpcap/
H A Dpcap-rdmasniff.c313 port_attr.link_layer == IBV_LINK_LAYER_INFINIBAND) { in rdmasniff_activate()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c1366 __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 Dverbs.h345 uint8_t link_layer; member
1659 port_attr->link_layer = IBV_LINK_LAYER_UNSPECIFIED; in ___ibv_query_port()
H A Dkern-abi.h326 __u8 link_layer; member
H A Dcmd.c278 port_attr->link_layer = resp.link_layer; in ibv_cmd_query_port()
/freebsd/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h309 __u8 link_layer; member
/freebsd/contrib/ofed/libmlx5/
H A Dmlx5.c949 context->cached_link_layer[j] = port_attr.link_layer; in mlx5_init_context()
H A Dverbs.c1679 is_eth = (port_attr.link_layer == IBV_LINK_LAYER_ETHERNET); in mlx5_create_ah()