Lines Matching refs:coalesce
602 struct ethtool_coalesce *coalesce) in efx_ethtool_get_coalesce() argument
610 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce()
611 coalesce->tx_coalesce_usecs_irq = tx_usecs; in efx_ethtool_get_coalesce()
612 coalesce->rx_coalesce_usecs = rx_usecs; in efx_ethtool_get_coalesce()
613 coalesce->rx_coalesce_usecs_irq = rx_usecs; in efx_ethtool_get_coalesce()
614 coalesce->use_adaptive_rx_coalesce = rx_adaptive; in efx_ethtool_get_coalesce()
620 struct ethtool_coalesce *coalesce) in efx_ethtool_set_coalesce() argument
628 if (coalesce->use_adaptive_tx_coalesce) in efx_ethtool_set_coalesce()
633 if (coalesce->rx_coalesce_usecs != rx_usecs) in efx_ethtool_set_coalesce()
634 rx_usecs = coalesce->rx_coalesce_usecs; in efx_ethtool_set_coalesce()
636 rx_usecs = coalesce->rx_coalesce_usecs_irq; in efx_ethtool_set_coalesce()
638 adaptive = coalesce->use_adaptive_rx_coalesce; in efx_ethtool_set_coalesce()
643 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce()
644 coalesce->tx_coalesce_usecs_irq == tx_usecs); in efx_ethtool_set_coalesce()
645 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce()
646 tx_usecs = coalesce->tx_coalesce_usecs; in efx_ethtool_set_coalesce()
648 tx_usecs = coalesce->tx_coalesce_usecs_irq; in efx_ethtool_set_coalesce()