Lines Matching refs:fc
244 if (hw->fc.strict_ieee && hw->fc.requested_mode == ixgbe_fc_rx_pause) {
255 if (hw->fc.requested_mode == ixgbe_fc_default)
256 hw->fc.requested_mode = ixgbe_fc_full;
260 * HW will be able to do fc autoneg once the cable is plugged in. If
287 * The possible values of fc.requested_mode are:
296 switch (hw->fc.requested_mode) {
357 if (hw->fc.strict_ieee)
2820 if (!hw->fc.pause_time) {
2827 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) &&
2828 hw->fc.high_water[i]) {
2829 if (!hw->fc.low_water[i] ||
2830 hw->fc.low_water[i] >= hw->fc.high_water[i]) {
2838 /* Negotiate the fc mode to use */
2849 * The possible values of fc.current_mode are:
2858 switch (hw->fc.current_mode) {
2904 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) &&
2905 hw->fc.high_water[i]) {
2906 fcrtl = (hw->fc.low_water[i] << 10) | IXGBE_FCRTL_XONE;
2908 fcrth = (hw->fc.high_water[i] << 10) | IXGBE_FCRTH_FCEN;
2925 reg = hw->fc.pause_time * 0x00010001;
2930 IXGBE_WRITE_REG(hw, IXGBE_FCRTV, hw->fc.pause_time / 2);
2968 if (hw->fc.requested_mode == ixgbe_fc_full) {
2969 hw->fc.current_mode = ixgbe_fc_full;
2972 hw->fc.current_mode = ixgbe_fc_rx_pause;
2977 hw->fc.current_mode = ixgbe_fc_tx_pause;
2981 hw->fc.current_mode = ixgbe_fc_rx_pause;
2984 hw->fc.current_mode = ixgbe_fc_none;
3116 if (hw->fc.disable_fc_autoneg) {
3154 hw->fc.fc_was_autonegged = TRUE;
3156 hw->fc.fc_was_autonegged = FALSE;
3157 hw->fc.current_mode = hw->fc.requested_mode;