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

/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Dibstat.c177 (unsigned)port->phys_state <=
178 7 ? port_phy_state_str[port->phys_state] : "???");
/freebsd-11-stable/contrib/ofed/libibverbs/examples/
H A Ddevinfo.c88 static const char *port_phy_state_str(uint8_t phys_state) argument
90 switch (phys_state) {
567 port_phy_state_str(port_attr.phys_state), port_attr.phys_state);
/freebsd-11-stable/contrib/ofed/libibumad/
H A Dumad.c157 if (sys_read_uint(port_dir, SYS_PORT_PHY_STATE, &port->phys_state) < 0)
275 if (ca.ports[*port]->phys_state != 3)
288 if (up < 0 && ca.ports[i]->phys_state == 5)
302 if (ca.ports[i]->phys_state != 3) {
H A Dumad.h149 #define SYS_PORT_PHY_STATE "phys_state"
164 unsigned phys_state; member in struct:umad_port
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c292 switch (attr.phys_state) {
300 default: return sprintf(buf, "%d: <unknown>\n", attr.phys_state);
324 static PORT_ATTR_RO(phys_state);
H A Dib_uverbs_cmd.c534 resp.phys_state = attr.phys_state;
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_mad.c529 props->phys_state = out_mad->data[33] >> 4;
H A Dmlx5_ib_main.c321 props->phys_state = 3;
332 props->phys_state = 5;
938 props->phys_state = MLX5_GET(hca_vport_context, ctx,
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Dkern-abi.h325 __u8 phys_state; member in struct:ibv_query_port_resp
H A Dcmd.c277 port_attr->phys_state = resp.phys_state;
H A Dverbs.h344 uint8_t phys_state; member in struct:ibv_port_attr
/freebsd-11-stable/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h285 __u8 phys_state; member in struct:ib_uverbs_query_port_resp
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c628 props->phys_state = out_mad->data[33] >> 4;
723 props->phys_state = state_to_phys_state(props->state);
742 props->phys_state = state_to_phys_state(props->state);
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_provider.c164 props->phys_state = out_mad->data[33] >> 4;
/freebsd-11-stable/contrib/ofed/opensm/include/iba/
H A Dib_types.h5048 ib_port_info_set_port_phys_state(IN uint8_t const phys_state,
5054 (phys_state << IB_PORT_PHYS_STATE_SHIFT));
5059 * phys_state
/freebsd-11-stable/sys/ofed/include/rdma/
H A Dib_verbs.h540 u8 phys_state; member in struct:ib_port_attr

Completed in 426 milliseconds