Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/bnxt/
H A Dbnxt_hwrm.c535 if (link_info->flow_ctrl.autoneg) { in bnxt_hwrm_set_pause_common()
538 if (link_info->flow_ctrl.rx) in bnxt_hwrm_set_pause_common()
541 if (link_info->flow_ctrl.tx) in bnxt_hwrm_set_pause_common()
547 if (link_info->flow_ctrl.rx) in bnxt_hwrm_set_pause_common()
550 if (link_info->flow_ctrl.tx) in bnxt_hwrm_set_pause_common()
1567 link_info->flow_ctrl.tx = false; in bnxt_hwrm_port_phy_qcfg()
1568 link_info->flow_ctrl.rx = false; in bnxt_hwrm_port_phy_qcfg()
1577 link_info->flow_ctrl.tx = true; in bnxt_hwrm_port_phy_qcfg()
1579 link_info->flow_ctrl.rx = true; in bnxt_hwrm_port_phy_qcfg()
1582 link_info->flow_ctrl.tx = true; in bnxt_hwrm_port_phy_qcfg()
[all …]
H A Dif_bnxt.c1278 if (link_info->flow_ctrl.rx) in bnxt_media_status()
1280 if (link_info->flow_ctrl.tx) in bnxt_media_status()
2201 const char *duplex = NULL, *flow_ctrl = NULL; in bnxt_report_link() local
2217 if (link_info->flow_ctrl.tx & link_info->flow_ctrl.rx) in bnxt_report_link()
2218 flow_ctrl = "FC - receive & transmit"; in bnxt_report_link()
2219 else if (link_info->flow_ctrl.tx) in bnxt_report_link()
2220 flow_ctrl = "FC - transmit"; in bnxt_report_link()
2221 else if (link_info->flow_ctrl.rx) in bnxt_report_link()
2222 flow_ctrl = "FC - receive"; in bnxt_report_link()
2224 flow_ctrl = "FC - none"; in bnxt_report_link()
[all …]
H A Dbnxt.h220 ((link_info->last_flow_ctrl.tx != link_info->flow_ctrl.tx) || \
221 (link_info->last_flow_ctrl.rx != link_info->flow_ctrl.rx) || \
222 (link_info->last_flow_ctrl.autoneg != link_info->flow_ctrl.autoneg))
324 struct bnxt_flow_ctrl flow_ctrl; member
H A Dbnxt_sysctl.c1296 val = softc->link_info.flow_ctrl.arg; \ in BNXT_HW_LRO_FN()
1304 if (softc->link_info.flow_ctrl.arg != val) { \ in BNXT_HW_LRO_FN()
1305 softc->link_info.flow_ctrl.arg = val; \ in BNXT_HW_LRO_FN()
/freebsd-13.1/sys/ofed/drivers/infiniband/core/
H A Dcm_msgs.h201 u8 flow_ctrl) in cm_req_set_flow_ctrl() argument
203 req_msg->offset40 = cpu_to_be32((flow_ctrl & 0x1) | in cm_req_set_flow_ctrl()
585 u8 flow_ctrl) in cm_rep_set_flow_ctrl() argument
588 (flow_ctrl & 0x1)); in cm_rep_set_flow_ctrl()
/freebsd-13.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.c7024 if (sc->link_vars.flow_ctrl & ELINK_FLOW_CTRL_TX) { in bxe_link_attn()
11782 if (sc->link_vars.flow_ctrl & ELINK_FLOW_CTRL_RX) { in bxe_fill_report_data()
11787 if (sc->link_vars.flow_ctrl & ELINK_FLOW_CTRL_TX) { in bxe_fill_report_data()
11928 sc->link_vars.flow_ctrl = ELINK_FLOW_CTRL_NONE; in bxe_link_status_update()