Home
last modified time | relevance | path

Searched refs:flow_ctrl (Results 1 – 8 of 8) sorted by relevance

/freebsd-12.1/sys/dev/bnxt/
H A Dbnxt_hwrm.c539 if (link_info->flow_ctrl.autoneg) { in bnxt_hwrm_set_pause_common()
542 if (link_info->flow_ctrl.rx) in bnxt_hwrm_set_pause_common()
545 if (link_info->flow_ctrl.tx) in bnxt_hwrm_set_pause_common()
551 if (link_info->flow_ctrl.rx) in bnxt_hwrm_set_pause_common()
554 if (link_info->flow_ctrl.tx) in bnxt_hwrm_set_pause_common()
1574 link_info->flow_ctrl.tx = false; in bnxt_hwrm_port_phy_qcfg()
1575 link_info->flow_ctrl.rx = false; in bnxt_hwrm_port_phy_qcfg()
1584 link_info->flow_ctrl.tx = true; in bnxt_hwrm_port_phy_qcfg()
1586 link_info->flow_ctrl.rx = true; in bnxt_hwrm_port_phy_qcfg()
1589 link_info->flow_ctrl.tx = true; in bnxt_hwrm_port_phy_qcfg()
[all …]
H A Dif_bnxt.c1269 if (link_info->flow_ctrl.rx) in bnxt_media_status()
1271 if (link_info->flow_ctrl.tx) in bnxt_media_status()
2195 const char *duplex = NULL, *flow_ctrl = NULL; in bnxt_report_link() local
2211 if (link_info->flow_ctrl.tx & link_info->flow_ctrl.rx) in bnxt_report_link()
2212 flow_ctrl = "FC - receive & transmit"; in bnxt_report_link()
2213 else if (link_info->flow_ctrl.tx) in bnxt_report_link()
2214 flow_ctrl = "FC - transmit"; in bnxt_report_link()
2215 else if (link_info->flow_ctrl.rx) in bnxt_report_link()
2216 flow_ctrl = "FC - receive"; in bnxt_report_link()
2218 flow_ctrl = "FC - none"; in bnxt_report_link()
[all …]
H A Dbnxt.h215 ((link_info->last_flow_ctrl.tx != link_info->flow_ctrl.tx) || \
216 (link_info->last_flow_ctrl.rx != link_info->flow_ctrl.rx) || \
217 (link_info->last_flow_ctrl.autoneg != link_info->flow_ctrl.autoneg))
319 struct bnxt_flow_ctrl flow_ctrl; member
H A Dbnxt_sysctl.c1291 val = softc->link_info.flow_ctrl.arg; \ in BNXT_HW_LRO_FN()
1299 if (softc->link_info.flow_ctrl.arg != val) { \ in BNXT_HW_LRO_FN()
1300 softc->link_info.flow_ctrl.arg = val; \ in BNXT_HW_LRO_FN()
/freebsd-12.1/sys/dev/bxe/
H A Dbxe_elink.c3322 if (flow_ctrl & ELINK_FLOW_CTRL_RX || in elink_pbf_update()
4322 vars->flow_ctrl = ELINK_FLOW_CTRL_TX; in elink_pause_resolve()
4327 vars->flow_ctrl = ELINK_FLOW_CTRL_RX; in elink_pause_resolve()
4344 vars->flow_ctrl = ELINK_FLOW_CTRL_RX; in elink_pause_resolve()
4425 vars->flow_ctrl = phy->req_flow_ctrl; in elink_ext_phy_resolve_fc()
5588 vars->flow_ctrl = 0; in elink_sync_link()
5595 if (!vars->flow_ctrl) in elink_sync_link()
6269 vars->flow_ctrl = phy->req_flow_ctrl; in elink_flow_ctrl_resolve()
7695 phy_vars[phy_index].flow_ctrl = 0; in elink_link_update()
7805 vars->flow_ctrl = phy_vars[active_external_phy].flow_ctrl; in elink_link_update()
[all …]
H A Dbxe_elink.h495 uint16_t flow_ctrl; member
H A Dbxe.c7064 if (sc->link_vars.flow_ctrl & ELINK_FLOW_CTRL_TX) { in bxe_link_attn()
11824 if (sc->link_vars.flow_ctrl & ELINK_FLOW_CTRL_RX) { in bxe_fill_report_data()
11829 if (sc->link_vars.flow_ctrl & ELINK_FLOW_CTRL_TX) { in bxe_fill_report_data()
11970 sc->link_vars.flow_ctrl = ELINK_FLOW_CTRL_NONE; in bxe_link_status_update()
/freebsd-12.1/sys/ofed/drivers/infiniband/core/
H A Dcm_msgs.h208 u8 flow_ctrl) in cm_req_set_flow_ctrl() argument
210 req_msg->offset40 = cpu_to_be32((flow_ctrl & 0x1) | in cm_req_set_flow_ctrl()
592 u8 flow_ctrl) in cm_rep_set_flow_ctrl() argument
595 (flow_ctrl & 0x1)); in cm_rep_set_flow_ctrl()