Lines Matching refs:coalesce
100 struct ethtool_coalesce *coalesce, in efx_ethtool_get_coalesce() argument
110 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce()
111 coalesce->tx_coalesce_usecs_irq = tx_usecs; in efx_ethtool_get_coalesce()
112 coalesce->rx_coalesce_usecs = rx_usecs; in efx_ethtool_get_coalesce()
113 coalesce->rx_coalesce_usecs_irq = rx_usecs; in efx_ethtool_get_coalesce()
114 coalesce->use_adaptive_rx_coalesce = rx_adaptive; in efx_ethtool_get_coalesce()
120 struct ethtool_coalesce *coalesce, in efx_ethtool_set_coalesce() argument
132 if (coalesce->rx_coalesce_usecs != rx_usecs) in efx_ethtool_set_coalesce()
133 rx_usecs = coalesce->rx_coalesce_usecs; in efx_ethtool_set_coalesce()
135 rx_usecs = coalesce->rx_coalesce_usecs_irq; in efx_ethtool_set_coalesce()
137 adaptive = coalesce->use_adaptive_rx_coalesce; in efx_ethtool_set_coalesce()
142 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce()
143 coalesce->tx_coalesce_usecs_irq == tx_usecs); in efx_ethtool_set_coalesce()
144 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce()
145 tx_usecs = coalesce->tx_coalesce_usecs; in efx_ethtool_set_coalesce()
147 tx_usecs = coalesce->tx_coalesce_usecs_irq; in efx_ethtool_set_coalesce()