Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/staging/qlge/
A 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-6.3-rc2/drivers/s390/net/
A 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()
304 coal->tx_max_coalesced_frames = queue->max_coalesced_frames; in qeth_get_per_queue_coalesce()
319 if (!coal->tx_coalesce_usecs && !coal->tx_max_coalesced_frames) in qeth_set_per_queue_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/synopsys/
A 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-6.3-rc2/drivers/net/vmxnet3/
A Dvmxnet3_ethtool.c1180 ec->tx_max_coalesced_frames = in vmxnet3_get_coalesce()
1214 (ec->tx_max_coalesced_frames == 0) && in vmxnet3_set_coalesce()
1225 (ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
1243 if (ec->tx_max_coalesced_frames != 0 || in vmxnet3_set_coalesce()
1252 if ((ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
1254 if ((ec->tx_max_coalesced_frames > in vmxnet3_set_coalesce()
1265 (ec->tx_max_coalesced_frames ? in vmxnet3_set_coalesce()
1266 ec->tx_max_coalesced_frames : in vmxnet3_set_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_ethtool.c457 cmd->tx_max_coalesced_frames = hw->cq_ecount_wait; in otx2_get_coalesce()
480 if (!ec->rx_max_coalesced_frames || !ec->tx_max_coalesced_frames) in otx2_set_coalesce()
525 ec->tx_max_coalesced_frames = clamp_t(u32, ec->tx_max_coalesced_frames, in otx2_set_coalesce()
532 hw->cq_ecount_wait = ec->tx_max_coalesced_frames; in otx2_set_coalesce()
533 else if (hw->cq_ecount_wait == ec->tx_max_coalesced_frames) in otx2_set_coalesce()
537 ec->tx_max_coalesced_frames); in otx2_set_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_ethtool.c868 ec->tx_max_coalesced_frames = priv->tx_coal_frames[queue]; in __stmmac_get_coalesce()
871 ec->tx_max_coalesced_frames = 0; in __stmmac_get_coalesce()
946 (ec->tx_max_coalesced_frames == 0)) in __stmmac_set_coalesce()
950 (ec->tx_max_coalesced_frames > STMMAC_TX_MAX_FRAMES)) in __stmmac_set_coalesce()
958 ec->tx_max_coalesced_frames; in __stmmac_set_coalesce()
964 ec->tx_max_coalesced_frames; in __stmmac_set_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/
A Daq_ethtool.c574 coal->tx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce()
579 coal->tx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce()
598 coal->tx_max_coalesced_frames > 1) in aq_ethtool_set_coalesce()
605 if (!(coal->tx_max_coalesced_frames == !coal->tx_coalesce_usecs)) in aq_ethtool_set_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/fungible/funeth/
A Dfuneth_ethtool.c476 coal->tx_max_coalesced_frames = fp->tx_coal_count; in fun_get_coalesce()
493 coal->tx_max_coalesced_frames > FUN_DB_INTCOAL_ENTRIES_M || in fun_set_coalesce()
494 (coal->tx_coalesce_usecs | coal->tx_max_coalesced_frames) == 0) in fun_set_coalesce()
499 (coal->tx_max_coalesced_frames > 1 && !coal->tx_coalesce_usecs)) in fun_set_coalesce()
505 fp->tx_coal_count = coal->tx_max_coalesced_frames; in fun_set_coalesce()
/linux-6.3-rc2/net/ethtool/
A Dcoalesce.c150 coal->tx_max_coalesced_frames, supported) || in coalesce_fill_reply()
281 ethnl_update_u32(&coalesce.tx_max_coalesced_frames, in ethnl_set_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/
A 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-6.3-rc2/drivers/net/ethernet/cavium/liquidio/
A Dlio_ethtool.c2137 intr_coal->tx_max_coalesced_frames = in lio_get_intr_coalesce()
2138 oct->tx_max_coalesced_frames; in lio_get_intr_coalesce()
2153 intr_coal->tx_max_coalesced_frames = iq->fill_threshold; in lio_get_intr_coalesce()
2395 if (!intr_coal->tx_max_coalesced_frames) in oct_cfg_tx_intrcnt()
2399 iq_intr_pkt = intr_coal->tx_max_coalesced_frames & in oct_cfg_tx_intrcnt()
2412 oct->tx_max_coalesced_frames = iq_intr_pkt; in oct_cfg_tx_intrcnt()
2438 if ((intr_coal->tx_max_coalesced_frames >= db_min) && in lio_set_intr_coalesce()
2439 (intr_coal->tx_max_coalesced_frames <= db_max)) { in lio_set_intr_coalesce()
2443 intr_coal->tx_max_coalesced_frames; in lio_set_intr_coalesce()
2448 intr_coal->tx_max_coalesced_frames, in lio_set_intr_coalesce()
[all …]
A Docteon_device.h590 u32 tx_max_coalesced_frames; member
/linux-6.3-rc2/drivers/net/ethernet/qlogic/netxen/
A Dnetxen_nic_ethtool.c757 ethcoal->tx_max_coalesced_frames > 0xffff) in netxen_set_intr_coalesce()
776 ethcoal->tx_max_coalesced_frames; in netxen_set_intr_coalesce()
800 ethcoal->tx_max_coalesced_frames = in netxen_get_intr_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/freescale/
A 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-6.3-rc2/drivers/net/ethernet/amd/xgbe/
A Dxgbe-ethtool.c440 ec->tx_max_coalesced_frames = pdata->tx_frames; in xgbe_get_coalesce()
475 tx_frames = ec->tx_max_coalesced_frames; in xgbe_set_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/huawei/hinic/
A Dhinic_ethtool.c660 coal->tx_max_coalesced_frames = tx_intr_coal_info->pending_limt * in __hinic_get_coalesce()
671 coal->tx_max_coalesced_frames > COALESCE_MAX_PENDING_LIMIT) in is_coalesce_exceed_limit()
767 if (coal->tx_coalesce_usecs || coal->tx_max_coalesced_frames) { in __hinic_set_coalesce()
770 tx_intr_coal.pending_limt = (u8)(coal->tx_max_coalesced_frames / in __hinic_set_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_ethtool.c1363 cmd->tx_max_coalesced_frames = tx_coal->int_ql; in hns3_get_coalesce()
1452 if ((cmd->tx_max_coalesced_frames || cmd->rx_max_coalesced_frames) && in hns3_check_ql_coalesce_param()
1458 if (cmd->tx_max_coalesced_frames > ae_dev->dev_specs.int_ql_max || in hns3_check_ql_coalesce_param()
1533 tx_vector->tx_group.coal.int_ql = cmd->tx_max_coalesced_frames; in hns3_set_coalesce_per_queue()
1583 tx_coal->int_ql = cmd->tx_max_coalesced_frames; in hns3_set_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/ni/
A Dnixge.c1012 ecoalesce->tx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce()
1033 if (ecoalesce->tx_max_coalesced_frames) in nixge_ethtools_set_coalesce()
1034 priv->coalesce_count_tx = ecoalesce->tx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/xilinx/
A Dll_temac_main.c1334 ec->tx_max_coalesced_frames = lp->coalesce_count_tx; in ll_temac_ethtools_get_coalesce()
1356 if (ec->tx_max_coalesced_frames) in ll_temac_ethtools_set_coalesce()
1357 lp->coalesce_count_tx = ec->tx_max_coalesced_frames; in ll_temac_ethtools_set_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/socionext/
A 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()
2076 priv->et_coalesce.tx_max_coalesced_frames = 8; in netsec_probe()
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_ethtool.c1516 ec->tx_max_coalesced_frames = nn->tx_coalesce_max_frames; in nfp_net_get_coalesce()
1793 if (!ec->tx_coalesce_usecs && !ec->tx_max_coalesced_frames) in nfp_net_set_coalesce()
1801 ec->tx_max_coalesced_frames)) in nfp_net_set_coalesce()
1811 nn->tx_coalesce_max_frames = ec->tx_max_coalesced_frames; in nfp_net_set_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A Den_ethtool.c1011 coal->tx_max_coalesced_frames = priv->tx_frames; in mlx4_en_get_coalesce()
1046 if (coal->tx_max_coalesced_frames > MLX4_EN_MAX_COAL_PKTS || in mlx4_en_set_coalesce()
1064 coal->tx_max_coalesced_frames != priv->tx_frames) { in mlx4_en_set_coalesce()
1066 priv->tx_frames = coal->tx_max_coalesced_frames; in mlx4_en_set_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Den_ethtool.c532 coal->tx_max_coalesced_frames = tx_moder->pkts; in mlx5e_ethtool_get_coalesce()
570 coal->tx_max_coalesced_frames); in mlx5e_set_priv_channels_tx_coalesce()
622 if (coal->tx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES || in mlx5e_ethtool_set_coalesce()
645 tx_moder->pkts = coal->tx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns/
A Dhns_ethtool.c762 &ec->tx_max_coalesced_frames, in hns_get_coalesce()
812 ec->tx_max_coalesced_frames, in hns_set_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/freescale/enetc/
A Denetc_ethtool.c763 ic->tx_max_coalesced_frames = ENETC_TXIC_PKTTHR; in enetc_get_coalesce()
787 if (ic->tx_max_coalesced_frames != ENETC_TXIC_PKTTHR) in enetc_set_coalesce()

Completed in 91 milliseconds

12