/freebsd/contrib/ofed/libibverbs/examples/ |
H A D | devinfo.c | 88 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/contrib/ofed/infiniband-diags/src/ |
H A D | ibstat.c | 178 (unsigned)port->phys_state <= in port_dump() 179 7 ? port_phy_state_str[port->phys_state] : "???"); in port_dump()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_std_types_device.c | 157 resp->phys_state = attr->phys_state; in copy_port_attr_to_resp()
|
H A D | ib_sysfs.c | 298 static const char *phys_state_to_str(enum ib_port_phys_state phys_state) in phys_state_to_str() argument 311 if (phys_state < ARRAY_SIZE(phys_state_str)) in phys_state_to_str() 312 return phys_state_str[phys_state]; in phys_state_to_str() 327 return sprintf(buf, "%d: %s\n", attr.phys_state, in phys_state_show() 328 phys_state_to_str(attr.phys_state)); in phys_state_show() 351 static PORT_ATTR_RO(phys_state);
|
/freebsd/contrib/ofed/libibumad/ |
H A D | umad.c | 157 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 D | umad.h | 164 unsigned phys_state; member
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_mad.c | 530 props->phys_state = out_mad->data[33] >> 4; in mlx5_query_mad_ifc_port()
|
H A D | mlx5_ib_main.c | 326 props->phys_state = IB_PORT_PHYS_STATE_DISABLED; in mlx5_query_port_roce() 338 props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in mlx5_query_port_roce() 945 props->phys_state = MLX5_GET(hca_vport_context, ctx, in mlx5_query_hca_port()
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_kcompat.c | 1523 props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in irdma_query_port() 1526 props->phys_state = IB_PORT_PHYS_STATE_DISABLED; in irdma_query_port()
|
/freebsd/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_verbs.h | 308 __u8 phys_state; member
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | kern-abi.h | 325 __u8 phys_state; member
|
H A D | cmd.c | 277 port_attr->phys_state = resp.phys_state; in ibv_cmd_query_port()
|
H A D | verbs.h | 344 uint8_t phys_state; member
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_main.c | 624 props->phys_state = out_mad->data[33] >> 4; in ib_link_query_port() 720 props->phys_state = state_to_phys_state(props->state); in eth_link_query_port() 740 props->phys_state = state_to_phys_state(props->state); in eth_link_query_port()
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_provider.c | 165 props->phys_state = out_mad->data[33] >> 4; in mthca_query_port()
|
/freebsd/contrib/ofed/opensm/include/iba/ |
H A D | ib_types.h | 5048 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/sys/dev/qlnx/qlnxr/ |
H A D | qlnxr_verbs.c | 622 attr->phys_state = 5; in qlnxr_query_port() 625 attr->phys_state = 3; in qlnxr_query_port() 657 attr->state, attr->phys_state, in qlnxr_query_port()
|
/freebsd/sys/ofed/include/rdma/ |
H A D | ib_verbs.h | 613 u8 phys_state; member
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | ib_verbs.c | 297 port_attr->phys_state = IB_PORT_PHYS_STATE_DISABLED; in bnxt_re_query_port() 300 port_attr->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in bnxt_re_query_port()
|