Searched refs:link_speed (Results 1 - 25 of 58) sorted by relevance

123

/freebsd-10-stable/sys/dev/qlxgbe/
H A Dql_inline.h91 uint32_t link_speed; local
93 link_speed = READ_REG32(ha, Q8_LINK_SPEED_0);
95 link_speed = link_speed & 0xFF;
97 link_speed = (link_speed >> 8) & 0xFF;
99 switch (link_speed) {
101 link_speed = IFM_100_FX;
105 link_speed = IFM_1000_SX;
112 link_speed
[all...]
H A Dql_ioctl.h140 uint16_t link_speed; member in struct:qla_drvr_state_hdr
H A Dql_ioctl.c491 hdr->link_speed = ha->hw.link_speed;
/freebsd-10-stable/sys/dev/qlxge/
H A Dqls_inline.h45 uint32_t link_speed = 0; local
52 link_speed = (IFM_10G_LR | IFM_10G_SR);
58 link_speed = IFM_10G_TWINAX;
66 link_speed = IFM_1000_SX;
71 return(link_speed);
/freebsd-10-stable/sys/dev/qlxgb/
H A Dqla_inline.h98 uint32_t link_speed; local
100 link_speed = READ_REG32(ha, Q8_LINK_SPEED_0);
102 link_speed = link_speed & 0xFF;
104 link_speed = (link_speed >> 8) & 0xFF;
106 switch (link_speed) {
108 link_speed = IFM_100_FX;
112 link_speed = IFM_1000_SX;
116 link_speed
[all...]
H A Dqla_hw.h692 uint16_t link_speed; member in struct:_qla_link_event
743 uint16_t link_speed; member in struct:_qla_hw
/freebsd-10-stable/sys/dev/ixl/
H A Dixl_pf.h84 u32 link_speed; member in struct:ixl_pf
H A Di40e_virtchnl.h351 enum i40e_aq_link_speed link_speed; member in struct:i40e_virtchnl_pf_event::__anon27::__anon28
H A Dixlv.h124 u32 link_speed; member in struct:ixlv_sc
H A Dixlvc.c857 vpe->event_data.link_event.link_speed);
861 sc->link_speed =
862 vpe->event_data.link_event.link_speed;
/freebsd-10-stable/sys/dev/qlnx/qlnxe/
H A Decore_init_fw_funcs.h107 * @param link_speed - link speed in Mbps.
132 u32 link_speed,
191 * @param link_speed - link speed in Mbps.
199 u32 link_speed);
H A Decore_init_fw_funcs.c631 u32 link_speed,
644 inc_val = QM_RL_INC_VAL(vport_params[i].vport_rl ? vport_params[i].vport_rl : link_speed);
645 if (inc_val > QM_VP_RL_MAX_INC_VAL(link_speed)) {
651 STORE_RT_REG(p_hwfn, QM_REG_RLGLBLUPPERBOUND_RT_OFFSET + vport_id, QM_VP_RL_UPPER_BOUND(link_speed) | (u32)QM_RL_CRD_REG_SIGN_BIT);
768 u32 link_speed,
805 if (ecore_vport_rl_rt_init(p_hwfn, start_vport, num_vports, link_speed, vport_params))
877 u32 link_speed)
886 inc_val = QM_RL_INC_VAL(vport_rl ? vport_rl : link_speed);
887 if (inc_val > QM_VP_RL_MAX_INC_VAL(link_speed)) {
628 ecore_vport_rl_rt_init(struct ecore_hwfn *p_hwfn, u8 start_vport, u8 num_vports, u32 link_speed, struct init_qm_vport_params *vport_params) argument
752 ecore_qm_pf_rt_init(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u8 port_id, u8 pf_id, u8 max_phys_tcs_per_port, bool is_pf_loading, u32 num_pf_cids, u32 num_vf_cids, u32 num_tids, u16 start_pq, u16 num_pf_pqs, u16 num_vf_pqs, u8 start_vport, u8 num_vports, u16 pf_wfq, u32 pf_rl, u32 link_speed, struct init_qm_pq_params *pq_params, struct init_qm_vport_params *vport_params) argument
873 ecore_init_vport_rl(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u8 vport_id, u32 vport_rl, u32 link_speed) argument
/freebsd-10-stable/contrib/ofed/management/opensm/opensm/
H A Dosm_link_mgr.c265 if (memcmp(&p_pi->link_speed, &p_old_pi->link_speed,
266 sizeof(p_pi->link_speed)))
/freebsd-10-stable/sys/dev/ixgbe/
H A Dixgbe_dcb.h132 u32 link_speed; /* For bandwidth allocation validation purpose */ member in struct:ixgbe_dcb_config
H A Dixgbe_dcb_82598.c346 s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, int link_speed, argument
350 UNREFERENCED_1PARAMETER(link_speed);
H A Dif_ix.c1950 switch (adapter->link_speed) {
1966 switch (adapter->link_speed) {
1972 switch (adapter->link_speed) {
1981 switch (adapter->link_speed) {
1991 switch (adapter->link_speed) {
2000 switch (adapter->link_speed) {
2011 switch (adapter->link_speed) {
2024 switch (adapter->link_speed) {
2037 switch (adapter->link_speed) {
2050 switch (adapter->link_speed) {
[all...]
H A Dixgbe_dcb_82599.c579 s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, int link_speed, argument
583 UNREFERENCED_1PARAMETER(link_speed);
H A Dixgbe_82599.c782 ixgbe_link_speed link_speed = IXGBE_LINK_SPEED_UNKNOWN; local
826 status = ixgbe_check_link(hw, &link_speed, &link_up,
861 status = ixgbe_check_link(hw, &link_speed, &link_up, FALSE);
875 if (link_up && (link_speed == IXGBE_LINK_SPEED_1GB_FULL))
1034 ixgbe_link_speed link_speed; local
1084 hw->mac.ops.check_link(hw, &link_speed, &link_up, FALSE);
H A Dixgbe_dcb.c671 ret = ixgbe_dcb_hw_config_82598(hw, dcb_config->link_speed,
681 ret = ixgbe_dcb_hw_config_82599(hw, dcb_config->link_speed,
H A Dixgbe_82598.c415 u32 link_speed = 0; local
442 * so if it's on turn it off once we know link_speed. For
445 hw->mac.ops.check_link(hw, &link_speed, &link_up, FALSE);
446 if (link_up && link_speed == IXGBE_LINK_SPEED_1GB_FULL) {
H A Dif_ixv.c840 hw->mac.ops.check_link(hw, &adapter->link_speed, &adapter->link_up,
1070 switch (adapter->link_speed) {
1273 ((adapter->link_speed == 128) ? 10 : 1),
2143 adapter->hw.mac.ops.check_link(&adapter->hw, &adapter->link_speed,
2156 adapter->hw.mac.ops.check_link(&adapter->hw, &adapter->link_speed,
/freebsd-10-stable/sys/ofed/drivers/net/mlx4/
H A Den_port.c98 switch (qport_context->link_speed & MLX4_EN_SPEED_MASK) {
100 state->link_speed = 1000;
104 state->link_speed = 10000;
107 state->link_speed = 20000;
110 state->link_speed = 40000;
113 state->link_speed = 56000;
116 state->link_speed = -1;
/freebsd-10-stable/sys/dev/ixgb/
H A Dif_ixgb.h293 u_int16_t link_speed; member in struct:adapter
/freebsd-10-stable/sys/dev/e1000/
H A Dif_lem.h359 uint16_t link_speed; member in struct:adapter
H A Dif_em.h468 u16 link_speed; member in struct:adapter

Completed in 159 milliseconds

123