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

/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/scripts/
H A Dibstatus32 echo " phys state: " `[ -r $port_dir/phys_state ] && cat $port_dir/phys_state || echo unknown`
/freebsd-9.3-release/contrib/ofed/libibverbs/examples/
H A Ddevinfo.c90 static const char *port_phy_state_str(uint8_t phys_state) argument
92 switch (phys_state) {
319 port_phy_state_str(port_attr.phys_state), port_attr.phys_state);
/freebsd-9.3-release/contrib/ofed/management/libibumad/include/infiniband/
H A Dumad.h116 #define SYS_PORT_PHY_STATE "phys_state"
130 unsigned phys_state; member in struct:umad_port
/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/src/
H A Dibstat.c127 printf("%sPhysical state: %s\n", pre, (uint)port->state <= 7 ? port_phy_state_str[port->phys_state] : "???");
/freebsd-9.3-release/contrib/ofed/management/libibumad/src/
H A Dumad.c150 if (sys_read_uint(port_dir, SYS_PORT_PHY_STATE, &port->phys_state) < 0)
249 if (ca.ports[*port]->phys_state != 3)
258 if (up < 0 && ca.ports[i]->phys_state == 5)
272 if (ca.ports[i]->phys_state != 3) {
/freebsd-9.3-release/sys/ofed/drivers/infiniband/core/
H A Dsysfs.c213 switch (attr.phys_state) {
221 default: return sprintf(buf, "%d: <unknown>\n", attr.phys_state);
245 static PORT_ATTR_RO(phys_state);
H A Duverbs_cmd.c470 resp.phys_state = attr.phys_state;
/freebsd-9.3-release/sys/contrib/rdma/
H A Dib_user_verbs.h212 __u8 phys_state; member in struct:ib_uverbs_query_port_resp
H A Dib_verbs.h241 u8 phys_state; member in struct:ib_port_attr
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dmain.c209 props->phys_state = out_mad->data[33] >> 4;
284 props->phys_state = state_to_phys_state(props->state);
299 props->phys_state = state_to_phys_state(props->state);
/freebsd-9.3-release/contrib/ofed/libibverbs/include/infiniband/
H A Dverbs.h190 uint8_t phys_state; member in struct:ibv_port_attr
H A Dkern-abi.h233 __u8 phys_state; member in struct:ibv_query_port_resp
/freebsd-9.3-release/sys/ofed/include/rdma/
H A Dib_user_verbs.h215 __u8 phys_state; member in struct:ib_uverbs_query_port_resp
H A Dib_verbs.h310 u8 phys_state; member in struct:ib_port_attr
/freebsd-9.3-release/contrib/ofed/libibverbs/src/
H A Dcmd.c198 port_attr->phys_state = resp.phys_state;
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c171 props->phys_state = out_mad->data[33] >> 4;
/freebsd-9.3-release/contrib/ofed/management/opensm/include/iba/
H A Dib_types.h4792 ib_port_info_set_port_phys_state(IN uint8_t const phys_state,
4798 (phys_state << IB_PORT_PHYS_STATE_SHIFT));
4803 * phys_state

Completed in 212 milliseconds