Lines Matching refs:coalesce
580 struct ethtool_coalesce *coalesce) in ef4_ethtool_get_coalesce() argument
588 coalesce->tx_coalesce_usecs = tx_usecs; in ef4_ethtool_get_coalesce()
589 coalesce->tx_coalesce_usecs_irq = tx_usecs; in ef4_ethtool_get_coalesce()
590 coalesce->rx_coalesce_usecs = rx_usecs; in ef4_ethtool_get_coalesce()
591 coalesce->rx_coalesce_usecs_irq = rx_usecs; in ef4_ethtool_get_coalesce()
592 coalesce->use_adaptive_rx_coalesce = rx_adaptive; in ef4_ethtool_get_coalesce()
598 struct ethtool_coalesce *coalesce) in ef4_ethtool_set_coalesce() argument
606 if (coalesce->use_adaptive_tx_coalesce) in ef4_ethtool_set_coalesce()
611 if (coalesce->rx_coalesce_usecs != rx_usecs) in ef4_ethtool_set_coalesce()
612 rx_usecs = coalesce->rx_coalesce_usecs; in ef4_ethtool_set_coalesce()
614 rx_usecs = coalesce->rx_coalesce_usecs_irq; in ef4_ethtool_set_coalesce()
616 adaptive = coalesce->use_adaptive_rx_coalesce; in ef4_ethtool_set_coalesce()
621 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in ef4_ethtool_set_coalesce()
622 coalesce->tx_coalesce_usecs_irq == tx_usecs); in ef4_ethtool_set_coalesce()
623 if (coalesce->tx_coalesce_usecs != tx_usecs) in ef4_ethtool_set_coalesce()
624 tx_usecs = coalesce->tx_coalesce_usecs; in ef4_ethtool_set_coalesce()
626 tx_usecs = coalesce->tx_coalesce_usecs_irq; in ef4_ethtool_set_coalesce()