/drivers/infiniband/ulp/ipoib/ |
D | ipoib_ethtool.c | 50 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/ |
D | ethtool.c | 347 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/ |
D | qlge_ethtool.c | 78 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/ |
D | e1000_ethtool.c | 1732 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/ |
D | ethtool.c | 1879 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/ |
D | igb_ethtool.c | 1979 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/ |
D | enic_main.c | 296 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()
|
D | enic.h | 94 u32 rx_coalesce_usecs; member
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad_ethtool.c | 336 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/ |
D | en_ethtool.c | 364 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/ |
D | netxen_nic_ethtool.c | 753 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/ |
D | qlcnic_ethtool.c | 1059 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/ |
D | cxgb2.c | 751 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()
|
D | common.h | 149 unsigned int rx_coalesce_usecs; member
|
D | sge.c | 1925 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/ |
D | ethtool.c | 619 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/ |
D | davinci_emac.c | 533 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/ |
D | gianfar_ethtool.c | 313 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/ |
D | be_ethtool.c | 296 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/ |
D | ixgbe_ethtool.c | 2122 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/ |
D | skge.c | 623 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()
|
D | sky2.c | 4068 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/ |
D | jme.c | 2458 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/ |
D | via-velocity.c | 3383 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/ |
D | tehuti.c | 2186 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()
|