Home
last modified time | relevance | path

Searched refs:tx_coalesce_usecs (Results 1 – 36 of 36) sorted by relevance

/linux-4.1.27/drivers/net/wireless/ath/wil6210/
Dethtool.c67 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/
Denic_ethtool.c227 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()
Denic.h159 u32 tx_coalesce_usecs; member
Denic_main.c2599 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/
Dqlge_ethtool.c198 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()
Dqlge.h2124 u16 tx_coalesce_usecs; /* cqicb->int_delay */ member
Dqlge_main.c3231 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/
Dhip04_eth.c169 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/
Dethtool.c737 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/
Di40evf_ethtool.c301 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/
Dstmmac_ethtool.c663 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/
Dbnad_ethtool.c340 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/
Digb_ethtool.c2168 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/
Dethtool.c598 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/
Dnetxen_nic_ethtool.c760 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/
Dfm10k_ethtool.c590 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/
Di40e_ethtool.c1719 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/
Dgianfar_ethtool.c320 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()
Dfec_main.c2378 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/
Dixgbe_ethtool.c2206 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/
Dxgbe-ethtool.c408 (ec->tx_coalesce_usecs) || in xgbe_set_coalesce()
/linux-4.1.27/include/uapi/linux/
Dethtool.h414 __u32 tx_coalesce_usecs; member
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c930 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/
Dqlcnic_83xx_hw.c2263 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()
Dqlcnic_ethtool.c1531 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/
Dskge.c624 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()
Dsky2.c4076 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()
Dmv643xx_eth.c1608 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/
Dvia-velocity.c3554 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/
Dtehuti.c2213 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/
Dbe_ethtool.c341 et->tx_coalesce_usecs = aic->prev_eqd; in be_get_coalesce()
/linux-4.1.27/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c1295 (ecoalesce->tx_coalesce_usecs) || in axienet_ethtools_set_coalesce()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c1797 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/
Dtg3.c9401 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()
Dbnx2.c7226 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/
Djme.c2487 ecmd->tx_coalesce_usecs = PCC_TX_TO; in jme_get_coalesce()