Home
last modified time | relevance | path

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

12

/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c50 coal->rx_coalesce_usecs = priv->ethtool.coalesce_usecs; in ipoib_get_coalesce()
66 if (coal->rx_coalesce_usecs > 0xffff || in ipoib_set_coalesce()
71 coal->rx_coalesce_usecs); in ipoib_set_coalesce()
77 priv->ethtool.coalesce_usecs = coal->rx_coalesce_usecs; in ipoib_set_coalesce()
/drivers/net/ethernet/intel/igbvf/
Dethtool.c347 ec->rx_coalesce_usecs = adapter->requested_itr; in igbvf_get_coalesce()
349 ec->rx_coalesce_usecs = adapter->current_itr >> 2; in igbvf_get_coalesce()
360 if ((ec->rx_coalesce_usecs >= IGBVF_MIN_ITR_USECS) && in igbvf_set_coalesce()
361 (ec->rx_coalesce_usecs <= IGBVF_MAX_ITR_USECS)) { in igbvf_set_coalesce()
362 adapter->current_itr = ec->rx_coalesce_usecs << 2; in igbvf_set_coalesce()
365 } else if ((ec->rx_coalesce_usecs == 3) || in igbvf_set_coalesce()
366 (ec->rx_coalesce_usecs == 2)) { in igbvf_set_coalesce()
368 adapter->requested_itr = ec->rx_coalesce_usecs; in igbvf_set_coalesce()
369 } else if (ec->rx_coalesce_usecs == 0) { in igbvf_set_coalesce()
/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c78 if (le16_to_cpu(cqicb->irq_delay) != qdev->rx_coalesce_usecs || in ql_update_ring_coalescing()
84 cqicb->irq_delay = cpu_to_le16(qdev->rx_coalesce_usecs); in ql_update_ring_coalescing()
581 c->rx_coalesce_usecs = qdev->rx_coalesce_usecs; in ql_get_coalesce()
605 if (c->rx_coalesce_usecs > qdev->rx_ring_size / 2) in ql_set_coalesce()
616 if (qdev->rx_coalesce_usecs == c->rx_coalesce_usecs && in ql_set_coalesce()
622 qdev->rx_coalesce_usecs = c->rx_coalesce_usecs; in ql_set_coalesce()
/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c1732 ec->rx_coalesce_usecs = adapter->itr_setting; in e1000_get_coalesce()
1734 ec->rx_coalesce_usecs = 1000000 / adapter->itr_setting; in e1000_get_coalesce()
1748 if ((ec->rx_coalesce_usecs > E1000_MAX_ITR_USECS) || in e1000_set_coalesce()
1749 ((ec->rx_coalesce_usecs > 4) && in e1000_set_coalesce()
1750 (ec->rx_coalesce_usecs < E1000_MIN_ITR_USECS)) || in e1000_set_coalesce()
1751 (ec->rx_coalesce_usecs == 2)) in e1000_set_coalesce()
1754 if (ec->rx_coalesce_usecs == 4) { in e1000_set_coalesce()
1756 } else if (ec->rx_coalesce_usecs <= 3) { in e1000_set_coalesce()
1758 adapter->itr_setting = ec->rx_coalesce_usecs; in e1000_set_coalesce()
1760 adapter->itr = (1000000 / ec->rx_coalesce_usecs); in e1000_set_coalesce()
/drivers/net/ethernet/intel/e1000e/
Dethtool.c1879 ec->rx_coalesce_usecs = adapter->itr_setting; in e1000_get_coalesce()
1881 ec->rx_coalesce_usecs = 1000000 / adapter->itr_setting; in e1000_get_coalesce()
1892 if ((ec->rx_coalesce_usecs > E1000_MAX_ITR_USECS) || in e1000_set_coalesce()
1893 ((ec->rx_coalesce_usecs > 4) && in e1000_set_coalesce()
1894 (ec->rx_coalesce_usecs < E1000_MIN_ITR_USECS)) || in e1000_set_coalesce()
1895 (ec->rx_coalesce_usecs == 2)) in e1000_set_coalesce()
1898 if (ec->rx_coalesce_usecs == 4) { in e1000_set_coalesce()
1900 } else if (ec->rx_coalesce_usecs <= 3) { in e1000_set_coalesce()
1902 adapter->itr_setting = ec->rx_coalesce_usecs; in e1000_set_coalesce()
1904 adapter->itr = (1000000 / ec->rx_coalesce_usecs); in e1000_set_coalesce()
/drivers/net/ethernet/intel/igb/
Digb_ethtool.c1979 if ((ec->rx_coalesce_usecs > IGB_MAX_ITR_USECS) || in igb_set_coalesce()
1980 ((ec->rx_coalesce_usecs > 3) && in igb_set_coalesce()
1981 (ec->rx_coalesce_usecs < IGB_MIN_ITR_USECS)) || in igb_set_coalesce()
1982 (ec->rx_coalesce_usecs == 2)) in igb_set_coalesce()
1995 if (ec->rx_coalesce_usecs == 0) { in igb_set_coalesce()
2001 if (ec->rx_coalesce_usecs && ec->rx_coalesce_usecs <= 3) in igb_set_coalesce()
2002 adapter->rx_itr_setting = ec->rx_coalesce_usecs; in igb_set_coalesce()
2004 adapter->rx_itr_setting = ec->rx_coalesce_usecs << 2; in igb_set_coalesce()
2035 ec->rx_coalesce_usecs = adapter->rx_itr_setting; in igb_get_coalesce()
2037 ec->rx_coalesce_usecs = adapter->rx_itr_setting >> 2; in igb_get_coalesce()
/drivers/net/ethernet/cisco/enic/
Denic_main.c296 ecmd->rx_coalesce_usecs = enic->rx_coalesce_usecs; in enic_get_coalesce()
306 u32 rx_coalesce_usecs; in enic_set_coalesce() local
311 rx_coalesce_usecs = min_t(u32, ecmd->rx_coalesce_usecs, in enic_set_coalesce()
316 if (tx_coalesce_usecs != rx_coalesce_usecs) in enic_set_coalesce()
324 if (tx_coalesce_usecs != rx_coalesce_usecs) in enic_set_coalesce()
340 rx_coalesce_usecs); in enic_set_coalesce()
349 enic->rx_coalesce_usecs = rx_coalesce_usecs; in enic_set_coalesce()
2495 enic->rx_coalesce_usecs = enic->tx_coalesce_usecs; in enic_probe()
Denic.h94 u32 rx_coalesce_usecs; member
/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c336 coalesce->rx_coalesce_usecs = bnad->rx_coalescing_timeo * in bnad_get_coalesce()
352 if (coalesce->rx_coalesce_usecs == 0 || in bnad_set_coalesce()
353 coalesce->rx_coalesce_usecs > in bnad_set_coalesce()
398 if (bnad->rx_coalescing_timeo != coalesce->rx_coalesce_usecs / in bnad_set_coalesce()
400 bnad->rx_coalescing_timeo = coalesce->rx_coalesce_usecs / in bnad_set_coalesce()
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c364 coal->rx_coalesce_usecs = priv->rx_usecs; in mlx4_en_get_coalesce()
386 priv->rx_usecs = (coal->rx_coalesce_usecs == in mlx4_en_set_coalesce()
389 coal->rx_coalesce_usecs; in mlx4_en_set_coalesce()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c753 if (ethcoal->rx_coalesce_usecs > 0xffff || in netxen_set_intr_coalesce()
776 if (!ethcoal->rx_coalesce_usecs || in netxen_set_intr_coalesce()
786 ethcoal->rx_coalesce_usecs; in netxen_set_intr_coalesce()
810 ethcoal->rx_coalesce_usecs = adapter->coal.normal.data.rx_time_us; in netxen_get_intr_coalesce()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c1059 if (ethcoal->rx_coalesce_usecs > 0xffff || in qlcnic_set_intr_coalesce()
1082 if (!ethcoal->rx_coalesce_usecs || in qlcnic_set_intr_coalesce()
1091 adapter->ahw->coal.rx_time_us = ethcoal->rx_coalesce_usecs; in qlcnic_set_intr_coalesce()
1109 ethcoal->rx_coalesce_usecs = adapter->ahw->coal.rx_time_us; in qlcnic_get_intr_coalesce()
/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c751 adapter->params.sge.rx_coalesce_usecs = c->rx_coalesce_usecs; in set_coalesce()
762 c->rx_coalesce_usecs = adapter->params.sge.rx_coalesce_usecs; in get_coalesce()
Dcommon.h149 unsigned int rx_coalesce_usecs; member
Dsge.c1925 sge->fixed_intrtimer = p->rx_coalesce_usecs * in t1_sge_set_coalesce_params()
2121 p->rx_coalesce_usecs = 15; in t1_sge_create()
2123 p->rx_coalesce_usecs = 50; in t1_sge_create()
2125 p->rx_coalesce_usecs = 50; in t1_sge_create()
/drivers/net/ethernet/sfc/
Dethtool.c619 coalesce->rx_coalesce_usecs = rx_usecs; in efx_ethtool_get_coalesce()
640 if (coalesce->rx_coalesce_usecs != rx_usecs) in efx_ethtool_set_coalesce()
641 rx_usecs = coalesce->rx_coalesce_usecs; in efx_ethtool_set_coalesce()
/drivers/net/ethernet/ti/
Ddavinci_emac.c533 coal->rx_coalesce_usecs = priv->coal_intvl; in emac_get_coalesce()
553 if (!coal->rx_coalesce_usecs) in emac_set_coalesce()
556 coal_intvl = coal->rx_coalesce_usecs; in emac_set_coalesce()
1579 coal.rx_coalesce_usecs = (priv->coal_intvl << 4); in emac_dev_open()
/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c313 cvals->rx_coalesce_usecs = gfar_ticks2usecs(priv, rxtime); in gfar_gcoalesce()
367 if ((cvals->rx_coalesce_usecs == 0) || in gfar_scoalesce()
380 if (cvals->rx_coalesce_usecs > GFAR_MAX_COAL_USECS) { in gfar_scoalesce()
395 gfar_usecs2ticks(priv, cvals->rx_coalesce_usecs)); in gfar_scoalesce()
/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c296 et->rx_coalesce_usecs = eqo->cur_eqd; in be_get_coalesce()
324 eqo->eqd = et->rx_coalesce_usecs; in be_set_coalesce()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2122 ec->rx_coalesce_usecs = adapter->rx_itr_setting; in ixgbe_get_coalesce()
2124 ec->rx_coalesce_usecs = adapter->rx_itr_setting >> 2; in ixgbe_get_coalesce()
2185 if ((ec->rx_coalesce_usecs > (IXGBE_MAX_EITR >> 2)) || in ixgbe_set_coalesce()
2189 if (ec->rx_coalesce_usecs > 1) in ixgbe_set_coalesce()
2190 adapter->rx_itr_setting = ec->rx_coalesce_usecs << 2; in ixgbe_set_coalesce()
2192 adapter->rx_itr_setting = ec->rx_coalesce_usecs; in ixgbe_set_coalesce()
/drivers/net/ethernet/marvell/
Dskge.c623 ecmd->rx_coalesce_usecs = 0; in skge_get_coalesce()
631 ecmd->rx_coalesce_usecs = delay; in skge_get_coalesce()
649 if (ecmd->rx_coalesce_usecs == 0) in skge_set_coalesce()
651 else if (ecmd->rx_coalesce_usecs < 25 || in skge_set_coalesce()
652 ecmd->rx_coalesce_usecs > 33333) in skge_set_coalesce()
656 delay = ecmd->rx_coalesce_usecs; in skge_set_coalesce()
666 delay = min(delay, ecmd->rx_coalesce_usecs); in skge_set_coalesce()
Dsky2.c4068 ecmd->rx_coalesce_usecs = 0; in sky2_get_coalesce()
4071 ecmd->rx_coalesce_usecs = sky2_clk2us(hw, clks); in sky2_get_coalesce()
4096 ecmd->rx_coalesce_usecs > tmax || in sky2_set_coalesce()
4116 if (ecmd->rx_coalesce_usecs == 0) in sky2_set_coalesce()
4120 sky2_us2clk(hw, ecmd->rx_coalesce_usecs)); in sky2_set_coalesce()
/drivers/net/ethernet/
Djme.c2458 ecmd->rx_coalesce_usecs = 0; in jme_get_coalesce()
2467 ecmd->rx_coalesce_usecs = PCC_P1_TO; in jme_get_coalesce()
2471 ecmd->rx_coalesce_usecs = PCC_P2_TO; in jme_get_coalesce()
2475 ecmd->rx_coalesce_usecs = PCC_P3_TO; in jme_get_coalesce()
/drivers/net/ethernet/via/
Dvia-velocity.c3383 ecmd->rx_coalesce_usecs = get_pending_timer_val(vptr->options.rxqueue_timer); in velocity_get_coalesce()
3399 if (ecmd->rx_coalesce_usecs > max_us) in velocity_set_coalesce()
3411 ecmd->rx_coalesce_usecs); in velocity_set_coalesce()
/drivers/net/ethernet/tehuti/
Dtehuti.c2186 ecoal->rx_coalesce_usecs = GET_INT_COAL(rdintcm) * INT_COAL_MULT; in bdx_get_coalesce()
2215 rx_coal = ecoal->rx_coalesce_usecs / INT_COAL_MULT; in bdx_set_coalesce()

12