Home
last modified time | relevance | path

Searched refs:rx_max_coalesced_frames (Results 1 – 25 of 54) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c80 coal->rx_max_coalesced_frames = priv->ethtool.max_coalesced_frames; in ipoib_get_coalesce()
96 coal->rx_max_coalesced_frames > 0xffff) in ipoib_set_coalesce()
100 coal->rx_max_coalesced_frames, in ipoib_set_coalesce()
108 priv->ethtool.max_coalesced_frames = coal->rx_max_coalesced_frames; in ipoib_set_coalesce()
/kernel/linux/linux-5.10/drivers/staging/qlge/
Dqlge_ethtool.c220 le16_to_cpu(cqicb->pkt_delay) != qdev->rx_max_coalesced_frames) { in ql_update_ring_coalescing()
226 cpu_to_le16(qdev->rx_max_coalesced_frames); in ql_update_ring_coalescing()
643 c->rx_max_coalesced_frames = qdev->rx_max_coalesced_frames; in ql_get_coalesce()
657 if (c->rx_max_coalesced_frames > MAX_INTER_FRAME_WAIT) in ql_set_coalesce()
667 qdev->rx_max_coalesced_frames == c->rx_max_coalesced_frames && in ql_set_coalesce()
673 qdev->rx_max_coalesced_frames = c->rx_max_coalesced_frames; in ql_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c356 cmd->rx_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()
395 ec->rx_max_coalesced_frames = clamp_t(u32, ec->rx_max_coalesced_frames, in otx2_set_coalesce()
403 if (hw->cq_ecount_wait == ec->rx_max_coalesced_frames) in otx2_set_coalesce()
406 hw->cq_ecount_wait = ec->rx_max_coalesced_frames; in otx2_set_coalesce()
408 hw->cq_ecount_wait = min_t(u16, ec->rx_max_coalesced_frames, in otx2_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c2125 intr_coal->rx_max_coalesced_frames = in lio_get_intr_coalesce()
2126 oct->rx_max_coalesced_frames; in lio_get_intr_coalesce()
2141 intr_coal->rx_max_coalesced_frames = in lio_get_intr_coalesce()
2222 u32 rx_max_coalesced_frames; in oct_cfg_rx_intrcnt() local
2231 if (!intr_coal->rx_max_coalesced_frames) in oct_cfg_rx_intrcnt()
2232 rx_max_coalesced_frames = CN6XXX_OQ_INTR_PKT; in oct_cfg_rx_intrcnt()
2234 rx_max_coalesced_frames = in oct_cfg_rx_intrcnt()
2235 intr_coal->rx_max_coalesced_frames; in oct_cfg_rx_intrcnt()
2237 rx_max_coalesced_frames); in oct_cfg_rx_intrcnt()
2238 CFG_SET_OQ_INTR_PKT(cn6xxx->conf, rx_max_coalesced_frames); in oct_cfg_rx_intrcnt()
[all …]
Docteon_device.h589 u32 rx_max_coalesced_frames; member
/kernel/linux/linux-5.10/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c1069 ec->rx_max_coalesced_frames = in vmxnet3_get_coalesce()
1100 (ec->rx_max_coalesced_frames == 0)) { in vmxnet3_set_coalesce()
1111 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce()
1130 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce()
1139 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce()
1147 (ec->rx_max_coalesced_frames > in vmxnet3_set_coalesce()
1161 (ec->rx_max_coalesced_frames ? in vmxnet3_set_coalesce()
1162 ec->rx_max_coalesced_frames : in vmxnet3_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-ethtool.c155 ec->rx_max_coalesced_frames = pdata->rx_frames; in xlgmac_ethtool_get_coalesce()
171 rx_frames = ec->rx_max_coalesced_frames; in xlgmac_ethtool_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c561 coal->rx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce()
566 coal->rx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce()
583 if (coal->rx_max_coalesced_frames > 1 || in aq_ethtool_set_coalesce()
589 if (!(coal->rx_max_coalesced_frames == !coal->rx_coalesce_usecs)) in aq_ethtool_set_coalesce()
/kernel/linux/linux-5.10/net/ethtool/
Dcoalesce.c133 coal->rx_max_coalesced_frames, supported) || in coalesce_fill_reply()
264 ethnl_update_u32(&coalesce.rx_max_coalesced_frames, in ethnl_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c749 ethcoal->rx_max_coalesced_frames > 0xffff || in netxen_set_intr_coalesce()
755 !ethcoal->rx_max_coalesced_frames) { in netxen_set_intr_coalesce()
766 ethcoal->rx_max_coalesced_frames; in netxen_set_intr_coalesce()
790 ethcoal->rx_max_coalesced_frames = in netxen_get_intr_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c527 c->rx_max_coalesced_frames = thresh; in dpaa_get_coalesce()
543 thresh = c->rx_max_coalesced_frames; in dpaa_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dbcmsysport.c622 ec->rx_max_coalesced_frames = reg & RDMA_INTR_THRESH_MASK; in bcm_sysport_get_coalesce()
642 ec->rx_max_coalesced_frames > RDMA_INTR_THRESH_MASK || in bcm_sysport_set_coalesce()
647 (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0)) in bcm_sysport_set_coalesce()
654 priv->rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in bcm_sysport_set_coalesce()
656 pkts = priv->rx_max_coalesced_frames; in bcm_sysport_set_coalesce()
1484 pkts = priv->rx_max_coalesced_frames; in bcm_sysport_init_rx_coalesce()
2605 priv->rx_max_coalesced_frames = 1; in bcm_sysport_probe()
Dbcmsysport.h756 u32 rx_max_coalesced_frames; member
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c1100 ec->rx_max_coalesced_frames = nn->rx_coalesce_max_frames; in nfp_net_get_coalesce()
1369 if (!ec->rx_coalesce_usecs && !ec->rx_max_coalesced_frames) in nfp_net_set_coalesce()
1381 if (ec->rx_max_coalesced_frames >= ((1 << 16) - 1)) in nfp_net_set_coalesce()
1389 nn->rx_coalesce_max_frames = ec->rx_max_coalesced_frames; in nfp_net_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c270 cvals->rx_max_coalesced_frames = rxcount; in gfar_gcoalesce()
301 if (cvals->rx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce()
325 (cvals->rx_max_coalesced_frames == 0)) { in gfar_scoalesce()
335 cvals->rx_max_coalesced_frames, in gfar_scoalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c580 ic->rx_max_coalesced_frames = ENETC_RXIC_PKTTHR; in enetc_get_coalesce()
598 if (ic->rx_max_coalesced_frames != ENETC_RXIC_PKTTHR) in enetc_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c438 ec->rx_max_coalesced_frames = pdata->rx_frames; in xgbe_get_coalesce()
455 rx_frames = ec->rx_max_coalesced_frames; in xgbe_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c660 coal->rx_max_coalesced_frames = rx_intr_coal_info->pending_limt * in __hinic_get_coalesce()
673 coal->rx_max_coalesced_frames > COALESCE_MAX_PENDING_LIMIT || in is_coalesce_exceed_limit()
763 if (coal->rx_coalesce_usecs || coal->rx_max_coalesced_frames) { in __hinic_set_coalesce()
766 rx_intr_coal.pending_limt = (u8)(coal->rx_max_coalesced_frames / in __hinic_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c840 ec->rx_max_coalesced_frames = in bcmgenet_get_coalesce()
878 ring->rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in bcmgenet_set_ring_rx_coalesce()
880 pkts = ring->rx_max_coalesced_frames; in bcmgenet_set_ring_rx_coalesce()
904 ec->rx_max_coalesced_frames > DMA_INTR_THRESHOLD_MASK || in bcmgenet_set_coalesce()
908 if (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0) in bcmgenet_set_coalesce()
2549 pkts = ring->rx_max_coalesced_frames; in bcmgenet_init_rx_coalesce()
4064 priv->rx_rings[i].rx_max_coalesced_frames = 1; in bcmgenet_probe()
4065 priv->rx_rings[DESC_INDEX].rx_max_coalesced_frames = 1; in bcmgenet_probe()
Dbcmgenet.h608 u32 rx_max_coalesced_frames; member
/kernel/linux/linux-5.10/drivers/net/ethernet/ni/
Dnixge.c1003 ecoalesce->rx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce()
1022 if (ecoalesce->rx_max_coalesced_frames) in nixge_ethtools_set_coalesce()
1023 priv->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/xilinx/
Dll_temac_main.c1318 ec->rx_max_coalesced_frames = lp->coalesce_count_rx; in ll_temac_ethtools_get_coalesce()
1336 if (ec->rx_max_coalesced_frames) in ll_temac_ethtools_set_coalesce()
1337 lp->coalesce_count_rx = ec->rx_max_coalesced_frames; in ll_temac_ethtools_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/socionext/
Dnetsec.c565 if (priv->et_coalesce.rx_max_coalesced_frames < 1) in netsec_et_set_coalesce()
566 priv->et_coalesce.rx_max_coalesced_frames = 1; in netsec_et_set_coalesce()
569 priv->et_coalesce.rx_max_coalesced_frames); in netsec_et_set_coalesce()
2073 priv->et_coalesce.rx_max_coalesced_frames = 8; in netsec_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c502 coal->rx_max_coalesced_frames = rx_moder->pkts; in mlx5e_ethtool_get_coalesce()
554 coal->rx_max_coalesced_frames); in mlx5e_set_priv_channels_rx_coalesce()
578 coal->rx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES) { in mlx5e_ethtool_set_coalesce()
589 rx_moder->pkts = coal->rx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c764 ec->rx_max_coalesced_frames = priv->rx_coal_frames; in stmmac_get_coalesce()
799 priv->rx_coal_frames = ec->rx_max_coalesced_frames; in stmmac_set_coalesce()

123