Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/drivers/staging/qlge/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c358 cmd->tx_max_coalesced_frames = hw->cq_ecount_wait; in otx2_get_coalesce()
370 if (!ec->rx_max_coalesced_frames || !ec->tx_max_coalesced_frames) in otx2_set_coalesce()
397 ec->tx_max_coalesced_frames = clamp_t(u32, ec->tx_max_coalesced_frames, in otx2_set_coalesce()
404 hw->cq_ecount_wait = ec->tx_max_coalesced_frames; in otx2_set_coalesce()
405 else if (hw->cq_ecount_wait == ec->tx_max_coalesced_frames) in otx2_set_coalesce()
409 ec->tx_max_coalesced_frames); in otx2_set_coalesce()
/OK3568_Linux_fs/kernel/drivers/net/vmxnet3/
H A Dvmxnet3_ethtool.c1067 ec->tx_max_coalesced_frames = in vmxnet3_get_coalesce()
1099 (ec->tx_max_coalesced_frames == 0) && in vmxnet3_set_coalesce()
1110 (ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
1129 (ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
1138 if ((ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce()
1145 if ((ec->tx_max_coalesced_frames > in vmxnet3_set_coalesce()
1156 (ec->tx_max_coalesced_frames ? in vmxnet3_set_coalesce()
1157 ec->tx_max_coalesced_frames : in vmxnet3_set_coalesce()
/OK3568_Linux_fs/kernel/drivers/s390/net/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/synopsys/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c563 coal->tx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce()
568 coal->tx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce()
585 coal->tx_max_coalesced_frames > 1) in aq_ethtool_set_coalesce()
592 if (!(coal->tx_max_coalesced_frames == !coal->tx_coalesce_usecs)) in aq_ethtool_set_coalesce()
/OK3568_Linux_fs/kernel/net/ethtool/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ethtool.c781 ec->tx_max_coalesced_frames = priv->tx_coal_frames; in stmmac_get_coalesce()
809 (ec->tx_max_coalesced_frames == 0)) in stmmac_set_coalesce()
813 (ec->tx_max_coalesced_frames > STMMAC_TX_MAX_FRAMES)) in stmmac_set_coalesce()
817 priv->tx_coal_frames = ec->tx_max_coalesced_frames; in stmmac_set_coalesce()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/liquidio/
H A 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 …]
H A Docteon_device.h590 u32 tx_max_coalesced_frames; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/netxen/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c1102 ec->tx_max_coalesced_frames = nn->tx_coalesce_max_frames; in nfp_net_get_coalesce()
1377 if (!ec->tx_coalesce_usecs && !ec->tx_max_coalesced_frames) in nfp_net_set_coalesce()
1389 if (ec->tx_max_coalesced_frames >= ((1 << 16) - 1)) in nfp_net_set_coalesce()
1396 nn->tx_coalesce_max_frames = ec->tx_max_coalesced_frames; in nfp_net_set_coalesce()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/enetc/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/xgbe/
H A 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()
/OK3568_Linux_fs/u-boot/include/linux/
H A Dethtool.h148 __u32 tx_max_coalesced_frames; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/xilinx/
H A Dll_temac_main.c1319 ec->tx_max_coalesced_frames = lp->coalesce_count_tx; in ll_temac_ethtools_get_coalesce()
1338 if (ec->tx_max_coalesced_frames) in ll_temac_ethtools_set_coalesce()
1339 lp->coalesce_count_tx = ec->tx_max_coalesced_frames; in ll_temac_ethtools_set_coalesce()
H A Dxilinx_axienet_main.c1468 ecoalesce->tx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in axienet_ethtools_get_coalesce()
1497 if (ecoalesce->tx_max_coalesced_frames) in axienet_ethtools_set_coalesce()
1498 lp->coalesce_count_tx = ecoalesce->tx_max_coalesced_frames; in axienet_ethtools_set_coalesce()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/ni/
H A Dnixge.c1008 ecoalesce->tx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce()
1026 if (ecoalesce->tx_max_coalesced_frames) in nixge_ethtools_set_coalesce()
1027 priv->coalesce_count_tx = ecoalesce->tx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c507 coal->tx_max_coalesced_frames = tx_moder->pkts; in mlx5e_ethtool_get_coalesce()
538 coal->tx_max_coalesced_frames); in mlx5e_set_priv_channels_tx_coalesce()
577 if (coal->tx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES || in mlx5e_ethtool_set_coalesce()
594 tx_moder->pkts = coal->tx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
/OK3568_Linux_fs/app/forlinx/quectelCM/
H A Dethtool-copy.h263 __u32 tx_max_coalesced_frames; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/socionext/
H A 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()
2077 priv->et_coalesce.tx_max_coalesced_frames = 8; in netsec_probe()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A 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()

123