Lines Matching full:flow
75 * igc_set_fc_watermarks - Set flow control high/low watermarks
78 * Sets the flow control high/low threshold (watermark) registers. If
79 * flow control XON frame transmission is enabled, then set XON frame
86 /* Set the flow control receive threshold registers. Normally, in igc_set_fc_watermarks()
110 * igc_setup_link - Setup flow control and link settings
113 * Determines which flow control settings to use, then configures flow
129 /* If requested flow control is set to default, set flow control in igc_setup_link()
135 /* We want to save off the original Flow Control configuration just in igc_setup_link()
137 * hub or switch with different Flow Control capabilities. in igc_setup_link()
148 /* Initialize the flow control address, type, and PAUSE timer in igc_setup_link()
149 * registers to their default values. This is done even if flow in igc_setup_link()
153 hw_dbg("Initializing the Flow Control address, type and timer regs\n"); in igc_setup_link()
167 * igc_force_mac_fc - Force the MAC's flow control settings
170 * Force the MAC's flow control settings. Sets the TFCE and RFCE bits in the
186 * receive flow control. in igc_force_mac_fc()
188 * The "Case" statement below enables/disable flow control in igc_force_mac_fc()
192 * 0: Flow control is completely disabled in igc_force_mac_fc()
193 * 1: Rx flow control is enabled (we can receive pause in igc_force_mac_fc()
195 * 2: Tx flow control is enabled (we can send pause frames in igc_force_mac_fc()
197 * 3: Both Rx and TX flow control (symmetric) is enabled. in igc_force_mac_fc()
218 hw_dbg("Flow control param set incorrectly\n"); in igc_force_mac_fc()
415 /* Configure Flow Control now that Auto-Neg has completed. in igc_check_for_copper_link()
416 * First, we need to restore the desired flow control in igc_check_for_copper_link()
422 hw_dbg("Error configuring flow control\n"); in igc_check_for_copper_link()
450 * igc_config_fc_after_link_up - Configures flow control after link
455 * flow control needs to be forced also. If auto-negotiation is enabled
456 * and did not fail, then we configure flow control based on our link
476 hw_dbg("Error forcing flow control settings\n"); in igc_config_fc_after_link_up()
483 * flow control configured. in igc_config_fc_after_link_up()
508 * flow control was negotiated. in igc_config_fc_after_link_up()
520 * Page Ability Register (Address 5) determine flow control in igc_config_fc_after_link_up()
523 * 1999, describes these PAUSE resolution bits and how flow in igc_config_fc_after_link_up()
540 * Symmetric Flow Control is enabled at both ends. The in igc_config_fc_after_link_up()
543 * For Symmetric Flow Control: in igc_config_fc_after_link_up()
555 * FULL flow control because we could not advertise RX in igc_config_fc_after_link_up()
561 hw_dbg("Flow Control = FULL.\n"); in igc_config_fc_after_link_up()
564 hw_dbg("Flow Control = RX PAUSE frames only.\n"); in igc_config_fc_after_link_up()
580 hw_dbg("Flow Control = TX PAUSE frames only.\n"); in igc_config_fc_after_link_up()
594 hw_dbg("Flow Control = RX PAUSE frames only.\n"); in igc_config_fc_after_link_up()
596 /* Per the IEEE spec, at this point flow control should be in igc_config_fc_after_link_up()
599 * desired flow control, but can be forced on the link in igc_config_fc_after_link_up()
600 * partner. So if we advertised no flow control, that is in igc_config_fc_after_link_up()
602 * receive capability (Rx Pause Only or Full Flow Control) in igc_config_fc_after_link_up()
604 * ourselves to enable Rx Flow Control only. We can do in igc_config_fc_after_link_up()
606 * didn't want flow control enabled, and we enable Rx, no in igc_config_fc_after_link_up()
609 * flow control enabled, then by us enabling RX only, we in igc_config_fc_after_link_up()
620 hw_dbg("Flow Control = NONE.\n"); in igc_config_fc_after_link_up()
623 hw_dbg("Flow Control = RX PAUSE frames only.\n"); in igc_config_fc_after_link_up()
627 * negotiated to HALF DUPLEX, flow control should not be in igc_config_fc_after_link_up()
640 * controller to use the correct flow control settings. in igc_config_fc_after_link_up()
644 hw_dbg("Error forcing flow control settings\n"); in igc_config_fc_after_link_up()