Home
last modified time | relevance | path

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

12

/drivers/staging/qlge/
Dqlge_ethtool.c201 qdev->tx_max_coalesced_frames) { in ql_update_ring_coalescing()
207 cpu_to_le16(qdev->tx_max_coalesced_frames); in ql_update_ring_coalescing()
639 c->tx_max_coalesced_frames = qdev->tx_max_coalesced_frames; in ql_get_coalesce()
656 if (c->tx_max_coalesced_frames > MAX_INTER_FRAME_WAIT) in ql_set_coalesce()
663 qdev->tx_max_coalesced_frames == c->tx_max_coalesced_frames) in ql_set_coalesce()
669 qdev->tx_max_coalesced_frames = c->tx_max_coalesced_frames; in ql_set_coalesce()
/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c755 ec->tx_max_coalesced_frames = in vmxnet3_get_coalesce()
808 (ec->tx_max_coalesced_frames == 0) && in vmxnet3_set_coalesce()
819 (ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
838 (ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
847 if ((ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
854 if ((ec->tx_max_coalesced_frames > in vmxnet3_set_coalesce()
865 (ec->tx_max_coalesced_frames ? in vmxnet3_set_coalesce()
866 ec->tx_max_coalesced_frames : in vmxnet3_set_coalesce()
/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c298 coal->tx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce()
303 coal->tx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce()
326 if (coal->tx_max_coalesced_frames > 1 || in aq_ethtool_set_coalesce()
335 if (!(coal->tx_max_coalesced_frames == !coal->tx_coalesce_usecs)) in aq_ethtool_set_coalesce()
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-ethtool.c157 ec->tx_max_coalesced_frames = pdata->tx_frames; in xlgmac_ethtool_get_coalesce()
187 tx_frames = ec->tx_max_coalesced_frames; in xlgmac_ethtool_set_coalesce()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c718 ec->tx_max_coalesced_frames = priv->tx_coal_frames; in stmmac_get_coalesce()
760 (ec->tx_max_coalesced_frames == 0)) in stmmac_set_coalesce()
764 (ec->tx_max_coalesced_frames > STMMAC_TX_MAX_FRAMES)) in stmmac_set_coalesce()
768 priv->tx_coal_frames = ec->tx_max_coalesced_frames; in stmmac_set_coalesce()
/drivers/net/ethernet/hisilicon/
Dhip04_eth.c804 ec->tx_max_coalesced_frames = priv->tx_coalesce_frames; in hip04_get_coalesce()
830 (ec->tx_max_coalesced_frames > HIP04_MAX_TX_COALESCE_FRAMES || in hip04_set_coalesce()
831 ec->tx_max_coalesced_frames < HIP04_MIN_TX_COALESCE_FRAMES)) in hip04_set_coalesce()
835 priv->tx_coalesce_frames = ec->tx_max_coalesced_frames; in hip04_set_coalesce()
/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c2131 intr_coal->tx_max_coalesced_frames = in lio_get_intr_coalesce()
2132 oct->tx_max_coalesced_frames; in lio_get_intr_coalesce()
2147 intr_coal->tx_max_coalesced_frames = iq->fill_threshold; in lio_get_intr_coalesce()
2389 if (!intr_coal->tx_max_coalesced_frames) in oct_cfg_tx_intrcnt()
2393 iq_intr_pkt = intr_coal->tx_max_coalesced_frames & in oct_cfg_tx_intrcnt()
2406 oct->tx_max_coalesced_frames = iq_intr_pkt; in oct_cfg_tx_intrcnt()
2430 if ((intr_coal->tx_max_coalesced_frames >= db_min) && in lio_set_intr_coalesce()
2431 (intr_coal->tx_max_coalesced_frames <= db_max)) { in lio_set_intr_coalesce()
2435 intr_coal->tx_max_coalesced_frames; in lio_set_intr_coalesce()
2440 intr_coal->tx_max_coalesced_frames, in lio_set_intr_coalesce()
[all …]
Docteon_device.h590 u32 tx_max_coalesced_frames; member
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c1002 ec->tx_max_coalesced_frames = nn->tx_coalesce_max_frames; in nfp_net_get_coalesce()
1292 if (!ec->tx_coalesce_usecs && !ec->tx_max_coalesced_frames) in nfp_net_set_coalesce()
1304 if (ec->tx_max_coalesced_frames >= ((1 << 16) - 1)) in nfp_net_set_coalesce()
1311 nn->tx_coalesce_max_frames = ec->tx_max_coalesced_frames; in nfp_net_set_coalesce()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c751 ethcoal->tx_max_coalesced_frames > 0xffff || in netxen_set_intr_coalesce()
787 ethcoal->tx_max_coalesced_frames; in netxen_set_intr_coalesce()
809 ethcoal->tx_max_coalesced_frames = in netxen_get_intr_coalesce()
/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c277 cvals->tx_max_coalesced_frames = txcount; in gfar_gcoalesce()
347 if (cvals->tx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce()
374 (cvals->tx_max_coalesced_frames == 0)) { in gfar_scoalesce()
384 cvals->tx_max_coalesced_frames, in gfar_scoalesce()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c441 ec->tx_max_coalesced_frames = pdata->tx_frames; in xgbe_get_coalesce()
498 tx_frames = ec->tx_max_coalesced_frames; in xgbe_set_coalesce()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c502 coal->tx_max_coalesced_frames = tx_moder->pkts; in mlx5e_ethtool_get_coalesce()
533 coal->tx_max_coalesced_frames); in mlx5e_set_priv_channels_coalesce()
561 if (coal->tx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES || in mlx5e_ethtool_set_coalesce()
578 tx_moder->pkts = coal->tx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
/drivers/net/ethernet/ni/
Dnixge.c1006 ecoalesce->tx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce()
1045 if (ecoalesce->tx_max_coalesced_frames) in nixge_ethtools_set_coalesce()
1046 priv->coalesce_count_tx = ecoalesce->tx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
/drivers/net/ethernet/socionext/
Dnetsec.c552 if (priv->et_coalesce.tx_max_coalesced_frames < 1) in netsec_et_set_coalesce()
553 priv->et_coalesce.tx_max_coalesced_frames = 1; in netsec_et_set_coalesce()
556 priv->et_coalesce.tx_max_coalesced_frames); in netsec_et_set_coalesce()
2057 priv->et_coalesce.tx_max_coalesced_frames = 8; in netsec_probe()
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1006 coal->tx_max_coalesced_frames = priv->tx_frames; in mlx4_en_get_coalesce()
1039 if (coal->tx_max_coalesced_frames > MLX4_EN_MAX_COAL_PKTS || in mlx4_en_set_coalesce()
1057 coal->tx_max_coalesced_frames != priv->tx_frames) { in mlx4_en_set_coalesce()
1059 priv->tx_frames = coal->tx_max_coalesced_frames; in mlx4_en_set_coalesce()
/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c1285 ecoalesce->tx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in axienet_ethtools_get_coalesce()
1335 if (ecoalesce->tx_max_coalesced_frames) in axienet_ethtools_set_coalesce()
1336 lp->coalesce_count_tx = ecoalesce->tx_max_coalesced_frames; in axienet_ethtools_set_coalesce()
/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c754 &ec->tx_max_coalesced_frames, in hns_get_coalesce()
800 ec->tx_max_coalesced_frames, in hns_set_coalesce()
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c606 ec->tx_max_coalesced_frames = in bcmgenet_get_coalesce()
671 if (ec->tx_max_coalesced_frames > DMA_INTR_THRESHOLD_MASK || in bcmgenet_set_coalesce()
672 ec->tx_max_coalesced_frames == 0 || in bcmgenet_set_coalesce()
694 ec->tx_max_coalesced_frames, in bcmgenet_set_coalesce()
697 ec->tx_max_coalesced_frames, in bcmgenet_set_coalesce()
/drivers/net/
Dvirtio_net.c2235 if (ec->tx_max_coalesced_frames > 1) in virtnet_set_coalesce()
2238 ec_default.tx_max_coalesced_frames = ec->tx_max_coalesced_frames; in virtnet_set_coalesce()
2239 napi_weight = ec->tx_max_coalesced_frames ? NAPI_POLL_WEIGHT : 0; in virtnet_set_coalesce()
2267 ec->tx_max_coalesced_frames = 1; in virtnet_get_coalesce()
/drivers/net/ethernet/cortina/
Dgemini.c2167 ecmd->tx_max_coalesced_frames = port->irq_every_tx_packets; in gmac_get_coalesce()
2178 if (ecmd->tx_max_coalesced_frames < 1) in gmac_set_coalesce()
2180 if (ecmd->tx_max_coalesced_frames >= 1 << port->txq_order) in gmac_set_coalesce()
2183 port->irq_every_tx_packets = ecmd->tx_max_coalesced_frames; in gmac_set_coalesce()
/drivers/net/ethernet/broadcom/
Dbcmsysport.c582 reg |= ec->tx_max_coalesced_frames; in bcm_sysport_set_tx_coalesce()
597 ec->tx_max_coalesced_frames = reg & RING_INTR_THRESH_MASK; in bcm_sysport_get_coalesce()
620 if (ec->tx_max_coalesced_frames > RING_INTR_THRESH_MASK || in bcm_sysport_set_coalesce()
626 if ((ec->tx_coalesce_usecs == 0 && ec->tx_max_coalesced_frames == 0) || in bcm_sysport_set_coalesce()
/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c330 ec->tx_max_coalesced_frames || in enic_coalesce_valid()
/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c648 ec->tx_max_coalesced_frames = vsi->work_limit; in __iavf_get_coalesce()
/drivers/net/ethernet/pensando/ionic/
Dionic_ethtool.c381 coalesce->tx_max_coalesced_frames || in ionic_set_coalesce()

12