Lines Matching refs:coalesce
100 struct ethtool_coalesce *coalesce) in efx_ethtool_get_coalesce() argument
108 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce()
109 coalesce->tx_coalesce_usecs_irq = tx_usecs; in efx_ethtool_get_coalesce()
110 coalesce->rx_coalesce_usecs = rx_usecs; in efx_ethtool_get_coalesce()
111 coalesce->rx_coalesce_usecs_irq = rx_usecs; in efx_ethtool_get_coalesce()
112 coalesce->use_adaptive_rx_coalesce = rx_adaptive; in efx_ethtool_get_coalesce()
118 struct ethtool_coalesce *coalesce) in efx_ethtool_set_coalesce() argument
128 if (coalesce->rx_coalesce_usecs != rx_usecs) in efx_ethtool_set_coalesce()
129 rx_usecs = coalesce->rx_coalesce_usecs; in efx_ethtool_set_coalesce()
131 rx_usecs = coalesce->rx_coalesce_usecs_irq; in efx_ethtool_set_coalesce()
133 adaptive = coalesce->use_adaptive_rx_coalesce; in efx_ethtool_set_coalesce()
138 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce()
139 coalesce->tx_coalesce_usecs_irq == tx_usecs); in efx_ethtool_set_coalesce()
140 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce()
141 tx_usecs = coalesce->tx_coalesce_usecs; in efx_ethtool_set_coalesce()
143 tx_usecs = coalesce->tx_coalesce_usecs_irq; in efx_ethtool_set_coalesce()