Lines Matching refs:coalesce
124 be_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce) in be_get_coalesce() argument
130 coalesce->rx_max_coalesced_frames = adapter->max_rx_coal; in be_get_coalesce()
132 coalesce->rx_coalesce_usecs = rx_eq->cur_eqd; in be_get_coalesce()
133 coalesce->rx_coalesce_usecs_high = rx_eq->max_eqd; in be_get_coalesce()
134 coalesce->rx_coalesce_usecs_low = rx_eq->min_eqd; in be_get_coalesce()
136 coalesce->tx_coalesce_usecs = tx_eq->cur_eqd; in be_get_coalesce()
137 coalesce->tx_coalesce_usecs_high = tx_eq->max_eqd; in be_get_coalesce()
138 coalesce->tx_coalesce_usecs_low = tx_eq->min_eqd; in be_get_coalesce()
140 coalesce->use_adaptive_rx_coalesce = rx_eq->enable_aic; in be_get_coalesce()
141 coalesce->use_adaptive_tx_coalesce = tx_eq->enable_aic; in be_get_coalesce()
151 be_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce) in be_set_coalesce() argument
161 if (coalesce->use_adaptive_tx_coalesce == 1) in be_set_coalesce()
164 adapter->max_rx_coal = coalesce->rx_max_coalesced_frames; in be_set_coalesce()
170 coalesce->use_adaptive_rx_coalesce == 1) { in be_set_coalesce()
173 rx_eq->enable_aic = coalesce->use_adaptive_rx_coalesce; in be_set_coalesce()
175 rx_max = coalesce->rx_coalesce_usecs_high; in be_set_coalesce()
176 rx_min = coalesce->rx_coalesce_usecs_low; in be_set_coalesce()
177 rx_cur = coalesce->rx_coalesce_usecs; in be_set_coalesce()
179 tx_max = coalesce->tx_coalesce_usecs_high; in be_set_coalesce()
180 tx_min = coalesce->tx_coalesce_usecs_low; in be_set_coalesce()
181 tx_cur = coalesce->tx_coalesce_usecs; in be_set_coalesce()