| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_82599_bypass.c | 101 bool link_up = false; in ixgbe_setup_mac_link_multispeed_fixed_fiber() local 122 status = ixgbe_check_link(hw, &link_speed, &link_up, false); in ixgbe_setup_mac_link_multispeed_fixed_fiber() 126 if ((link_speed == IXGBE_LINK_SPEED_10GB_FULL) && link_up) in ixgbe_setup_mac_link_multispeed_fixed_fiber() 159 &link_up, false); in ixgbe_setup_mac_link_multispeed_fixed_fiber() 163 if (link_up) in ixgbe_setup_mac_link_multispeed_fixed_fiber() 174 status = ixgbe_check_link(hw, &link_speed, &link_up, false); in ixgbe_setup_mac_link_multispeed_fixed_fiber() 178 if ((link_speed == IXGBE_LINK_SPEED_1GB_FULL) && link_up) in ixgbe_setup_mac_link_multispeed_fixed_fiber() 200 status = ixgbe_check_link(hw, &link_speed, &link_up, false); in ixgbe_setup_mac_link_multispeed_fixed_fiber() 204 if (link_up) in ixgbe_setup_mac_link_multispeed_fixed_fiber()
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-helper-board.c | 673 result.s.link_up = 1; in __get_marvell_phy_link_state() 713 result.s.link_up = 1; in __get_broadcom_phy_link_state() 718 result.s.link_up = 1; in __get_broadcom_phy_link_state() 723 result.s.link_up = 1; in __get_broadcom_phy_link_state() 728 result.s.link_up = 1; in __get_broadcom_phy_link_state() 733 result.s.link_up = 1; in __get_broadcom_phy_link_state() 738 result.s.link_up = 1; in __get_broadcom_phy_link_state() 743 result.s.link_up = 1; in __get_broadcom_phy_link_state() 936 result.s.link_up = 1; in __cvmx_helper_board_link_get_from_dt() 1114 result.s.link_up = 1; in __cvmx_helper_board_link_get() [all …]
|
| H A D | cvmx-helper-spi.c | 217 result.s.link_up = 1; in __cvmx_helper_spi_link_get() 224 result.s.link_up = inband.s.status; in __cvmx_helper_spi_link_get() 239 result.s.link_up = 0; in __cvmx_helper_spi_link_get() 247 result.s.link_up = 1; in __cvmx_helper_spi_link_get()
|
| H A D | cvmx-helper-sgmii.c | 306 pcsx_miscx_ctl_reg.s.gmxeno = !link_info.s.link_up; in __cvmx_helper_sgmii_hardware_init_link_speed() 309 if (link_info.s.link_up) in __cvmx_helper_sgmii_hardware_init_link_speed() 577 result.s.link_up = 1; in __cvmx_helper_sgmii_link_get() 605 result.s.link_up = 1; in __cvmx_helper_sgmii_link_get() 631 result.s.link_up = inband_status.s.link_ok;/* this is only accurate for 1000-base x */ in __cvmx_helper_sgmii_link_get() 647 result.s.link_up = 0; in __cvmx_helper_sgmii_link_get() 674 result.s.link_up = pcsx_anx_results_reg.s.link_ok; in __cvmx_helper_sgmii_link_get() 688 result.s.link_up = 0; in __cvmx_helper_sgmii_link_get() 696 result.s.link_up = 0; in __cvmx_helper_sgmii_link_get() 726 if (link_info.s.link_up || !__cvmx_helper_need_g15618()) { in __cvmx_helper_sgmii_link_set()
|
| H A D | cvmx-helper.h | 145 uint64_t link_up : 1; /**< Is the physical link up? */ member
|
| H A D | cvmx-helper-ilk.c | 375 result.s.link_up = 1; in __cvmx_helper_ilk_link_get() 383 if (result.s.link_up) in __cvmx_helper_ilk_link_get()
|
| H A D | cvmx-helper-xaui.c | 370 result.s.link_up = 1; in __cvmx_helper_xaui_link_get() 429 if (!link_info.s.link_up) in __cvmx_helper_xaui_link_set()
|
| /f-stack/dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_82598.c | 387 bool link_up; in ixgbe_fc_enable_82598() local 637 *link_up = true; in ixgbe_check_mac_link_82598() 640 *link_up = false; in ixgbe_check_mac_link_82598() 652 *link_up = true; in ixgbe_check_mac_link_82598() 654 *link_up = false; in ixgbe_check_mac_link_82598() 657 if (*link_up == false) in ixgbe_check_mac_link_82598() 665 *link_up = true; in ixgbe_check_mac_link_82598() 668 *link_up = false; in ixgbe_check_mac_link_82598() 675 *link_up = true; in ixgbe_check_mac_link_82598() 677 *link_up = false; in ixgbe_check_mac_link_82598() [all …]
|
| H A D | ixgbe_hv_vf.c | 90 bool *link_up, in ixgbevf_hv_check_mac_link_vf() argument 159 *link_up = !mac->get_link_status; in ixgbevf_hv_check_mac_link_vf()
|
| H A D | ixgbe_x550.c | 2472 if (link_up) in ixgbe_reset_hw_X550em() 2931 *link_up = false; in ixgbe_ext_phy_t_x550em_get_link() 2966 bool link_up; in ixgbe_setup_internal_phy_t_x550em() local 2980 if (!link_up) in ixgbe_setup_internal_phy_t_x550em() 2994 if (!link_up) in ixgbe_setup_internal_phy_t_x550em() 3754 bool link_up; in ixgbe_enter_lplu_t_x550em() local 3987 bool link_up; in ixgbe_fc_autoneg_backplane_x550em_a() local 4001 if (!link_up) { in ixgbe_fc_autoneg_backplane_x550em_a() 4076 bool link_up; in ixgbe_fc_autoneg_sgmii_x550em_a() local 4090 if (!link_up) { in ixgbe_fc_autoneg_sgmii_x550em_a() [all …]
|
| H A D | ixgbe_common.c | 136 bool link_up; in ixgbe_device_supports_autoneg_fc() local 154 if (link_up) in ixgbe_device_supports_autoneg_fc() 3068 bool link_up; in ixgbe_fc_autoneg() local 3086 if (!link_up) { in ixgbe_fc_autoneg() 3425 bool link_up = 0; in ixgbe_blink_led_start_generic() local 3442 if (!link_up) { in ixgbe_blink_led_start_generic() 4167 *link_up = false; in ixgbe_check_mac_link_generic() 4186 *link_up = true; in ixgbe_check_mac_link_generic() 4196 *link_up = true; in ixgbe_check_mac_link_generic() 5270 if (link_up) in ixgbe_setup_mac_link_multispeed_fiber() [all …]
|
| H A D | ixgbe_82599.c | 749 bool link_up = false; in ixgbe_setup_mac_link_smartspeed() local 791 status = ixgbe_check_link(hw, &link_speed, &link_up, in ixgbe_setup_mac_link_smartspeed() 796 if (link_up) in ixgbe_setup_mac_link_smartspeed() 826 status = ixgbe_check_link(hw, &link_speed, &link_up, false); in ixgbe_setup_mac_link_smartspeed() 830 if (link_up) in ixgbe_setup_mac_link_smartspeed() 840 if (link_up && (link_speed == IXGBE_LINK_SPEED_1GB_FULL)) in ixgbe_setup_mac_link_smartspeed() 1004 bool link_up = false; in ixgbe_reset_hw_82599() local 1049 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_reset_hw_82599() 1050 if (link_up) in ixgbe_reset_hw_82599()
|
| /f-stack/dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_hw.c | 41 bool link_up; in txgbe_device_supports_autoneg_fc() local 50 if (link_up) in txgbe_device_supports_autoneg_fc() 1211 bool link_up; in txgbe_fc_autoneg() local 1227 if (!link_up) { in txgbe_fc_autoneg() 1955 *link_up = false; in txgbe_check_mac_link() 1976 *link_up = true; in txgbe_check_mac_link() 1984 *link_up = true; in txgbe_check_mac_link() 2396 if (link_up) in txgbe_setup_mac_link_multispeed_fiber() 2440 if (link_up) in txgbe_setup_mac_link_multispeed_fiber() 3240 if (link_up) in txgbe_setup_mac_link_smartspeed() [all …]
|
| /f-stack/dpdk/drivers/net/bnx2x/ |
| H A D | elink.c | 6514 link_up = 1; in elink_link_settings_status() 6589 link_up); in elink_warpcore_read_status() 6600 if (link_up) in elink_warpcore_read_status() 6695 link_up = !!link_up; in elink_warpcore_read_status() 8555 link_up = 1; in elink_8073_read_status() 8560 link_up = 1; in elink_8073_read_status() 8565 link_up = 1; in elink_8073_read_status() 8570 link_up = 0; in elink_8073_read_status() 10556 link_up = 1; in elink_8727_read_status() 10561 link_up = 1; in elink_8727_read_status() [all …]
|
| /f-stack/dpdk/drivers/net/ipn3ke/ |
| H A D | ipn3ke_rawdev_api.h | 58 int link_up; member
|
| /f-stack/dpdk/drivers/net/qede/ |
| H A D | qede_if.h | 89 bool link_up; member 108 bool link_up; member
|
| H A D | qede_main.c | 538 if (link.link_up) in qed_fill_link() 539 if_link->link_up = true; in qed_fill_link() 541 if (link.link_up) in qed_fill_link() 641 rc = ecore_mcp_set_link(hwfn, ptt, params->link_up); in qed_set_link()
|
| /f-stack/dpdk/drivers/net/ionic/ |
| H A D | ionic.h | 63 bool link_up; member
|
| H A D | ionic_lif.c | 1075 bool link_up; in ionic_link_status_check() local 1082 link_up = (lif->info->status.link_status == IONIC_PORT_OPER_STATUS_UP); in ionic_link_status_check() 1084 if ((link_up && adapter->link_up) || in ionic_link_status_check() 1085 (!link_up && !adapter->link_up)) in ionic_link_status_check() 1088 if (link_up) { in ionic_link_status_check() 1096 adapter->link_up = link_up; in ionic_link_status_check()
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_link.c | 70 eth_link.link_status = link->link_up; in otx2_eth_dev_link_status_update() 109 link->link_status = rsp->link_info.link_up; in cgx_link_update()
|
| /f-stack/dpdk/drivers/net/thunderx/ |
| H A D | nicvf_struct.h | 93 uint8_t link_up; member
|
| /f-stack/dpdk/drivers/net/liquidio/ |
| H A D | lio_struct.h | 527 uint64_t link_up : 1; member 539 uint64_t link_up : 1;
|
| /f-stack/dpdk/drivers/net/octeontx/base/ |
| H A D | octeontx_bgx.c | 142 stat->link_up = bgx_stat.link_up; in octeontx_bgx_port_status()
|
| /f-stack/dpdk/drivers/net/octeontx/ |
| H A D | octeontx_ethdev.h | 125 uint8_t link_up; member
|
| /f-stack/dpdk/drivers/net/mvneta/ |
| H A D | mvneta_ethdev.c | 490 int ret, fd, link_up; in mvneta_link_update() local 533 neta_ppio_get_link_state(priv->ppio, &link_up); in mvneta_link_update() 534 dev->data->dev_link.link_status = link_up ? ETH_LINK_UP : ETH_LINK_DOWN; in mvneta_link_update()
|