Home
last modified time | relevance | path

Searched refs:tx_max_coalesced_frames (Results 1 – 31 of 31) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c200 qdev->tx_max_coalesced_frames) { in ql_update_ring_coalescing()
206 cpu_to_le16(qdev->tx_max_coalesced_frames); in ql_update_ring_coalescing()
632 c->tx_max_coalesced_frames = qdev->tx_max_coalesced_frames; in ql_get_coalesce()
649 if (c->tx_max_coalesced_frames > MAX_INTER_FRAME_WAIT) in ql_set_coalesce()
656 qdev->tx_max_coalesced_frames == c->tx_max_coalesced_frames) in ql_set_coalesce()
662 qdev->tx_max_coalesced_frames = c->tx_max_coalesced_frames; in ql_set_coalesce()
Dqlge.h2125 u16 tx_max_coalesced_frames; /* cqicb->pkt_int_delay */ member
Dqlge_main.c3243 cqicb->pkt_delay = cpu_to_le16(qdev->tx_max_coalesced_frames); in ql_start_rx_ring()
4685 qdev->tx_max_coalesced_frames = DFLT_INTER_FRAME_WAIT; in ql_init_device()
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c664 ec->tx_max_coalesced_frames = priv->tx_coal_frames; in stmmac_get_coalesce()
696 (ec->tx_max_coalesced_frames == 0)) in stmmac_set_coalesce()
700 (ec->tx_max_coalesced_frames > STMMAC_TX_MAX_FRAMES)) in stmmac_set_coalesce()
711 priv->tx_coal_frames = ec->tx_max_coalesced_frames; in stmmac_set_coalesce()
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c657 intr_coal->tx_max_coalesced_frames = iq->fill_threshold; in lio_get_intr_coalesce()
859 if ((intr_coal->tx_max_coalesced_frames >= CN6XXX_DB_MIN) && in lio_set_intr_coalesce()
860 (intr_coal->tx_max_coalesced_frames <= CN6XXX_DB_MAX)) { in lio_set_intr_coalesce()
864 intr_coal->tx_max_coalesced_frames; in lio_set_intr_coalesce()
869 intr_coal->tx_max_coalesced_frames, CN6XXX_DB_MIN, in lio_set_intr_coalesce()
/linux-4.4.14/drivers/net/ethernet/hisilicon/
Dhip04_eth.c712 ec->tx_max_coalesced_frames = priv->tx_coalesce_frames; in hip04_get_coalesce()
738 (ec->tx_max_coalesced_frames > HIP04_MAX_TX_COALESCE_FRAMES || in hip04_set_coalesce()
739 ec->tx_max_coalesced_frames < HIP04_MIN_TX_COALESCE_FRAMES)) in hip04_set_coalesce()
743 priv->tx_coalesce_frames = ec->tx_max_coalesced_frames; in hip04_set_coalesce()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c404 ec->tx_max_coalesced_frames = pdata->tx_frames; in xgbe_get_coalesce()
461 tx_frames = ec->tx_max_coalesced_frames; in xgbe_set_coalesce()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c405 coal->tx_max_coalesced_frames = priv->params.tx_cq_moderation_pkts; in mlx5e_get_coalesce()
420 priv->params.tx_cq_moderation_pkts = coal->tx_max_coalesced_frames; in mlx5e_set_coalesce()
431 coal->tx_max_coalesced_frames); in mlx5e_set_coalesce()
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c759 ethcoal->tx_max_coalesced_frames > 0xffff || in netxen_set_intr_coalesce()
795 ethcoal->tx_max_coalesced_frames; in netxen_set_intr_coalesce()
817 ethcoal->tx_max_coalesced_frames = in netxen_get_intr_coalesce()
/linux-4.4.14/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c321 cvals->tx_max_coalesced_frames = txcount; in gfar_gcoalesce()
391 if (cvals->tx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce()
418 (cvals->tx_max_coalesced_frames == 0)) { in gfar_scoalesce()
428 cvals->tx_max_coalesced_frames, in gfar_scoalesce()
Dfec_main.c2489 ec->tx_max_coalesced_frames = fep->tx_pkts_itr; in fec_enet_get_coalesce()
2508 if (ec->tx_max_coalesced_frames > 255) { in fec_enet_set_coalesce()
2529 fep->tx_pkts_itr = ec->tx_max_coalesced_frames; in fec_enet_set_coalesce()
2544 ec.tx_max_coalesced_frames = FEC_ITR_ICFT_DEFAULT; in fec_enet_itr_coal_init()
/linux-4.4.14/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c1290 ecoalesce->tx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in axienet_ethtools_get_coalesce()
1340 if (ecoalesce->tx_max_coalesced_frames) in axienet_ethtools_set_coalesce()
1341 lp->coalesce_count_tx = ecoalesce->tx_max_coalesced_frames; in axienet_ethtools_set_coalesce()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbcmsysport.c467 ec->tx_max_coalesced_frames = reg & RING_INTR_THRESH_MASK; in bcm_sysport_get_coalesce()
488 if (ec->tx_max_coalesced_frames > RING_INTR_THRESH_MASK || in bcm_sysport_set_coalesce()
494 if ((ec->tx_coalesce_usecs == 0 && ec->tx_max_coalesced_frames == 0) || in bcm_sysport_set_coalesce()
502 reg |= ec->tx_max_coalesced_frames; in bcm_sysport_set_coalesce()
Dtg3.c9402 tw32(HOSTCC_TXMAX_FRAMES, ec->tx_max_coalesced_frames); in tg3_coal_tx_init()
9415 tw32(reg, ec->tx_max_coalesced_frames); in tg3_coal_tx_init()
14021 (ec->tx_max_coalesced_frames > MAX_TXMAX_FRAMES) || in tg3_set_coalesce()
14037 (ec->tx_max_coalesced_frames == 0)) in tg3_set_coalesce()
14044 tp->coal.tx_max_coalesced_frames = ec->tx_max_coalesced_frames; in tg3_set_coalesce()
17559 ec->tx_max_coalesced_frames = LOW_TXMAX_FRAMES; in tg3_init_coal()
Dbnx2.c7245 coal->tx_max_coalesced_frames = bp->tx_quick_cons_trip; in bnx2_get_coalesce()
7275 bp->tx_quick_cons_trip = (u16) coal->tx_max_coalesced_frames; in bnx2_set_coalesce()
/linux-4.4.14/include/uapi/linux/
Dethtool.h420 __u32 tx_max_coalesced_frames; member
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c769 &ec->tx_max_coalesced_frames, in hns_get_coalesce()
796 if (ec->rx_max_coalesced_frames != ec->tx_max_coalesced_frames) in hns_set_coalesce()
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c250 ec->tx_max_coalesced_frames || in enic_coalesce_valid()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40evf_ethtool.c293 ec->tx_max_coalesced_frames = vsi->work_limit; in i40evf_get_coalesce()
/linux-4.4.14/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c574 ec->tx_max_coalesced_frames = in bcmgenet_get_coalesce()
597 if (ec->tx_max_coalesced_frames > DMA_INTR_THRESHOLD_MASK || in bcmgenet_set_coalesce()
598 ec->tx_max_coalesced_frames == 0 || in bcmgenet_set_coalesce()
619 ec->tx_max_coalesced_frames, in bcmgenet_set_coalesce()
622 ec->tx_max_coalesced_frames, in bcmgenet_set_coalesce()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c946 coal->tx_max_coalesced_frames = priv->tx_frames; in mlx4_en_get_coalesce()
981 coal->tx_max_coalesced_frames != priv->tx_frames) { in mlx4_en_set_coalesce()
983 priv->tx_frames = coal->tx_max_coalesced_frames; in mlx4_en_set_coalesce()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c1533 ethcoal->tx_max_coalesced_frames > 0xffff || in qlcnic_set_intr_coalesce()
1569 ethcoal->tx_max_coalesced_frames = adapter->ahw->coal.tx_packets; in qlcnic_get_intr_coalesce()
Dqlcnic_83xx_hw.c2270 tx_max_frames = ethcoal->tx_max_coalesced_frames; in qlcnic_83xx_config_intr_coal()
/linux-4.4.14/drivers/net/ethernet/via/
Dvia-velocity.c3532 ecmd->tx_max_coalesced_frames = vptr->options.tx_intsup; in velocity_get_coalesce()
3554 if (ecmd->tx_max_coalesced_frames > 0xff) in velocity_set_coalesce()
3560 vptr->options.tx_intsup = ecmd->tx_max_coalesced_frames; in velocity_set_coalesce()
/linux-4.4.14/drivers/net/ethernet/tehuti/
Dtehuti.c2209 ecoal->tx_max_coalesced_frames = in bdx_get_coalesce()
2236 tx_max_coal = ecoal->tx_max_coalesced_frames; in bdx_set_coalesce()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c344 coalesce->tx_max_coalesced_frames = BFI_TX_INTERPKT_COUNT; in bnad_get_coalesce()
/linux-4.4.14/drivers/net/ethernet/marvell/
Dmvneta.c2970 txq->done_pkts_coal = c->tx_max_coalesced_frames; in mvneta_ethtool_set_coalesce()
2986 c->tx_max_coalesced_frames = pp->txqs[0].done_pkts_coal; in mvneta_ethtool_get_coalesce()
Dsky2.c4081 ecmd->tx_max_coalesced_frames = sky2_read16(hw, STAT_TX_IDX_TH); in sky2_get_coalesce()
4116 if (ecmd->tx_max_coalesced_frames >= sky2->tx_ring_size-1) in sky2_set_coalesce()
4130 sky2_write16(hw, STAT_TX_IDX_TH, ecmd->tx_max_coalesced_frames); in sky2_set_coalesce()
Dmvpp2.c5867 txq->done_pkts_coal = c->tx_max_coalesced_frames; in mvpp2_ethtool_set_coalesce()
5881 c->tx_max_coalesced_frames = port->txqs[0]->done_pkts_coal; in mvpp2_ethtool_get_coalesce()
/linux-4.4.14/drivers/net/ethernet/
Djme.c2490 ecmd->tx_max_coalesced_frames = PCC_TX_CNT; in jme_get_coalesce()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2161 ec->tx_max_coalesced_frames || in igb_set_coalesce()