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

123

/freebsd-11-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-11-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-11-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-11-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-11-stable/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_port.c95 switch (qport_context->link_speed & MLX4_EN_SPEED_MASK) {
97 state->link_speed = 100;
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-11-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 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 Dif_ix.c1271 err = ixgbe_check_link(hw, &adapter->link_speed,
2071 switch (adapter->link_speed) {
2087 switch (adapter->link_speed) {
2093 switch (adapter->link_speed) {
2102 switch (adapter->link_speed) {
2112 switch (adapter->link_speed) {
2121 switch (adapter->link_speed) {
2132 switch (adapter->link_speed) {
2146 switch (adapter->link_speed) {
2159 switch (adapter->link_speed) {
[all...]
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) {
/freebsd-11-stable/sys/dev/ixl/
H A Dixlv.h140 enum virtchnl_link_speed link_speed; member in struct:ixlv_sc
H A Dvirtchnl.h666 enum virtchnl_link_speed link_speed; member in struct:virtchnl_pf_event::__anon4719::__anon4720
670 /* link_speed provided in Mbps */
671 u32 link_speed; member in struct:virtchnl_pf_event::__anon4719::__anon4721
H A Dixl_pf.h120 u32 link_speed; member in struct:ixl_pf
/freebsd-11-stable/sys/dev/ixgb/
H A Dif_ixgb.h294 u_int16_t link_speed; member in struct:adapter
/freebsd-11-stable/sys/ofed/include/rdma/
H A Dopa_port_info.h328 } link_speed; member in struct:opa_port_info
/freebsd-11-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
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_sa_portinfo_record.c125 p_pi->link_speed =
126 (uint8_t) ((p_pi->link_speed & IB_PORT_LINK_SPEED_ENABLED_MASK) |
H A Dosm_link_mgr.c351 if (p_pi->link_speed != p_old_pi->link_speed)

Completed in 200 milliseconds

123