Lines Matching refs:pause
1929 /* Set flow control negotiated Rx/Tx pause */
3097 * @pause: ethernet pause (flow control) parameters
3102 * the negotiated Rx/Tx pause via lp_advertising.
3105 ice_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause)
3113 /* Initialize pause params */
3114 pause->rx_pause = 0;
3115 pause->tx_pause = 0;
3129 pause->autoneg = ice_is_phy_caps_an_enabled(pcaps) ? AUTONEG_ENABLE :
3137 pause->tx_pause = 1;
3139 pause->rx_pause = 1;
3148 * @pause: return Tx/Rx flow control status
3151 ice_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause)
3179 /* Get pause param reports configured and negotiated flow control pause
3181 * defined get pause param pause->autoneg reports SW configured setting,
3182 * so compare pause->autoneg with SW configured to prevent the user from
3183 * using set pause param to chance autoneg.
3202 if (pause->autoneg != is_an) {
3218 if (pause->rx_pause && pause->tx_pause)
3220 else if (pause->rx_pause && !pause->tx_pause)
3222 else if (!pause->rx_pause && pause->tx_pause)
3224 else if (!pause->rx_pause && !pause->tx_pause)