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

/freebsd-11-stable/contrib/ofed/libmlx4/
H A Dverbs.c160 mctx->port_query_cache[port - 1].link_layer =
161 attr->link_layer;
179 port_attr->link_layer =
182 link_layer;
992 mqp->link_layer = port_attr.link_layer;
1000 if ((mqp->link_layer == IBV_LINK_LAYER_INFINIBAND) &&
1006 if ((mqp->link_layer == IBV_LINK_LAYER_ETHERNET) &&
1202 if (port_attr.link_layer != IBV_LINK_LAYER_ETHERNET) {
1223 if (port_attr.link_layer
[all...]
H A Dmlx4.h151 uint8_t link_layer; member in struct:mlx4_context::__anon3791
235 uint8_t link_layer; member in struct:mlx4_qp
H A Dcq.c355 if ((*cur_qp) && (*cur_qp)->link_layer == IBV_LINK_LAYER_ETHERNET)
619 if ((cq->cur_qp) && (cq->cur_qp->link_layer == IBV_LINK_LAYER_ETHERNET))
/freebsd-11-stable/contrib/ofed/libibumad/
H A Dumad.c169 port->link_layer, UMAD_CA_NAME_LEN) < 0)
171 sprintf(port->link_layer, "IB");
266 if (strcmp(ca.ports[*port]->link_layer, "InfiniBand") &&
267 strcmp(ca.ports[*port]->link_layer, "IB")) {
285 if (strcmp(ca.ports[i]->link_layer, "InfiniBand") &&
286 strcmp(ca.ports[i]->link_layer, "IB"))
H A Dumad.h154 #define SYS_PORT_LINK_LAYER "link_layer"
171 char link_layer[UMAD_CA_NAME_LEN]; member in struct:umad_port
/freebsd-11-stable/contrib/ofed/libibverbs/examples/
H A Ddevinfo.c192 static const char *link_layer_str(uint8_t link_layer) argument
194 switch (link_layer) {
547 link_layer_str(port_attr.link_layer));
H A Duc_pingpong.c692 if (ctx->portinfo.link_layer != IBV_LINK_LAYER_ETHERNET &&
H A Dxsrq_pingpong.c223 if (port_attr.link_layer != IBV_LINK_LAYER_ETHERNET && !ctx.lid) {
H A Dsrq_pingpong.c809 if (ctx->portinfo.link_layer != IBV_LINK_LAYER_ETHERNET
H A Drc_pingpong.c867 if (ctx->portinfo.link_layer != IBV_LINK_LAYER_ETHERNET &&
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Dibstat.c192 printf("%sLink layer: %s\n", pre, port->link_layer);
/freebsd-11-stable/contrib/ofed/librdmacm/
H A Dcma.c75 uint8_t link_layer; member in struct:cma_port
291 cma_dev->port[i - 1].link_layer = IBV_LINK_LAYER_UNSPECIFIED;
293 cma_dev->port[i - 1].link_layer = port_attr.link_layer;
1018 uint8_t link_layer; local
1043 link_layer = id_priv->cma_dev->port[id->port_num - 1].link_layer;
1045 if (link_layer == IBV_LINK_LAYER_INFINIBAND)
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-rdmasniff.c297 port_attr.link_layer == IBV_LINK_LAYER_INFINIBAND) {
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Dverbs.h345 uint8_t link_layer; member in struct:ibv_port_attr
1659 port_attr->link_layer = IBV_LINK_LAYER_UNSPECIFIED;
H A Dkern-abi.h326 __u8 link_layer; member in struct:ibv_query_port_resp
H A Dcmd.c278 port_attr->link_layer = resp.link_layer;
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c1462 __u8 link_layer; member in struct:default_rules
1469 .link_layer = IB_LINK_LAYER_INFINIBAND
1479 u8 link_layer = rdma_port_get_link_layer(qp->device, flow_attr->port); local
1485 if (link_layer != pdefault_rules->link_layer)
/freebsd-11-stable/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h286 __u8 link_layer; member in struct:ib_uverbs_query_port_resp
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dmlx5.c932 context->cached_link_layer[j] = port_attr.link_layer;
H A Dverbs.c1653 is_eth = (port_attr.link_layer == IBV_LINK_LAYER_ETHERNET);
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c325 static PORT_ATTR_RO(link_layer);
H A Dib_uverbs_cmd.c535 resp.link_layer = rdma_port_get_link_layer(ib_dev,

Completed in 213 milliseconds