Lines Matching refs:coalesce
590 struct ethtool_coalesce *coalesce) in efx_ethtool_get_coalesce() argument
598 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce()
599 coalesce->tx_coalesce_usecs_irq = tx_usecs; in efx_ethtool_get_coalesce()
600 coalesce->rx_coalesce_usecs = rx_usecs; in efx_ethtool_get_coalesce()
601 coalesce->rx_coalesce_usecs_irq = rx_usecs; in efx_ethtool_get_coalesce()
602 coalesce->use_adaptive_rx_coalesce = rx_adaptive; in efx_ethtool_get_coalesce()
608 struct ethtool_coalesce *coalesce) in efx_ethtool_set_coalesce() argument
616 if (coalesce->use_adaptive_tx_coalesce) in efx_ethtool_set_coalesce()
621 if (coalesce->rx_coalesce_usecs != rx_usecs) in efx_ethtool_set_coalesce()
622 rx_usecs = coalesce->rx_coalesce_usecs; in efx_ethtool_set_coalesce()
624 rx_usecs = coalesce->rx_coalesce_usecs_irq; in efx_ethtool_set_coalesce()
626 adaptive = coalesce->use_adaptive_rx_coalesce; in efx_ethtool_set_coalesce()
631 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce()
632 coalesce->tx_coalesce_usecs_irq == tx_usecs); in efx_ethtool_set_coalesce()
633 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce()
634 tx_usecs = coalesce->tx_coalesce_usecs; in efx_ethtool_set_coalesce()
636 tx_usecs = coalesce->tx_coalesce_usecs_irq; in efx_ethtool_set_coalesce()