Home
last modified time | relevance | path

Searched refs:phys_state (Results 1 – 16 of 16) sorted by relevance

/freebsd-12.1/contrib/ofed/libibverbs/examples/
H A Ddevinfo.c88 static const char *port_phy_state_str(uint8_t phys_state) in port_phy_state_str() argument
90 switch (phys_state) { in port_phy_state_str()
567 port_phy_state_str(port_attr.phys_state), port_attr.phys_state); in print_hca_cap()
/freebsd-12.1/contrib/ofed/infiniband-diags/src/
H A Dibstat.c177 (unsigned)port->phys_state <= in port_dump()
178 7 ? port_phy_state_str[port->phys_state] : "???"); in port_dump()
/freebsd-12.1/contrib/ofed/libibumad/
H A Dumad.c157 if (sys_read_uint(port_dir, SYS_PORT_PHY_STATE, &port->phys_state) < 0) in get_port()
275 if (ca.ports[*port]->phys_state != 3) in resolve_ca_port()
288 if (up < 0 && ca.ports[i]->phys_state == 5) in resolve_ca_port()
302 if (ca.ports[i]->phys_state != 3) { in resolve_ca_port()
H A Dumad.h164 unsigned phys_state; member
/freebsd-12.1/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c292 switch (attr.phys_state) { in phys_state_show()
300 default: return sprintf(buf, "%d: <unknown>\n", attr.phys_state); in phys_state_show()
324 static PORT_ATTR_RO(phys_state);
H A Dib_uverbs_cmd.c534 resp.phys_state = attr.phys_state; in ib_uverbs_query_port()
/freebsd-12.1/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_mad.c529 props->phys_state = out_mad->data[33] >> 4; in mlx5_query_mad_ifc_port()
H A Dmlx5_ib_main.c321 props->phys_state = 3; in mlx5_query_port_roce()
332 props->phys_state = 5; in mlx5_query_port_roce()
938 props->phys_state = MLX5_GET(hca_vport_context, ctx, in mlx5_query_hca_port()
/freebsd-12.1/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h285 __u8 phys_state; member
/freebsd-12.1/contrib/ofed/libibverbs/
H A Dkern-abi.h325 __u8 phys_state; member
H A Dcmd.c277 port_attr->phys_state = resp.phys_state; in ibv_cmd_query_port()
H A Dverbs.h344 uint8_t phys_state; member
/freebsd-12.1/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c623 props->phys_state = out_mad->data[33] >> 4; in ib_link_query_port()
718 props->phys_state = state_to_phys_state(props->state); in eth_link_query_port()
737 props->phys_state = state_to_phys_state(props->state); in eth_link_query_port()
/freebsd-12.1/sys/dev/mthca/
H A Dmthca_provider.c164 props->phys_state = out_mad->data[33] >> 4; in mthca_query_port()
/freebsd-12.1/contrib/ofed/opensm/include/iba/
H A Dib_types.h5048 ib_port_info_set_port_phys_state(IN uint8_t const phys_state, in ib_port_info_set_port_phys_state() argument
5054 (phys_state << IB_PORT_PHYS_STATE_SHIFT)); in ib_port_info_set_port_phys_state()
/freebsd-12.1/sys/ofed/include/rdma/
H A Dib_verbs.h542 u8 phys_state; member