Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/staging/qlge/
Dqlge_ethtool.c200 le16_to_cpu(cqicb->pkt_delay) != qdev->tx_max_coalesced_frames) { in qlge_update_ring_coalescing()
206 cpu_to_le16(qdev->tx_max_coalesced_frames); in qlge_update_ring_coalescing()
645 c->tx_max_coalesced_frames = qdev->tx_max_coalesced_frames; in qlge_get_coalesce()
665 if (c->tx_max_coalesced_frames > MAX_INTER_FRAME_WAIT) in qlge_set_coalesce()
672 qdev->tx_max_coalesced_frames == c->tx_max_coalesced_frames) in qlge_set_coalesce()
678 qdev->tx_max_coalesced_frames = c->tx_max_coalesced_frames; in qlge_set_coalesce()
/Linux-v5.15/drivers/s390/net/
Dqeth_ethtool.c117 WRITE_ONCE(queue->max_coalesced_frames, coal->tx_max_coalesced_frames); in __qeth_set_coalesce()
137 if (!coal->tx_coalesce_usecs && !coal->tx_max_coalesced_frames) in qeth_set_coalesce()
302 coal->tx_max_coalesced_frames = queue->max_coalesced_frames; in qeth_get_per_queue_coalesce()
317 if (!coal->tx_coalesce_usecs && !coal->tx_max_coalesced_frames) in qeth_set_per_queue_coalesce()
/Linux-v5.15/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c1074 ec->tx_max_coalesced_frames = in vmxnet3_get_coalesce()
1108 (ec->tx_max_coalesced_frames == 0) && in vmxnet3_set_coalesce()
1119 (ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
1138 (ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
1147 if ((ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
1154 if ((ec->tx_max_coalesced_frames > in vmxnet3_set_coalesce()
1165 (ec->tx_max_coalesced_frames ? in vmxnet3_set_coalesce()
1166 ec->tx_max_coalesced_frames : in vmxnet3_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-ethtool.c159 ec->tx_max_coalesced_frames = pdata->tx_frames; in xlgmac_ethtool_get_coalesce()
178 tx_frames = ec->tx_max_coalesced_frames; in xlgmac_ethtool_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c422 cmd->tx_max_coalesced_frames = hw->cq_ecount_wait; in otx2_get_coalesce()
436 if (!ec->rx_max_coalesced_frames || !ec->tx_max_coalesced_frames) in otx2_set_coalesce()
463 ec->tx_max_coalesced_frames = clamp_t(u32, ec->tx_max_coalesced_frames, in otx2_set_coalesce()
470 hw->cq_ecount_wait = ec->tx_max_coalesced_frames; in otx2_set_coalesce()
471 else if (hw->cq_ecount_wait == ec->tx_max_coalesced_frames) in otx2_set_coalesce()
475 ec->tx_max_coalesced_frames); in otx2_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c858 ec->tx_max_coalesced_frames = priv->tx_coal_frames[queue]; in __stmmac_get_coalesce()
861 ec->tx_max_coalesced_frames = 0; in __stmmac_get_coalesce()
936 (ec->tx_max_coalesced_frames == 0)) in __stmmac_set_coalesce()
940 (ec->tx_max_coalesced_frames > STMMAC_TX_MAX_FRAMES)) in __stmmac_set_coalesce()
948 ec->tx_max_coalesced_frames; in __stmmac_set_coalesce()
954 ec->tx_max_coalesced_frames; in __stmmac_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c564 coal->tx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce()
569 coal->tx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce()
588 coal->tx_max_coalesced_frames > 1) in aq_ethtool_set_coalesce()
595 if (!(coal->tx_max_coalesced_frames == !coal->tx_coalesce_usecs)) in aq_ethtool_set_coalesce()
/Linux-v5.15/net/ethtool/
Dcoalesce.c147 coal->tx_max_coalesced_frames, supported) || in coalesce_fill_reply()
286 ethnl_update_u32(&coalesce.tx_max_coalesced_frames, in ethnl_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/hisilicon/
Dhip04_eth.c806 ec->tx_max_coalesced_frames = priv->tx_coalesce_frames; in hip04_get_coalesce()
820 (ec->tx_max_coalesced_frames > HIP04_MAX_TX_COALESCE_FRAMES || in hip04_set_coalesce()
821 ec->tx_max_coalesced_frames < HIP04_MIN_TX_COALESCE_FRAMES)) in hip04_set_coalesce()
825 priv->tx_coalesce_frames = ec->tx_max_coalesced_frames; in hip04_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c2132 intr_coal->tx_max_coalesced_frames = in lio_get_intr_coalesce()
2133 oct->tx_max_coalesced_frames; in lio_get_intr_coalesce()
2148 intr_coal->tx_max_coalesced_frames = iq->fill_threshold; in lio_get_intr_coalesce()
2390 if (!intr_coal->tx_max_coalesced_frames) in oct_cfg_tx_intrcnt()
2394 iq_intr_pkt = intr_coal->tx_max_coalesced_frames & in oct_cfg_tx_intrcnt()
2407 oct->tx_max_coalesced_frames = iq_intr_pkt; in oct_cfg_tx_intrcnt()
2433 if ((intr_coal->tx_max_coalesced_frames >= db_min) && in lio_set_intr_coalesce()
2434 (intr_coal->tx_max_coalesced_frames <= db_max)) { in lio_set_intr_coalesce()
2438 intr_coal->tx_max_coalesced_frames; in lio_set_intr_coalesce()
2443 intr_coal->tx_max_coalesced_frames, in lio_set_intr_coalesce()
[all …]
Docteon_device.h590 u32 tx_max_coalesced_frames; member
/Linux-v5.15/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c753 ethcoal->tx_max_coalesced_frames > 0xffff) in netxen_set_intr_coalesce()
772 ethcoal->tx_max_coalesced_frames; in netxen_set_intr_coalesce()
796 ethcoal->tx_max_coalesced_frames = in netxen_get_intr_coalesce()
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c1096 ec->tx_max_coalesced_frames = nn->tx_coalesce_max_frames; in nfp_net_get_coalesce()
1368 if (!ec->tx_coalesce_usecs && !ec->tx_max_coalesced_frames) in nfp_net_set_coalesce()
1376 ec->tx_max_coalesced_frames)) in nfp_net_set_coalesce()
1386 nn->tx_coalesce_max_frames = ec->tx_max_coalesced_frames; in nfp_net_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c275 cvals->tx_max_coalesced_frames = txcount; in gfar_gcoalesce()
318 if (cvals->tx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce()
345 (cvals->tx_max_coalesced_frames == 0)) { in gfar_scoalesce()
355 cvals->tx_max_coalesced_frames, in gfar_scoalesce()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c1232 cmd->tx_max_coalesced_frames = tx_coal->int_ql; in hns3_get_coalesce()
1321 if ((cmd->tx_max_coalesced_frames || cmd->rx_max_coalesced_frames) && in hns3_check_ql_coalesce_param()
1327 if (cmd->tx_max_coalesced_frames > ae_dev->dev_specs.int_ql_max || in hns3_check_ql_coalesce_param()
1380 tx_vector->tx_group.coal.int_ql = cmd->tx_max_coalesced_frames; in hns3_set_coalesce_per_queue()
1430 tx_coal->int_ql = cmd->tx_max_coalesced_frames; in hns3_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c442 ec->tx_max_coalesced_frames = pdata->tx_frames; in xgbe_get_coalesce()
477 tx_frames = ec->tx_max_coalesced_frames; in xgbe_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c659 coal->tx_max_coalesced_frames = tx_intr_coal_info->pending_limt * in __hinic_get_coalesce()
670 coal->tx_max_coalesced_frames > COALESCE_MAX_PENDING_LIMIT) in is_coalesce_exceed_limit()
766 if (coal->tx_coalesce_usecs || coal->tx_max_coalesced_frames) { in __hinic_set_coalesce()
769 tx_intr_coal.pending_limt = (u8)(coal->tx_max_coalesced_frames / in __hinic_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c598 ic->tx_max_coalesced_frames = ENETC_TXIC_PKTTHR; in enetc_get_coalesce()
622 if (ic->tx_max_coalesced_frames != ENETC_TXIC_PKTTHR) in enetc_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/xilinx/
Dll_temac_main.c1322 ec->tx_max_coalesced_frames = lp->coalesce_count_tx; in ll_temac_ethtools_get_coalesce()
1344 if (ec->tx_max_coalesced_frames) in ll_temac_ethtools_set_coalesce()
1345 lp->coalesce_count_tx = ec->tx_max_coalesced_frames; in ll_temac_ethtools_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/ni/
Dnixge.c1009 ecoalesce->tx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce()
1030 if (ecoalesce->tx_max_coalesced_frames) in nixge_ethtools_set_coalesce()
1031 priv->coalesce_count_tx = ecoalesce->tx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/socionext/
Dnetsec.c557 if (priv->et_coalesce.tx_max_coalesced_frames < 1) in netsec_et_set_coalesce()
558 priv->et_coalesce.tx_max_coalesced_frames = 1; in netsec_et_set_coalesce()
561 priv->et_coalesce.tx_max_coalesced_frames); in netsec_et_set_coalesce()
2081 priv->et_coalesce.tx_max_coalesced_frames = 8; in netsec_probe()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c530 coal->tx_max_coalesced_frames = tx_moder->pkts; in mlx5e_ethtool_get_coalesce()
563 coal->tx_max_coalesced_frames); in mlx5e_set_priv_channels_tx_coalesce()
603 if (coal->tx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES || in mlx5e_ethtool_set_coalesce()
620 tx_moder->pkts = coal->tx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1008 coal->tx_max_coalesced_frames = priv->tx_frames; in mlx4_en_get_coalesce()
1043 if (coal->tx_max_coalesced_frames > MLX4_EN_MAX_COAL_PKTS || in mlx4_en_set_coalesce()
1061 coal->tx_max_coalesced_frames != priv->tx_frames) { in mlx4_en_set_coalesce()
1063 priv->tx_frames = coal->tx_max_coalesced_frames; in mlx4_en_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c761 &ec->tx_max_coalesced_frames, in hns_get_coalesce()
811 ec->tx_max_coalesced_frames, in hns_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/cortina/
Dgemini.c2154 ecmd->tx_max_coalesced_frames = port->irq_every_tx_packets; in gmac_get_coalesce()
2167 if (ecmd->tx_max_coalesced_frames < 1) in gmac_set_coalesce()
2169 if (ecmd->tx_max_coalesced_frames >= 1 << port->txq_order) in gmac_set_coalesce()
2172 port->irq_every_tx_packets = ecmd->tx_max_coalesced_frames; in gmac_set_coalesce()

12