/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | ethtool.c | 61 cp->tx_coalesce_usecs = tx_itr_val; in wil_ethtoolops_get_coalesce() 72 cp->rx_coalesce_usecs, cp->tx_coalesce_usecs); in wil_ethtoolops_set_coalesce() 84 cp->tx_coalesce_usecs > WIL6210_ITR_TRSH_MAX) in wil_ethtoolops_set_coalesce() 87 wil->tx_max_burst_duration = cp->tx_coalesce_usecs; in wil_ethtoolops_set_coalesce()
|
/linux-4.4.14/drivers/net/ethernet/cisco/enic/ |
D | enic_ethtool.c | 228 ecmd->tx_coalesce_usecs = enic->tx_coalesce_usecs; in enic_get_coalesce() 267 ec->tx_coalesce_usecs) in enic_coalesce_valid() 270 if ((ec->tx_coalesce_usecs > coalesce_usecs_max) || in enic_coalesce_valid() 289 u32 tx_coalesce_usecs; in enic_set_coalesce() local 302 tx_coalesce_usecs = min_t(u32, ecmd->tx_coalesce_usecs, in enic_set_coalesce() 316 tx_coalesce_usecs); in enic_set_coalesce() 318 enic->tx_coalesce_usecs = tx_coalesce_usecs; in enic_set_coalesce()
|
D | enic.h | 161 u32 tx_coalesce_usecs; member
|
D | enic_main.c | 2713 enic->tx_coalesce_usecs = enic->config.intr_timer_usec; in enic_probe() 2717 enic->rx_coalesce_usecs = enic->tx_coalesce_usecs; in enic_probe()
|
/linux-4.4.14/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() 619 c->tx_coalesce_usecs = qdev->tx_coalesce_usecs; in ql_get_coalesce() 647 if (c->tx_coalesce_usecs > qdev->tx_ring_size / 2) in ql_set_coalesce() 654 qdev->tx_coalesce_usecs == c->tx_coalesce_usecs && in ql_set_coalesce() 660 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 | 3242 cqicb->irq_delay = cpu_to_le16(qdev->tx_coalesce_usecs); in ql_start_rx_ring() 4683 qdev->tx_coalesce_usecs = DFLT_COALESCE_WAIT; in ql_init_device()
|
/linux-4.4.14/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.4.14/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.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40evf_ethtool.c | 303 ec->tx_coalesce_usecs = vsi->tx_itr_setting & ~I40E_ITR_DYNAMIC; in i40evf_get_coalesce() 334 if ((ec->tx_coalesce_usecs >= (I40E_MIN_ITR << 1)) && in i40evf_set_coalesce() 335 (ec->tx_coalesce_usecs <= (I40E_MAX_ITR << 1))) in i40evf_set_coalesce() 336 vsi->tx_itr_setting = ec->tx_coalesce_usecs; in i40evf_set_coalesce()
|
/linux-4.4.14/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.4.14/drivers/net/ethernet/brocade/bna/ |
D | bnad_ethtool.c | 342 coalesce->tx_coalesce_usecs = bnad->tx_coalescing_timeo * in bnad_get_coalesce() 361 if (coalesce->tx_coalesce_usecs == 0 || in bnad_set_coalesce() 362 coalesce->tx_coalesce_usecs > in bnad_set_coalesce() 395 if (bnad->tx_coalescing_timeo != coalesce->tx_coalesce_usecs / in bnad_set_coalesce() 397 bnad->tx_coalescing_timeo = coalesce->tx_coalesce_usecs / in bnad_set_coalesce()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | igb_ethtool.c | 2185 if ((ec->tx_coalesce_usecs > IGB_MAX_ITR_USECS) || in igb_set_coalesce() 2186 ((ec->tx_coalesce_usecs > 3) && in igb_set_coalesce() 2187 (ec->tx_coalesce_usecs < IGB_MIN_ITR_USECS)) || in igb_set_coalesce() 2188 (ec->tx_coalesce_usecs == 2)) in igb_set_coalesce() 2191 if ((adapter->flags & IGB_FLAG_QUEUE_PAIRS) && ec->tx_coalesce_usecs) in igb_set_coalesce() 2209 else if (ec->tx_coalesce_usecs && ec->tx_coalesce_usecs <= 3) in igb_set_coalesce() 2210 adapter->tx_itr_setting = ec->tx_coalesce_usecs; in igb_set_coalesce() 2212 adapter->tx_itr_setting = ec->tx_coalesce_usecs << 2; in igb_set_coalesce() 2241 ec->tx_coalesce_usecs = adapter->tx_itr_setting; in igb_get_coalesce() 2243 ec->tx_coalesce_usecs = adapter->tx_itr_setting >> 2; in igb_get_coalesce()
|
/linux-4.4.14/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.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 404 coal->tx_coalesce_usecs = priv->params.tx_cq_moderation_usec; in mlx5e_get_coalesce() 419 priv->params.tx_cq_moderation_usec = coal->tx_coalesce_usecs; in mlx5e_set_coalesce() 430 coal->tx_coalesce_usecs, in mlx5e_set_coalesce()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/ |
D | qed_int.c | 459 if (!p_hwfn->cdev->tx_coalesce_usecs) in qed_init_cau_sb_entry() 460 p_hwfn->cdev->tx_coalesce_usecs = in qed_init_cau_sb_entry() 513 timeset = p_hwfn->cdev->tx_coalesce_usecs >> in qed_int_cau_conf_sb()
|
D | qed.h | 396 u8 tx_coalesce_usecs; member
|
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_ethtool.c | 758 ethcoal->tx_coalesce_usecs > 0xffff || in netxen_set_intr_coalesce() 793 adapter->coal.normal.data.tx_time_us = ethcoal->tx_coalesce_usecs; in netxen_set_intr_coalesce() 814 ethcoal->tx_coalesce_usecs = adapter->coal.normal.data.tx_time_us; in netxen_get_intr_coalesce()
|
/linux-4.4.14/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 | 2488 ec->tx_coalesce_usecs = fep->tx_time_itr; in fec_enet_get_coalesce() 2528 fep->tx_time_itr = ec->tx_coalesce_usecs; in fec_enet_set_coalesce() 2543 ec.tx_coalesce_usecs = FEC_ITR_ICTT_DEFAULT; in fec_enet_itr_coal_init()
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_ethtool.c | 704 ec->tx_coalesce_usecs = interface->tx_itr & ~FM10K_ITR_ADAPTIVE; in fm10k_get_coalesce() 723 (ec->tx_coalesce_usecs > FM10K_ITR_MAX)) in fm10k_set_coalesce() 727 tx_itr = ec->tx_coalesce_usecs; in fm10k_set_coalesce()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 1862 ec->tx_coalesce_usecs = vsi->tx_itr_setting & ~I40E_ITR_DYNAMIC; in i40e_get_coalesce() 1915 if ((ec->tx_coalesce_usecs >= (I40E_MIN_ITR << 1)) && in i40e_set_coalesce() 1916 (ec->tx_coalesce_usecs <= (I40E_MAX_ITR << 1))) { in i40e_set_coalesce() 1917 vsi->tx_itr_setting = ec->tx_coalesce_usecs; in i40e_set_coalesce() 1918 } else if (ec->tx_coalesce_usecs == 0) { in i40e_set_coalesce() 1919 vsi->tx_itr_setting = ec->tx_coalesce_usecs; in i40e_set_coalesce()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 2211 ec->tx_coalesce_usecs = adapter->tx_itr_setting; in ixgbe_get_coalesce() 2213 ec->tx_coalesce_usecs = adapter->tx_itr_setting >> 2; in ixgbe_get_coalesce() 2259 if (ec->tx_coalesce_usecs) in ixgbe_set_coalesce() 2267 (ec->tx_coalesce_usecs > (IXGBE_MAX_EITR >> 2))) in ixgbe_set_coalesce() 2280 if (ec->tx_coalesce_usecs > 1) in ixgbe_set_coalesce() 2281 adapter->tx_itr_setting = ec->tx_coalesce_usecs << 2; in ixgbe_set_coalesce() 2283 adapter->tx_itr_setting = ec->tx_coalesce_usecs; in ixgbe_set_coalesce()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 466 ec->tx_coalesce_usecs = (reg >> RING_TIMEOUT_SHIFT) * 8192 / 1000; in bcm_sysport_get_coalesce() 489 ec->tx_coalesce_usecs > (RING_TIMEOUT_MASK * 8) + 1 || in bcm_sysport_set_coalesce() 494 if ((ec->tx_coalesce_usecs == 0 && ec->tx_max_coalesced_frames == 0) || in bcm_sysport_set_coalesce() 503 reg |= DIV_ROUND_UP(ec->tx_coalesce_usecs * 1000, 8192) << in bcm_sysport_set_coalesce()
|
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 | 7244 coal->tx_coalesce_usecs = bp->tx_ticks; in bnx2_get_coalesce() 7272 bp->tx_ticks = (u16) coal->tx_coalesce_usecs; in bnx2_set_coalesce()
|
/linux-4.4.14/include/uapi/linux/ |
D | ethtool.h | 419 __u32 tx_coalesce_usecs; member
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 420 (ec->tx_coalesce_usecs) || in xgbe_set_coalesce()
|
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ethtool.c | 764 &ec->tx_coalesce_usecs, in hns_get_coalesce() 793 if (ec->tx_coalesce_usecs != ec->rx_coalesce_usecs) in hns_set_coalesce()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 945 coal->tx_coalesce_usecs = priv->tx_usecs; in mlx4_en_get_coalesce() 980 if (coal->tx_coalesce_usecs != priv->tx_usecs || in mlx4_en_set_coalesce() 982 priv->tx_usecs = coal->tx_coalesce_usecs; in mlx4_en_set_coalesce()
|
/linux-4.4.14/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 | 1532 ethcoal->tx_coalesce_usecs > 0xffff || in qlcnic_set_intr_coalesce() 1568 ethcoal->tx_coalesce_usecs = adapter->ahw->coal.tx_time_us; in qlcnic_get_intr_coalesce()
|
/linux-4.4.14/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 | 1639 ec->tx_coalesce_usecs = get_tx_coal(mp); in mv643xx_eth_get_coalesce() 1650 set_tx_coal(mp, ec->tx_coalesce_usecs); in mv643xx_eth_set_coalesce()
|
/linux-4.4.14/drivers/net/ethernet/via/ |
D | via-velocity.c | 3536 ecmd->tx_coalesce_usecs = get_pending_timer_val(vptr->options.txqueue_timer); in velocity_get_coalesce() 3549 if (ecmd->tx_coalesce_usecs > max_us) in velocity_set_coalesce() 3565 ecmd->tx_coalesce_usecs); in velocity_set_coalesce()
|
/linux-4.4.14/drivers/net/ethernet/tehuti/ |
D | tehuti.c | 2208 ecoal->tx_coalesce_usecs = GET_INT_COAL(tdintcm) * INT_COAL_MULT; in bdx_get_coalesce() 2234 tx_coal = ecoal->tx_coalesce_usecs / INT_COAL_MULT; in bdx_set_coalesce()
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 339 et->tx_coalesce_usecs = aic->prev_eqd; in be_get_coalesce()
|
/linux-4.4.14/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_main.c | 1320 (ecoalesce->tx_coalesce_usecs) || in axienet_ethtools_set_coalesce()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 1841 coal->tx_coalesce_usecs = bp->tx_ticks; in bnx2x_get_coalesce() 1855 bp->tx_ticks = (u16)coal->tx_coalesce_usecs; in bnx2x_set_coalesce()
|
/linux-4.4.14/drivers/net/ethernet/ |
D | jme.c | 2489 ecmd->tx_coalesce_usecs = PCC_TX_TO; in jme_get_coalesce()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 610 if (ec->tx_coalesce_usecs || ec->tx_coalesce_usecs_high || in bcmgenet_set_coalesce()
|