/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
D | ethtool.c | 67 cp->tx_coalesce_usecs = tx_itr_val; in wil_ethtoolops_get_coalesce() 78 cp->rx_coalesce_usecs, cp->tx_coalesce_usecs); in wil_ethtoolops_set_coalesce() 90 cp->tx_coalesce_usecs > WIL6210_ITR_TRSH_MAX) in wil_ethtoolops_set_coalesce() 93 wil->tx_max_burst_duration = cp->tx_coalesce_usecs; in wil_ethtoolops_set_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/cisco/enic/ |
D | enic_ethtool.c | 227 ecmd->tx_coalesce_usecs = enic->tx_coalesce_usecs; in enic_get_coalesce() 241 u32 tx_coalesce_usecs; in enic_set_coalesce() local 250 tx_coalesce_usecs = min_t(u32, ecmd->tx_coalesce_usecs, in enic_set_coalesce() 262 if (tx_coalesce_usecs != rx_coalesce_usecs) in enic_set_coalesce() 271 tx_coalesce_usecs); in enic_set_coalesce() 274 if (tx_coalesce_usecs != rx_coalesce_usecs) in enic_set_coalesce() 282 tx_coalesce_usecs); in enic_set_coalesce() 293 tx_coalesce_usecs); in enic_set_coalesce() 312 enic->tx_coalesce_usecs = tx_coalesce_usecs; in enic_set_coalesce()
|
D | enic.h | 159 u32 tx_coalesce_usecs; member
|
D | enic_main.c | 2599 enic->tx_coalesce_usecs = enic->config.intr_timer_usec; in enic_probe() 2603 enic->rx_coalesce_usecs = enic->tx_coalesce_usecs; in enic_probe()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_ethtool.c | 198 if (le16_to_cpu(cqicb->irq_delay) != qdev->tx_coalesce_usecs || in ql_update_ring_coalescing() 204 cqicb->irq_delay = cpu_to_le16(qdev->tx_coalesce_usecs); in ql_update_ring_coalescing() 626 c->tx_coalesce_usecs = qdev->tx_coalesce_usecs; in ql_get_coalesce() 654 if (c->tx_coalesce_usecs > qdev->tx_ring_size / 2) in ql_set_coalesce() 661 qdev->tx_coalesce_usecs == c->tx_coalesce_usecs && in ql_set_coalesce() 667 qdev->tx_coalesce_usecs = c->tx_coalesce_usecs; in ql_set_coalesce()
|
D | qlge.h | 2124 u16 tx_coalesce_usecs; /* cqicb->int_delay */ member
|
D | qlge_main.c | 3231 cqicb->irq_delay = cpu_to_le16(qdev->tx_coalesce_usecs); in ql_start_rx_ring() 4673 qdev->tx_coalesce_usecs = DFLT_COALESCE_WAIT; in ql_init_device()
|
/linux-4.1.27/drivers/net/ethernet/hisilicon/ |
D | hip04_eth.c | 169 int tx_coalesce_usecs; member 418 unsigned long ns = priv->tx_coalesce_usecs * NSEC_PER_USEC / 2; in hip04_start_tx_timer() 711 ec->tx_coalesce_usecs = priv->tx_coalesce_usecs; in hip04_get_coalesce() 736 if ((ec->tx_coalesce_usecs > HIP04_MAX_TX_COALESCE_USECS || in hip04_set_coalesce() 737 ec->tx_coalesce_usecs < HIP04_MIN_TX_COALESCE_USECS) || in hip04_set_coalesce() 742 priv->tx_coalesce_usecs = ec->tx_coalesce_usecs; in hip04_set_coalesce() 855 priv->tx_coalesce_usecs = 200; in hip04_mac_probe()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/ |
D | ethtool.c | 737 ec->tx_coalesce_usecs = adapter->tx_itr_setting; in ixgbevf_get_coalesce() 739 ec->tx_coalesce_usecs = adapter->tx_itr_setting >> 2; in ixgbevf_get_coalesce() 754 adapter->q_vector[0]->rx.count && ec->tx_coalesce_usecs) in ixgbevf_set_coalesce() 758 (ec->tx_coalesce_usecs > (IXGBE_MAX_EITR >> 2))) in ixgbevf_set_coalesce() 771 if (ec->tx_coalesce_usecs > 1) in ixgbevf_set_coalesce() 772 adapter->tx_itr_setting = ec->tx_coalesce_usecs << 2; in ixgbevf_set_coalesce() 774 adapter->tx_itr_setting = ec->tx_coalesce_usecs; in ixgbevf_set_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
D | i40evf_ethtool.c | 301 ec->tx_coalesce_usecs = vsi->tx_itr_setting & ~I40E_ITR_DYNAMIC; in i40evf_get_coalesce() 332 if ((ec->tx_coalesce_usecs >= (I40E_MIN_ITR << 1)) && in i40evf_set_coalesce() 333 (ec->tx_coalesce_usecs <= (I40E_MAX_ITR << 1))) in i40evf_set_coalesce() 334 vsi->tx_itr_setting = ec->tx_coalesce_usecs; in i40evf_set_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ethtool.c | 663 ec->tx_coalesce_usecs = priv->tx_coal_timer; in stmmac_get_coalesce() 695 if ((ec->tx_coalesce_usecs == 0) && in stmmac_set_coalesce() 699 if ((ec->tx_coalesce_usecs > STMMAC_MAX_COAL_TX_TICK) || in stmmac_set_coalesce() 712 priv->tx_coal_timer = ec->tx_coalesce_usecs; in stmmac_set_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
D | bnad_ethtool.c | 340 coalesce->tx_coalesce_usecs = bnad->tx_coalescing_timeo * in bnad_get_coalesce() 359 if (coalesce->tx_coalesce_usecs == 0 || in bnad_set_coalesce() 360 coalesce->tx_coalesce_usecs > in bnad_set_coalesce() 393 if (bnad->tx_coalescing_timeo != coalesce->tx_coalesce_usecs / in bnad_set_coalesce() 395 bnad->tx_coalescing_timeo = coalesce->tx_coalesce_usecs / in bnad_set_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_ethtool.c | 2168 if ((ec->tx_coalesce_usecs > IGB_MAX_ITR_USECS) || in igb_set_coalesce() 2169 ((ec->tx_coalesce_usecs > 3) && in igb_set_coalesce() 2170 (ec->tx_coalesce_usecs < IGB_MIN_ITR_USECS)) || in igb_set_coalesce() 2171 (ec->tx_coalesce_usecs == 2)) in igb_set_coalesce() 2174 if ((adapter->flags & IGB_FLAG_QUEUE_PAIRS) && ec->tx_coalesce_usecs) in igb_set_coalesce() 2192 else if (ec->tx_coalesce_usecs && ec->tx_coalesce_usecs <= 3) in igb_set_coalesce() 2193 adapter->tx_itr_setting = ec->tx_coalesce_usecs; in igb_set_coalesce() 2195 adapter->tx_itr_setting = ec->tx_coalesce_usecs << 2; in igb_set_coalesce() 2224 ec->tx_coalesce_usecs = adapter->tx_itr_setting; in igb_get_coalesce() 2226 ec->tx_coalesce_usecs = adapter->tx_itr_setting >> 2; in igb_get_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | ethtool.c | 598 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce() 631 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce() 633 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce() 634 tx_usecs = coalesce->tx_coalesce_usecs; in efx_ethtool_set_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_ethtool.c | 760 ethcoal->tx_coalesce_usecs > 0xffff || in netxen_set_intr_coalesce() 795 adapter->coal.normal.data.tx_time_us = ethcoal->tx_coalesce_usecs; in netxen_set_intr_coalesce() 816 ethcoal->tx_coalesce_usecs = adapter->coal.normal.data.tx_time_us; in netxen_get_intr_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_ethtool.c | 590 ec->tx_coalesce_usecs = interface->tx_itr & ~FM10K_ITR_ADAPTIVE; in fm10k_get_coalesce() 609 (ec->tx_coalesce_usecs > FM10K_ITR_MAX)) in fm10k_set_coalesce() 613 tx_itr = ec->tx_coalesce_usecs; in fm10k_set_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 1719 ec->tx_coalesce_usecs = vsi->tx_itr_setting & ~I40E_ITR_DYNAMIC; in i40e_get_coalesce() 1751 if ((ec->tx_coalesce_usecs >= (I40E_MIN_ITR << 1)) && in i40e_set_coalesce() 1752 (ec->tx_coalesce_usecs <= (I40E_MAX_ITR << 1))) { in i40e_set_coalesce() 1753 vsi->tx_itr_setting = ec->tx_coalesce_usecs; in i40e_set_coalesce() 1754 } else if (ec->tx_coalesce_usecs == 0) { in i40e_set_coalesce() 1755 vsi->tx_itr_setting = ec->tx_coalesce_usecs; in i40e_set_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 320 cvals->tx_coalesce_usecs = gfar_ticks2usecs(priv, txtime); in gfar_gcoalesce() 385 if (cvals->tx_coalesce_usecs > GFAR_MAX_COAL_USECS) { in gfar_scoalesce() 417 if ((cvals->tx_coalesce_usecs == 0) || in gfar_scoalesce() 429 gfar_usecs2ticks(priv, cvals->tx_coalesce_usecs)); in gfar_scoalesce()
|
D | fec_main.c | 2378 ec->tx_coalesce_usecs = fep->tx_time_itr; in fec_enet_get_coalesce() 2418 fep->tx_time_itr = ec->tx_coalesce_usecs; in fec_enet_set_coalesce() 2433 ec.tx_coalesce_usecs = FEC_ITR_ICTT_DEFAULT; in fec_enet_itr_coal_init()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 2206 ec->tx_coalesce_usecs = adapter->tx_itr_setting; in ixgbe_get_coalesce() 2208 ec->tx_coalesce_usecs = adapter->tx_itr_setting >> 2; in ixgbe_get_coalesce() 2254 if (ec->tx_coalesce_usecs) in ixgbe_set_coalesce() 2262 (ec->tx_coalesce_usecs > (IXGBE_MAX_EITR >> 2))) in ixgbe_set_coalesce() 2275 if (ec->tx_coalesce_usecs > 1) in ixgbe_set_coalesce() 2276 adapter->tx_itr_setting = ec->tx_coalesce_usecs << 2; in ixgbe_set_coalesce() 2278 adapter->tx_itr_setting = ec->tx_coalesce_usecs; in ixgbe_set_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 408 (ec->tx_coalesce_usecs) || in xgbe_set_coalesce()
|
/linux-4.1.27/include/uapi/linux/ |
D | ethtool.h | 414 __u32 tx_coalesce_usecs; member
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 930 coal->tx_coalesce_usecs = priv->tx_usecs; in mlx4_en_get_coalesce() 965 if (coal->tx_coalesce_usecs != priv->tx_usecs || in mlx4_en_set_coalesce() 967 priv->tx_usecs = coal->tx_coalesce_usecs; in mlx4_en_set_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_83xx_hw.c | 2263 u32 tx_coalesce_usecs, tx_max_frames; in qlcnic_83xx_config_intr_coal() local 2269 tx_coalesce_usecs = ethcoal->tx_coalesce_usecs; in qlcnic_83xx_config_intr_coal() 2278 coal->tx_time_us = tx_coalesce_usecs; in qlcnic_83xx_config_intr_coal() 2280 } else if ((coal->tx_time_us == tx_coalesce_usecs) && in qlcnic_83xx_config_intr_coal() 2289 coal->tx_time_us = tx_coalesce_usecs; in qlcnic_83xx_config_intr_coal()
|
D | qlcnic_ethtool.c | 1531 ethcoal->tx_coalesce_usecs > 0xffff || in qlcnic_set_intr_coalesce() 1567 ethcoal->tx_coalesce_usecs = adapter->ahw->coal.tx_time_us; in qlcnic_get_intr_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | skge.c | 624 ecmd->tx_coalesce_usecs = 0; in skge_get_coalesce() 633 ecmd->tx_coalesce_usecs = delay; in skge_get_coalesce() 659 if (ecmd->tx_coalesce_usecs == 0) in skge_set_coalesce() 661 else if (ecmd->tx_coalesce_usecs < 25 || in skge_set_coalesce() 662 ecmd->tx_coalesce_usecs > 33333) in skge_set_coalesce()
|
D | sky2.c | 4076 ecmd->tx_coalesce_usecs = 0; in sky2_get_coalesce() 4079 ecmd->tx_coalesce_usecs = sky2_clk2us(hw, clks); in sky2_get_coalesce() 4111 if (ecmd->tx_coalesce_usecs > tmax || in sky2_set_coalesce() 4123 if (ecmd->tx_coalesce_usecs == 0) in sky2_set_coalesce() 4127 sky2_us2clk(hw, ecmd->tx_coalesce_usecs)); in sky2_set_coalesce()
|
D | mv643xx_eth.c | 1608 ec->tx_coalesce_usecs = get_tx_coal(mp); in mv643xx_eth_get_coalesce() 1619 set_tx_coal(mp, ec->tx_coalesce_usecs); in mv643xx_eth_set_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/via/ |
D | via-velocity.c | 3554 ecmd->tx_coalesce_usecs = get_pending_timer_val(vptr->options.txqueue_timer); in velocity_get_coalesce() 3567 if (ecmd->tx_coalesce_usecs > max_us) in velocity_set_coalesce() 3583 ecmd->tx_coalesce_usecs); in velocity_set_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/tehuti/ |
D | tehuti.c | 2213 ecoal->tx_coalesce_usecs = GET_INT_COAL(tdintcm) * INT_COAL_MULT; in bdx_get_coalesce() 2239 tx_coal = ecoal->tx_coalesce_usecs / INT_COAL_MULT; in bdx_set_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 341 et->tx_coalesce_usecs = aic->prev_eqd; in be_get_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_main.c | 1295 (ecoalesce->tx_coalesce_usecs) || in axienet_ethtools_set_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 1797 coal->tx_coalesce_usecs = bp->tx_ticks; in bnx2x_get_coalesce() 1811 bp->tx_ticks = (u16)coal->tx_coalesce_usecs; in bnx2x_set_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | tg3.c | 9401 tw32(HOSTCC_TXCOL_TICKS, ec->tx_coalesce_usecs); in tg3_coal_tx_init() 9413 tw32(reg, ec->tx_coalesce_usecs); in tg3_coal_tx_init() 14019 (ec->tx_coalesce_usecs > MAX_TXCOL_TICKS) || in tg3_set_coalesce() 14036 if ((ec->tx_coalesce_usecs == 0) && in tg3_set_coalesce() 14042 tp->coal.tx_coalesce_usecs = ec->tx_coalesce_usecs; in tg3_set_coalesce() 17557 ec->tx_coalesce_usecs = LOW_TXCOL_TICKS; in tg3_init_coal() 17570 ec->tx_coalesce_usecs = LOW_TXCOL_TICKS_CLRTCKS; in tg3_init_coal()
|
D | bnx2.c | 7226 coal->tx_coalesce_usecs = bp->tx_ticks; in bnx2_get_coalesce() 7254 bp->tx_ticks = (u16) coal->tx_coalesce_usecs; in bnx2_set_coalesce()
|
/linux-4.1.27/drivers/net/ethernet/ |
D | jme.c | 2487 ecmd->tx_coalesce_usecs = PCC_TX_TO; in jme_get_coalesce()
|