Home
last modified time | relevance | path

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

/linux-3.3/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c56 if (le16_to_cpu(cqicb->irq_delay) != qdev->tx_coalesce_usecs || in ql_update_ring_coalescing()
62 cqicb->irq_delay = cpu_to_le16(qdev->tx_coalesce_usecs); in ql_update_ring_coalescing()
582 c->tx_coalesce_usecs = qdev->tx_coalesce_usecs; in ql_get_coalesce()
610 if (c->tx_coalesce_usecs > qdev->tx_ring_size / 2) in ql_set_coalesce()
617 qdev->tx_coalesce_usecs == c->tx_coalesce_usecs && in ql_set_coalesce()
623 qdev->tx_coalesce_usecs = c->tx_coalesce_usecs; in ql_set_coalesce()
Dqlge.h2115 u16 tx_coalesce_usecs; /* cqicb->int_delay */ member
Dqlge_main.c3170 cqicb->irq_delay = cpu_to_le16(qdev->tx_coalesce_usecs); in ql_start_rx_ring()
4649 qdev->tx_coalesce_usecs = DFLT_COALESCE_WAIT; in ql_init_device()
/linux-3.3/drivers/net/ethernet/cisco/enic/
Denic_main.c295 ecmd->tx_coalesce_usecs = enic->tx_coalesce_usecs; in enic_get_coalesce()
305 u32 tx_coalesce_usecs; in enic_set_coalesce() local
309 tx_coalesce_usecs = min_t(u32, ecmd->tx_coalesce_usecs, in enic_set_coalesce()
316 if (tx_coalesce_usecs != rx_coalesce_usecs) in enic_set_coalesce()
321 tx_coalesce_usecs); in enic_set_coalesce()
324 if (tx_coalesce_usecs != rx_coalesce_usecs) in enic_set_coalesce()
328 tx_coalesce_usecs); in enic_set_coalesce()
334 tx_coalesce_usecs); in enic_set_coalesce()
348 enic->tx_coalesce_usecs = tx_coalesce_usecs; in enic_set_coalesce()
2480 enic->tx_coalesce_usecs = enic->config.intr_timer_usec; in enic_probe()
[all …]
Denic.h95 u32 tx_coalesce_usecs; member
/linux-3.3/drivers/net/ethernet/intel/igb/
Digb_ethtool.c1978 if ((ec->tx_coalesce_usecs > IGB_MAX_ITR_USECS) || in igb_set_coalesce()
1979 ((ec->tx_coalesce_usecs > 3) && in igb_set_coalesce()
1980 (ec->tx_coalesce_usecs < IGB_MIN_ITR_USECS)) || in igb_set_coalesce()
1981 (ec->tx_coalesce_usecs == 2)) in igb_set_coalesce()
1984 if ((adapter->flags & IGB_FLAG_QUEUE_PAIRS) && ec->tx_coalesce_usecs) in igb_set_coalesce()
2002 else if (ec->tx_coalesce_usecs && ec->tx_coalesce_usecs <= 3) in igb_set_coalesce()
2003 adapter->tx_itr_setting = ec->tx_coalesce_usecs; in igb_set_coalesce()
2005 adapter->tx_itr_setting = ec->tx_coalesce_usecs << 2; in igb_set_coalesce()
2034 ec->tx_coalesce_usecs = adapter->tx_itr_setting; in igb_get_coalesce()
2036 ec->tx_coalesce_usecs = adapter->tx_itr_setting >> 2; in igb_get_coalesce()
/linux-3.3/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c338 coalesce->tx_coalesce_usecs = bnad->tx_coalescing_timeo * in bnad_get_coalesce()
357 if (coalesce->tx_coalesce_usecs == 0 || in bnad_set_coalesce()
358 coalesce->tx_coalesce_usecs > in bnad_set_coalesce()
391 if (bnad->tx_coalescing_timeo != coalesce->tx_coalesce_usecs / in bnad_set_coalesce()
393 bnad->tx_coalescing_timeo = coalesce->tx_coalesce_usecs / in bnad_set_coalesce()
/linux-3.3/drivers/net/ethernet/sfc/
Dethtool.c627 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce()
660 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce()
662 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce()
663 tx_usecs = coalesce->tx_coalesce_usecs; in efx_ethtool_set_coalesce()
/linux-3.3/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c750 ethcoal->tx_coalesce_usecs > 0xffff || in netxen_set_intr_coalesce()
785 adapter->coal.normal.data.tx_time_us = ethcoal->tx_coalesce_usecs; in netxen_set_intr_coalesce()
806 ethcoal->tx_coalesce_usecs = adapter->coal.normal.data.tx_time_us; in netxen_get_intr_coalesce()
/linux-3.3/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2125 ec->tx_coalesce_usecs = adapter->tx_itr_setting; in ixgbe_get_coalesce()
2127 ec->tx_coalesce_usecs = adapter->tx_itr_setting >> 2; in ixgbe_get_coalesce()
2177 && ec->tx_coalesce_usecs) in ixgbe_set_coalesce()
2184 (ec->tx_coalesce_usecs > (IXGBE_MAX_EITR >> 2))) in ixgbe_set_coalesce()
2200 if (ec->tx_coalesce_usecs > 1) in ixgbe_set_coalesce()
2201 adapter->tx_itr_setting = ec->tx_coalesce_usecs << 2; in ixgbe_set_coalesce()
2203 adapter->tx_itr_setting = ec->tx_coalesce_usecs; in ixgbe_set_coalesce()
/linux-3.3/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c246 coalesce->tx_coalesce_usecs = tx_eq->cur_eqd; in be_get_coalesce()
307 tx_cur = coalesce->tx_coalesce_usecs; in be_set_coalesce()
/linux-3.3/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c316 cvals->tx_coalesce_usecs = gfar_ticks2usecs(priv, txtime); in gfar_gcoalesce()
399 if ((cvals->tx_coalesce_usecs == 0) || in gfar_scoalesce()
409 if (cvals->tx_coalesce_usecs > GFAR_MAX_COAL_USECS) { in gfar_scoalesce()
424 gfar_usecs2ticks(priv, cvals->tx_coalesce_usecs)); in gfar_scoalesce()
/linux-3.3/include/linux/
Dethtool.h198 __u32 tx_coalesce_usecs; member
/linux-3.3/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c362 coal->tx_coalesce_usecs = 0; in mlx4_en_get_coalesce()
/linux-3.3/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.c4026 ecmd->tx_coalesce_usecs = 0; in sky2_get_coalesce()
4029 ecmd->tx_coalesce_usecs = sky2_clk2us(hw, clks); in sky2_get_coalesce()
4061 if (ecmd->tx_coalesce_usecs > tmax || in sky2_set_coalesce()
4073 if (ecmd->tx_coalesce_usecs == 0) in sky2_set_coalesce()
4077 sky2_us2clk(hw, ecmd->tx_coalesce_usecs)); in sky2_set_coalesce()
Dmv643xx_eth.c1544 ec->tx_coalesce_usecs = get_tx_coal(mp); in mv643xx_eth_get_coalesce()
1555 set_tx_coal(mp, ec->tx_coalesce_usecs); in mv643xx_eth_set_coalesce()
/linux-3.3/drivers/net/ethernet/via/
Dvia-velocity.c3386 ecmd->tx_coalesce_usecs = get_pending_timer_val(vptr->options.txqueue_timer); in velocity_get_coalesce()
3399 if (ecmd->tx_coalesce_usecs > max_us) in velocity_set_coalesce()
3415 ecmd->tx_coalesce_usecs); in velocity_set_coalesce()
/linux-3.3/drivers/net/ethernet/tehuti/
Dtehuti.c2192 ecoal->tx_coalesce_usecs = GET_INT_COAL(tdintcm) * INT_COAL_MULT; in bdx_get_coalesce()
2218 tx_coal = ecoal->tx_coalesce_usecs / INT_COAL_MULT; in bdx_set_coalesce()
/linux-3.3/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c1327 coal->tx_coalesce_usecs = bp->tx_ticks; in bnx2x_get_coalesce()
1341 bp->tx_ticks = (u16)coal->tx_coalesce_usecs; in bnx2x_set_coalesce()
/linux-3.3/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c1064 ethcoal->tx_coalesce_usecs || in qlcnic_set_intr_coalesce()
/linux-3.3/drivers/net/ethernet/broadcom/
Dtg3.c7985 tw32(HOSTCC_TXCOL_TICKS, ec->tx_coalesce_usecs); in __tg3_set_coalesce()
8028 tw32(reg, ec->tx_coalesce_usecs); in __tg3_set_coalesce()
11957 (ec->tx_coalesce_usecs > MAX_TXCOL_TICKS) || in tg3_set_coalesce()
11974 if ((ec->tx_coalesce_usecs == 0) && in tg3_set_coalesce()
11980 tp->coal.tx_coalesce_usecs = ec->tx_coalesce_usecs; in tg3_set_coalesce()
15374 ec->tx_coalesce_usecs = LOW_TXCOL_TICKS; in tg3_init_coal()
15387 ec->tx_coalesce_usecs = LOW_TXCOL_TICKS_CLRTCKS; in tg3_init_coal()
Dbnx2.c7092 coal->tx_coalesce_usecs = bp->tx_ticks; in bnx2_get_coalesce()
7120 bp->tx_ticks = (u16) coal->tx_coalesce_usecs; in bnx2_set_coalesce()
/linux-3.3/drivers/net/ethernet/
Djme.c2453 ecmd->tx_coalesce_usecs = PCC_TX_TO; in jme_get_coalesce()