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

/freebsd-10.1-release/contrib/ofed/libibverbs/src/
H A Denum_strs.c50 const char *ibv_port_state_str(enum ibv_port_state port_state) argument
61 if (port_state < IBV_PORT_NOP || port_state > IBV_PORT_ACTIVE_DEFER)
64 return port_state_str[port_state];
/freebsd-10.1-release/sys/ofed/drivers/net/mlx4/
H A Den_selftest.c121 if (priv->port_state.link_state == 1)
134 if (priv->port_state.link_speed != MLX4_EN_LINK_SPEED_1G &&
135 priv->port_state.link_speed != MLX4_EN_LINK_SPEED_10G &&
136 priv->port_state.link_speed != MLX4_EN_LINK_SPEED_40G)
137 return priv->port_state.link_speed;
H A Den_ethtool.c592 priv->port_state.autoneg) {
639 trans_type = priv->port_state.transciver;
641 ethtool_cmd_speed_set(cmd, priv->port_state.link_speed);
681 struct mlx4_en_port_state *port_state = &priv->port_state; local
683 if ((cmd->autoneg != port_state->autoneg) ||
684 (ethtool_cmd_speed(cmd) != port_state->link_speed) ||
689 port_state->autoneg, port_state->link_speed,
H A Den_netdev.c968 if (priv->port_state.link_state) {
1806 trans_type = priv->port_state.transciver;
1808 switch (priv->port_state.link_speed) {
H A Deq.c277 return s_state[slave].port_state[port];
292 s_state[slave].port_state[port] = state;
H A Den_port.c79 struct mlx4_en_port_state *state = &priv->port_state;
H A Dmlx4_en.h543 struct mlx4_en_port_state port_state; member in struct:mlx4_en_priv
H A Dmlx4.h479 enum slave_port_state port_state[MLX4_MAX_PORTS + 1]; member in struct:mlx4_slave_state
/freebsd-10.1-release/contrib/ofed/management/opensm/opensm/
H A Dosm_link_mgr.c60 IN uint8_t const port_state)
125 ib_port_info_set_port_state(p_pi, port_state);
136 if (port_state == IB_LINK_NO_CHANGE) {
293 if (port_state != IB_LINK_NO_CHANGE &&
294 port_state != ib_port_info_get_port_state(p_old_pi)) {
296 if (port_state == IB_LINK_ACTIVE)
58 __osm_link_mgr_set_physp_pi(osm_sm_t * sm, IN osm_physp_t * const p_physp, IN uint8_t const port_state) argument
H A Dosm_dump.c372 uint8_t port_state; local
440 port_state = ib_port_info_get_port_state(&p_physp->port_info);
449 port_state == IB_LINK_ACTIVE ? "ACT" :
450 port_state == IB_LINK_ARMED ? "ARM" :
451 port_state == IB_LINK_INIT ? "INI" : "DWN",
H A Dosm_console.c599 uint8_t port_state = 0; local
610 port_state = ib_port_info_get_port_state(pi);
658 if (port_state == IB_LINK_DOWN)
660 else if (port_state == IB_LINK_ACTIVE)
H A Dosm_helper.c2128 const char *osm_get_port_state_str_fixed_width(IN uint8_t port_state) argument
2130 if (port_state > IB_LINK_ACTIVE)
2131 port_state = IB_LINK_ACTIVE + 1;
2132 return (__osm_port_state_str_fixed_width[port_state]);
/freebsd-10.1-release/contrib/ofed/management/opensm/libvendor/
H A Dosm_vendor_mlx_hca_anafa.c137 port_info.port_info.port_state;
/freebsd-10.1-release/contrib/ofed/management/opensm/include/opensm/
H A Dosm_helper.h487 const char *osm_get_port_state_str_fixed_width(IN uint8_t port_state);
/freebsd-10.1-release/contrib/ofed/libibverbs/include/infiniband/
H A Dverbs.h1176 * ibv_port_state_str - Return string describing port_state enum value
1178 const char *ibv_port_state_str(enum ibv_port_state port_state);
/freebsd-10.1-release/contrib/ofed/management/opensm/include/iba/
H A Dib_types.h1931 static inline const char *OSM_API ib_get_port_state_str(IN uint8_t port_state) argument
1933 if (port_state > IB_LINK_ACTIVE)
1934 port_state = IB_LINK_ACTIVE + 1;
1935 return (__ib_port_state_str[port_state]);
1940 * port_state
4519 IN const uint8_t port_state)
4521 p_pi->state_info1 = (uint8_t) ((p_pi->state_info1 & 0xF0) | port_state);
4529 * port_state

Completed in 190 milliseconds