• Home
  • Raw
  • Download

Lines Matching refs:intr_coal

2116 				 struct ethtool_coalesce *intr_coal,  in lio_get_intr_coalesce()  argument
2132 intr_coal->rx_coalesce_usecs = oct->rx_coalesce_usecs; in lio_get_intr_coalesce()
2133 intr_coal->rx_max_coalesced_frames = in lio_get_intr_coalesce()
2137 intr_coal->tx_max_coalesced_frames = in lio_get_intr_coalesce()
2147 intr_coal->rx_coalesce_usecs = in lio_get_intr_coalesce()
2149 intr_coal->rx_max_coalesced_frames = in lio_get_intr_coalesce()
2153 intr_coal->tx_max_coalesced_frames = iq->fill_threshold; in lio_get_intr_coalesce()
2161 intr_coal->use_adaptive_rx_coalesce = in lio_get_intr_coalesce()
2163 intr_coal->rate_sample_interval = in lio_get_intr_coalesce()
2165 intr_coal->pkt_rate_high = in lio_get_intr_coalesce()
2167 intr_coal->pkt_rate_low = in lio_get_intr_coalesce()
2169 intr_coal->rx_max_coalesced_frames_high = in lio_get_intr_coalesce()
2171 intr_coal->rx_coalesce_usecs_high = in lio_get_intr_coalesce()
2173 intr_coal->rx_coalesce_usecs_low = in lio_get_intr_coalesce()
2175 intr_coal->rx_max_coalesced_frames_low = in lio_get_intr_coalesce()
2180 intr_coal->use_adaptive_tx_coalesce = in lio_get_intr_coalesce()
2182 intr_coal->tx_max_coalesced_frames_high = in lio_get_intr_coalesce()
2184 intr_coal->tx_max_coalesced_frames_low = in lio_get_intr_coalesce()
2193 struct ethtool_coalesce *intr_coal) in oct_cfg_adaptive_intr() argument
2198 intrmod_cfg->check_intrvl = intr_coal->rate_sample_interval; in oct_cfg_adaptive_intr()
2199 intrmod_cfg->maxpkt_ratethr = intr_coal->pkt_rate_high; in oct_cfg_adaptive_intr()
2200 intrmod_cfg->minpkt_ratethr = intr_coal->pkt_rate_low; in oct_cfg_adaptive_intr()
2204 intr_coal->rx_max_coalesced_frames_high; in oct_cfg_adaptive_intr()
2206 intr_coal->rx_coalesce_usecs_high; in oct_cfg_adaptive_intr()
2208 intr_coal->rx_coalesce_usecs_low; in oct_cfg_adaptive_intr()
2210 intr_coal->rx_max_coalesced_frames_low; in oct_cfg_adaptive_intr()
2214 intr_coal->tx_max_coalesced_frames_high; in oct_cfg_adaptive_intr()
2216 intr_coal->tx_max_coalesced_frames_low; in oct_cfg_adaptive_intr()
2227 struct ethtool_coalesce *intr_coal) in oct_cfg_rx_intrcnt() argument
2239 if (!intr_coal->rx_max_coalesced_frames) in oct_cfg_rx_intrcnt()
2243 intr_coal->rx_max_coalesced_frames; in oct_cfg_rx_intrcnt()
2252 if (!intr_coal->rx_max_coalesced_frames) in oct_cfg_rx_intrcnt()
2256 intr_coal->rx_max_coalesced_frames; in oct_cfg_rx_intrcnt()
2274 if (!intr_coal->rx_max_coalesced_frames) in oct_cfg_rx_intrcnt()
2278 intr_coal->rx_max_coalesced_frames; in oct_cfg_rx_intrcnt()
2300 struct ethtool_coalesce *intr_coal) in oct_cfg_rx_intrtime() argument
2311 if (!intr_coal->rx_coalesce_usecs) in oct_cfg_rx_intrtime()
2314 rx_coalesce_usecs = intr_coal->rx_coalesce_usecs; in oct_cfg_rx_intrtime()
2329 if (!intr_coal->rx_coalesce_usecs) in oct_cfg_rx_intrtime()
2332 rx_coalesce_usecs = intr_coal->rx_coalesce_usecs; in oct_cfg_rx_intrtime()
2351 if (!intr_coal->rx_coalesce_usecs) in oct_cfg_rx_intrtime()
2354 rx_coalesce_usecs = intr_coal->rx_coalesce_usecs; in oct_cfg_rx_intrtime()
2379 struct ethtool_coalesce *intr_coal) in oct_cfg_tx_intrcnt() argument
2395 if (!intr_coal->tx_max_coalesced_frames) in oct_cfg_tx_intrcnt()
2399 iq_intr_pkt = intr_coal->tx_max_coalesced_frames & in oct_cfg_tx_intrcnt()
2422 struct ethtool_coalesce *intr_coal, in lio_set_intr_coalesce() argument
2438 if ((intr_coal->tx_max_coalesced_frames >= db_min) && in lio_set_intr_coalesce()
2439 (intr_coal->tx_max_coalesced_frames <= db_max)) { in lio_set_intr_coalesce()
2443 intr_coal->tx_max_coalesced_frames; in lio_set_intr_coalesce()
2448 intr_coal->tx_max_coalesced_frames, in lio_set_intr_coalesce()
2460 intrmod.rx_enable = intr_coal->use_adaptive_rx_coalesce ? 1 : 0; in lio_set_intr_coalesce()
2461 intrmod.tx_enable = intr_coal->use_adaptive_tx_coalesce ? 1 : 0; in lio_set_intr_coalesce()
2466 ret = oct_cfg_adaptive_intr(lio, &intrmod, intr_coal); in lio_set_intr_coalesce()
2468 if (!intr_coal->use_adaptive_rx_coalesce) { in lio_set_intr_coalesce()
2469 ret = oct_cfg_rx_intrtime(lio, &intrmod, intr_coal); in lio_set_intr_coalesce()
2473 ret = oct_cfg_rx_intrcnt(lio, &intrmod, intr_coal); in lio_set_intr_coalesce()
2483 if (!intr_coal->use_adaptive_tx_coalesce) { in lio_set_intr_coalesce()
2484 ret = oct_cfg_tx_intrcnt(lio, &intrmod, intr_coal); in lio_set_intr_coalesce()