Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/net/ethernet/qlogic/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()
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c236 coal->tx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce()
241 coal->tx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce()
264 if (coal->tx_max_coalesced_frames > 1 || in aq_ethtool_set_coalesce()
273 if (!(coal->tx_max_coalesced_frames == !coal->tx_coalesce_usecs)) in aq_ethtool_set_coalesce()
/Linux-v4.19/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c745 ec->tx_max_coalesced_frames = in vmxnet3_get_coalesce()
798 (ec->tx_max_coalesced_frames == 0) && in vmxnet3_set_coalesce()
809 (ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
828 (ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
837 if ((ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
844 if ((ec->tx_max_coalesced_frames > in vmxnet3_set_coalesce()
855 (ec->tx_max_coalesced_frames ? in vmxnet3_set_coalesce()
856 ec->tx_max_coalesced_frames : in vmxnet3_set_coalesce()
/Linux-v4.19/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()
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c742 ec->tx_max_coalesced_frames = priv->tx_coal_frames; in stmmac_get_coalesce()
775 (ec->tx_max_coalesced_frames == 0)) in stmmac_set_coalesce()
779 (ec->tx_max_coalesced_frames > STMMAC_TX_MAX_FRAMES)) in stmmac_set_coalesce()
790 priv->tx_coal_frames = ec->tx_max_coalesced_frames; in stmmac_set_coalesce()
/Linux-v4.19/drivers/net/ethernet/hisilicon/
Dhip04_eth.c710 ec->tx_max_coalesced_frames = priv->tx_coalesce_frames; in hip04_get_coalesce()
736 (ec->tx_max_coalesced_frames > HIP04_MAX_TX_COALESCE_FRAMES || in hip04_set_coalesce()
737 ec->tx_max_coalesced_frames < HIP04_MIN_TX_COALESCE_FRAMES)) in hip04_set_coalesce()
741 priv->tx_coalesce_frames = ec->tx_max_coalesced_frames; in hip04_set_coalesce()
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c2204 intr_coal->tx_max_coalesced_frames = in lio_get_intr_coalesce()
2205 oct->tx_max_coalesced_frames; in lio_get_intr_coalesce()
2220 intr_coal->tx_max_coalesced_frames = iq->fill_threshold; in lio_get_intr_coalesce()
2462 if (!intr_coal->tx_max_coalesced_frames) in oct_cfg_tx_intrcnt()
2466 iq_intr_pkt = intr_coal->tx_max_coalesced_frames & in oct_cfg_tx_intrcnt()
2479 oct->tx_max_coalesced_frames = iq_intr_pkt; in oct_cfg_tx_intrcnt()
2503 if ((intr_coal->tx_max_coalesced_frames >= db_min) && in lio_set_intr_coalesce()
2504 (intr_coal->tx_max_coalesced_frames <= db_max)) { in lio_set_intr_coalesce()
2508 intr_coal->tx_max_coalesced_frames; in lio_set_intr_coalesce()
2513 intr_coal->tx_max_coalesced_frames, in lio_set_intr_coalesce()
[all …]
Docteon_device.h586 u32 tx_max_coalesced_frames; member
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c1015 ec->tx_max_coalesced_frames = nn->tx_coalesce_max_frames; in nfp_net_get_coalesce()
1181 if (!ec->tx_coalesce_usecs && !ec->tx_max_coalesced_frames) in nfp_net_set_coalesce()
1193 if (ec->tx_max_coalesced_frames >= ((1 << 16) - 1)) in nfp_net_set_coalesce()
1200 nn->tx_coalesce_max_frames = ec->tx_max_coalesced_frames; in nfp_net_set_coalesce()
/Linux-v4.19/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c767 ethcoal->tx_max_coalesced_frames > 0xffff || in netxen_set_intr_coalesce()
803 ethcoal->tx_max_coalesced_frames; in netxen_set_intr_coalesce()
825 ethcoal->tx_max_coalesced_frames = in netxen_get_intr_coalesce()
/Linux-v4.19/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c293 cvals->tx_max_coalesced_frames = txcount; in gfar_gcoalesce()
363 if (cvals->tx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce()
390 (cvals->tx_max_coalesced_frames == 0)) { in gfar_scoalesce()
400 cvals->tx_max_coalesced_frames, in gfar_scoalesce()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c404 coal->tx_max_coalesced_frames = tx_moder->pkts; in mlx5e_ethtool_get_coalesce()
435 coal->tx_max_coalesced_frames); in mlx5e_set_priv_channels_coalesce()
463 if (coal->tx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES || in mlx5e_ethtool_set_coalesce()
480 tx_moder->pkts = coal->tx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
/Linux-v4.19/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()
/Linux-v4.19/drivers/net/ethernet/ni/
Dnixge.c940 ecoalesce->tx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce()
979 if (ecoalesce->tx_max_coalesced_frames) in nixge_ethtools_set_coalesce()
980 priv->coalesce_count_tx = ecoalesce->tx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
/Linux-v4.19/drivers/net/ethernet/socionext/
Dnetsec.c507 if (priv->et_coalesce.tx_max_coalesced_frames < 1) in netsec_et_set_coalesce()
508 priv->et_coalesce.tx_max_coalesced_frames = 1; in netsec_et_set_coalesce()
511 priv->et_coalesce.tx_max_coalesced_frames); in netsec_et_set_coalesce()
1642 priv->et_coalesce.tx_max_coalesced_frames = 8; in netsec_probe()
/Linux-v4.19/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c1234 ecoalesce->tx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in axienet_ethtools_get_coalesce()
1284 if (ecoalesce->tx_max_coalesced_frames) in axienet_ethtools_set_coalesce()
1285 lp->coalesce_count_tx = ecoalesce->tx_max_coalesced_frames; in axienet_ethtools_set_coalesce()
/Linux-v4.19/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()
/Linux-v4.19/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()
/Linux-v4.19/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c609 ec->tx_max_coalesced_frames = in bcmgenet_get_coalesce()
674 if (ec->tx_max_coalesced_frames > DMA_INTR_THRESHOLD_MASK || in bcmgenet_set_coalesce()
675 ec->tx_max_coalesced_frames == 0 || in bcmgenet_set_coalesce()
697 ec->tx_max_coalesced_frames, in bcmgenet_set_coalesce()
700 ec->tx_max_coalesced_frames, in bcmgenet_set_coalesce()
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/
Di40evf_ethtool.c423 ec->tx_max_coalesced_frames = vsi->work_limit; in __i40evf_get_coalesce()
/Linux-v4.19/drivers/net/ethernet/cortina/
Dgemini.c2169 ecmd->tx_max_coalesced_frames = port->irq_every_tx_packets; in gmac_get_coalesce()
2180 if (ecmd->tx_max_coalesced_frames < 1) in gmac_set_coalesce()
2182 if (ecmd->tx_max_coalesced_frames >= 1 << port->txq_order) in gmac_set_coalesce()
2185 port->irq_every_tx_packets = ecmd->tx_max_coalesced_frames; in gmac_set_coalesce()
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dbcmsysport.c599 reg |= ec->tx_max_coalesced_frames; in bcm_sysport_set_tx_coalesce()
614 ec->tx_max_coalesced_frames = reg & RING_INTR_THRESH_MASK; in bcm_sysport_get_coalesce()
637 if (ec->tx_max_coalesced_frames > RING_INTR_THRESH_MASK || in bcm_sysport_set_coalesce()
643 if ((ec->tx_coalesce_usecs == 0 && ec->tx_max_coalesced_frames == 0) || in bcm_sysport_set_coalesce()
/Linux-v4.19/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c330 ec->tx_max_coalesced_frames || in enic_coalesce_valid()
/Linux-v4.19/include/uapi/linux/
Dethtool.h443 __u32 tx_max_coalesced_frames; member
/Linux-v4.19/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c364 coalesce->tx_max_coalesced_frames || in ena_set_coalesce()

12