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

/freebsd-current/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;
1005 mqp->link_layer = port_attr.link_layer;
1013 if ((mqp->link_layer == IBV_LINK_LAYER_INFINIBAND) &&
1019 if ((mqp->link_layer == IBV_LINK_LAYER_ETHERNET) &&
1218 if (port_attr.link_layer != IBV_LINK_LAYER_ETHERNET) {
1239 if (port_attr.link_layer
[all...]
H A Dmlx4.h151 uint8_t link_layer; member in struct:mlx4_context::__anon36
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-current/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-current/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.c696 if (ctx->portinfo.link_layer != IBV_LINK_LAYER_ETHERNET &&
H A Drc_pingpong.c871 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.c813 if (ctx->portinfo.link_layer != IBV_LINK_LAYER_ETHERNET
/freebsd-current/contrib/ofed/infiniband-diags/src/
H A Dibstat.c193 printf("%sLink layer: %s\n", pre, port->link_layer);
/freebsd-current/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);
H A Dib_sysfs.c352 static PORT_ATTR_RO(link_layer);
/freebsd-current/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;
1019 uint8_t link_layer; local
1044 link_layer = id_priv->cma_dev->port[id->port_num - 1].link_layer;
1046 if (link_layer == IBV_LINK_LAYER_INFINIBAND)
/freebsd-current/contrib/libpcap/
H A Dpcap-rdmasniff.c313 port_attr.link_layer == IBV_LINK_LAYER_INFINIBAND) {
/freebsd-current/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-current/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c1366 __u8 link_layer; member in struct:default_rules
1373 .link_layer = IB_LINK_LAYER_INFINIBAND
1383 u8 link_layer = rdma_port_get_link_layer(qp->device, flow_attr->port); local
1389 if (link_layer != pdefault_rules->link_layer)
/freebsd-current/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h309 __u8 link_layer; member in struct:ib_uverbs_query_port_resp
/freebsd-current/contrib/ofed/libmlx5/
H A Dmlx5.c949 context->cached_link_layer[j] = port_attr.link_layer;
H A Dverbs.c1679 is_eth = (port_attr.link_layer == IBV_LINK_LAYER_ETHERNET);

Completed in 589 milliseconds