Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/staging/qlge/
Dqlge_ethtool.c199 le16_to_cpu(cqicb->pkt_delay) != qdev->tx_max_coalesced_frames) { in ql_update_ring_coalescing()
205 cpu_to_le16(qdev->tx_max_coalesced_frames); in ql_update_ring_coalescing()
644 c->tx_max_coalesced_frames = qdev->tx_max_coalesced_frames; in ql_get_coalesce()
661 if (c->tx_max_coalesced_frames > MAX_INTER_FRAME_WAIT) in ql_set_coalesce()
668 qdev->tx_max_coalesced_frames == c->tx_max_coalesced_frames) in ql_set_coalesce()
674 qdev->tx_max_coalesced_frames = c->tx_max_coalesced_frames; in ql_set_coalesce()
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c359 cmd->tx_max_coalesced_frames = hw->cq_ecount_wait; in otx2_get_coalesce()
371 if (!ec->rx_max_coalesced_frames || !ec->tx_max_coalesced_frames) in otx2_set_coalesce()
398 ec->tx_max_coalesced_frames = clamp_t(u32, ec->tx_max_coalesced_frames, in otx2_set_coalesce()
405 hw->cq_ecount_wait = ec->tx_max_coalesced_frames; in otx2_set_coalesce()
406 else if (hw->cq_ecount_wait == ec->tx_max_coalesced_frames) in otx2_set_coalesce()
410 ec->tx_max_coalesced_frames); in otx2_set_coalesce()
/Linux-v5.10/drivers/s390/net/
Dqeth_ethtool.c118 WRITE_ONCE(queue->max_coalesced_frames, coal->tx_max_coalesced_frames); in __qeth_set_coalesce()
136 if (!coal->tx_coalesce_usecs && !coal->tx_max_coalesced_frames) in qeth_set_coalesce()
301 coal->tx_max_coalesced_frames = queue->max_coalesced_frames; in qeth_get_per_queue_coalesce()
316 if (!coal->tx_coalesce_usecs && !coal->tx_max_coalesced_frames) in qeth_set_per_queue_coalesce()
/Linux-v5.10/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c1049 ec->tx_max_coalesced_frames = in vmxnet3_get_coalesce()
1081 (ec->tx_max_coalesced_frames == 0) && in vmxnet3_set_coalesce()
1092 (ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
1111 (ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
1120 if ((ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
1127 if ((ec->tx_max_coalesced_frames > in vmxnet3_set_coalesce()
1138 (ec->tx_max_coalesced_frames ? in vmxnet3_set_coalesce()
1139 ec->tx_max_coalesced_frames : in vmxnet3_set_coalesce()
/Linux-v5.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-ethtool.c156 ec->tx_max_coalesced_frames = pdata->tx_frames; in xlgmac_ethtool_get_coalesce()
172 tx_frames = ec->tx_max_coalesced_frames; in xlgmac_ethtool_set_coalesce()
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c562 coal->tx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce()
567 coal->tx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce()
584 coal->tx_max_coalesced_frames > 1) in aq_ethtool_set_coalesce()
591 if (!(coal->tx_max_coalesced_frames == !coal->tx_coalesce_usecs)) in aq_ethtool_set_coalesce()
/Linux-v5.10/net/ethtool/
Dcoalesce.c141 coal->tx_max_coalesced_frames, supported) || in coalesce_fill_reply()
272 ethnl_update_u32(&coalesce.tx_max_coalesced_frames, in ethnl_set_coalesce()
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c761 ec->tx_max_coalesced_frames = priv->tx_coal_frames; in stmmac_get_coalesce()
789 (ec->tx_max_coalesced_frames == 0)) in stmmac_set_coalesce()
793 (ec->tx_max_coalesced_frames > STMMAC_TX_MAX_FRAMES)) in stmmac_set_coalesce()
797 priv->tx_coal_frames = ec->tx_max_coalesced_frames; in stmmac_set_coalesce()
/Linux-v5.10/drivers/net/ethernet/hisilicon/
Dhip04_eth.c804 ec->tx_max_coalesced_frames = priv->tx_coalesce_frames; in hip04_get_coalesce()
816 (ec->tx_max_coalesced_frames > HIP04_MAX_TX_COALESCE_FRAMES || in hip04_set_coalesce()
817 ec->tx_max_coalesced_frames < HIP04_MIN_TX_COALESCE_FRAMES)) in hip04_set_coalesce()
821 priv->tx_coalesce_frames = ec->tx_max_coalesced_frames; in hip04_set_coalesce()
/Linux-v5.10/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c2129 intr_coal->tx_max_coalesced_frames = in lio_get_intr_coalesce()
2130 oct->tx_max_coalesced_frames; in lio_get_intr_coalesce()
2145 intr_coal->tx_max_coalesced_frames = iq->fill_threshold; in lio_get_intr_coalesce()
2387 if (!intr_coal->tx_max_coalesced_frames) in oct_cfg_tx_intrcnt()
2391 iq_intr_pkt = intr_coal->tx_max_coalesced_frames & in oct_cfg_tx_intrcnt()
2404 oct->tx_max_coalesced_frames = iq_intr_pkt; in oct_cfg_tx_intrcnt()
2428 if ((intr_coal->tx_max_coalesced_frames >= db_min) && in lio_set_intr_coalesce()
2429 (intr_coal->tx_max_coalesced_frames <= db_max)) { in lio_set_intr_coalesce()
2433 intr_coal->tx_max_coalesced_frames; in lio_set_intr_coalesce()
2438 intr_coal->tx_max_coalesced_frames, in lio_set_intr_coalesce()
[all …]
Docteon_device.h590 u32 tx_max_coalesced_frames; member
/Linux-v5.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c751 ethcoal->tx_max_coalesced_frames > 0xffff) in netxen_set_intr_coalesce()
770 ethcoal->tx_max_coalesced_frames; in netxen_set_intr_coalesce()
792 ethcoal->tx_max_coalesced_frames = in netxen_get_intr_coalesce()
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c1100 ec->tx_max_coalesced_frames = nn->tx_coalesce_max_frames; in nfp_net_get_coalesce()
1370 if (!ec->tx_coalesce_usecs && !ec->tx_max_coalesced_frames) in nfp_net_set_coalesce()
1382 if (ec->tx_max_coalesced_frames >= ((1 << 16) - 1)) in nfp_net_set_coalesce()
1389 nn->tx_coalesce_max_frames = ec->tx_max_coalesced_frames; in nfp_net_set_coalesce()
/Linux-v5.10/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c273 cvals->tx_max_coalesced_frames = txcount; in gfar_gcoalesce()
314 if (cvals->tx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce()
341 (cvals->tx_max_coalesced_frames == 0)) { in gfar_scoalesce()
351 cvals->tx_max_coalesced_frames, in gfar_scoalesce()
/Linux-v5.10/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c579 ic->tx_max_coalesced_frames = ENETC_TXIC_PKTTHR; in enetc_get_coalesce()
601 if (ic->tx_max_coalesced_frames != ENETC_TXIC_PKTTHR) in enetc_set_coalesce()
/Linux-v5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c440 ec->tx_max_coalesced_frames = pdata->tx_frames; in xgbe_get_coalesce()
473 tx_frames = ec->tx_max_coalesced_frames; in xgbe_set_coalesce()
/Linux-v5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c664 coal->tx_max_coalesced_frames = tx_intr_coal_info->pending_limt * in __hinic_get_coalesce()
675 coal->tx_max_coalesced_frames > COALESCE_MAX_PENDING_LIMIT) in is_coalesce_exceed_limit()
771 if (coal->tx_coalesce_usecs || coal->tx_max_coalesced_frames) { in __hinic_set_coalesce()
774 tx_intr_coal.pending_limt = (u8)(coal->tx_max_coalesced_frames / in __hinic_set_coalesce()
/Linux-v5.10/drivers/net/ethernet/ni/
Dnixge.c1006 ecoalesce->tx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce()
1024 if (ecoalesce->tx_max_coalesced_frames) in nixge_ethtools_set_coalesce()
1025 priv->coalesce_count_tx = ecoalesce->tx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
/Linux-v5.10/drivers/net/ethernet/xilinx/
Dll_temac_main.c1300 ec->tx_max_coalesced_frames = lp->coalesce_count_tx; in ll_temac_ethtools_get_coalesce()
1319 if (ec->tx_max_coalesced_frames) in ll_temac_ethtools_set_coalesce()
1320 lp->coalesce_count_tx = ec->tx_max_coalesced_frames; in ll_temac_ethtools_set_coalesce()
Dxilinx_axienet_main.c1428 ecoalesce->tx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in axienet_ethtools_get_coalesce()
1457 if (ecoalesce->tx_max_coalesced_frames) in axienet_ethtools_set_coalesce()
1458 lp->coalesce_count_tx = ecoalesce->tx_max_coalesced_frames; in axienet_ethtools_set_coalesce()
/Linux-v5.10/drivers/net/ethernet/socionext/
Dnetsec.c553 if (priv->et_coalesce.tx_max_coalesced_frames < 1) in netsec_et_set_coalesce()
554 priv->et_coalesce.tx_max_coalesced_frames = 1; in netsec_et_set_coalesce()
557 priv->et_coalesce.tx_max_coalesced_frames); in netsec_et_set_coalesce()
2072 priv->et_coalesce.tx_max_coalesced_frames = 8; in netsec_probe()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c501 coal->tx_max_coalesced_frames = tx_moder->pkts; in mlx5e_ethtool_get_coalesce()
532 coal->tx_max_coalesced_frames); in mlx5e_set_priv_channels_coalesce()
560 if (coal->tx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES || in mlx5e_ethtool_set_coalesce()
577 tx_moder->pkts = coal->tx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
/Linux-v5.10/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-v5.10/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-v5.10/drivers/net/ethernet/broadcom/
Dbcmsysport.c602 reg |= ec->tx_max_coalesced_frames; in bcm_sysport_set_tx_coalesce()
617 ec->tx_max_coalesced_frames = reg & RING_INTR_THRESH_MASK; in bcm_sysport_get_coalesce()
640 if (ec->tx_max_coalesced_frames > RING_INTR_THRESH_MASK || in bcm_sysport_set_coalesce()
646 if ((ec->tx_coalesce_usecs == 0 && ec->tx_max_coalesced_frames == 0) || in bcm_sysport_set_coalesce()

12