Lines Matching refs:fc
125 if (hw->fc.strict_ieee && hw->fc.requested_mode == ixgbe_fc_rx_pause) {
134 if (hw->fc.requested_mode == ixgbe_fc_default)
135 hw->fc.requested_mode = ixgbe_fc_full;
139 * HW will be able to do fc autoneg once the cable is plugged in. If
163 * The possible values of fc.requested_mode are:
172 switch (hw->fc.requested_mode) {
230 if (hw->fc.strict_ieee)
2135 if (!hw->fc.pause_time)
2140 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) &&
2141 hw->fc.high_water[i]) {
2142 if (!hw->fc.low_water[i] ||
2143 hw->fc.low_water[i] >= hw->fc.high_water[i]) {
2150 /* Negotiate the fc mode to use */
2161 * The possible values of fc.current_mode are:
2170 switch (hw->fc.current_mode) {
2212 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) &&
2213 hw->fc.high_water[i]) {
2214 fcrtl = (hw->fc.low_water[i] << 10) | IXGBE_FCRTL_XONE;
2216 fcrth = (hw->fc.high_water[i] << 10) | IXGBE_FCRTH_FCEN;
2233 reg = hw->fc.pause_time * 0x00010001U;
2237 IXGBE_WRITE_REG(hw, IXGBE_FCRTV, hw->fc.pause_time / 2);
2269 if (hw->fc.requested_mode == ixgbe_fc_full) {
2270 hw->fc.current_mode = ixgbe_fc_full;
2273 hw->fc.current_mode = ixgbe_fc_rx_pause;
2278 hw->fc.current_mode = ixgbe_fc_tx_pause;
2282 hw->fc.current_mode = ixgbe_fc_rx_pause;
2285 hw->fc.current_mode = ixgbe_fc_none;
2410 if (hw->fc.disable_fc_autoneg)
2441 hw->fc.fc_was_autonegged = true;
2443 hw->fc.fc_was_autonegged = false;
2444 hw->fc.current_mode = hw->fc.requested_mode;