/drivers/staging/qlge/ |
D | qlge_ethtool.c | 201 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/ |
D | vmxnet3_ethtool.c | 755 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/ |
D | aq_ethtool.c | 298 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/ |
D | dwc-xlgmac-ethtool.c | 157 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/ |
D | stmmac_ethtool.c | 718 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/ |
D | hip04_eth.c | 804 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/ |
D | lio_ethtool.c | 2131 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 …]
|
D | octeon_device.h | 590 u32 tx_max_coalesced_frames; member
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_ethtool.c | 1002 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/ |
D | netxen_nic_ethtool.c | 751 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/ |
D | gianfar_ethtool.c | 277 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/ |
D | xgbe-ethtool.c | 441 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/ |
D | en_ethtool.c | 502 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/ |
D | nixge.c | 1006 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/ |
D | netsec.c | 552 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/ |
D | en_ethtool.c | 1006 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/ |
D | xilinx_axienet_main.c | 1285 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/ |
D | hns_ethtool.c | 754 &ec->tx_max_coalesced_frames, in hns_get_coalesce() 800 ec->tx_max_coalesced_frames, in hns_set_coalesce()
|
/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 606 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/ |
D | virtio_net.c | 2235 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/ |
D | gemini.c | 2167 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/ |
D | bcmsysport.c | 582 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/ |
D | enic_ethtool.c | 330 ec->tx_max_coalesced_frames || in enic_coalesce_valid()
|
/drivers/net/ethernet/intel/iavf/ |
D | iavf_ethtool.c | 648 ec->tx_max_coalesced_frames = vsi->work_limit; in __iavf_get_coalesce()
|
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_ethtool.c | 381 coalesce->tx_max_coalesced_frames || in ionic_set_coalesce()
|