Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/drivers/infiniband/ulp/ipoib/
H A 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()
/OK3568_Linux_fs/kernel/drivers/staging/qlge/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/liquidio/
H A 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 …]
H A Docteon_device.h589 u32 rx_max_coalesced_frames; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/vmxnet3/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/synopsys/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c562 coal->rx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce()
567 coal->rx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce()
584 if (coal->rx_max_coalesced_frames > 1 || in aq_ethtool_set_coalesce()
590 if (!(coal->rx_max_coalesced_frames == !coal->rx_coalesce_usecs)) in aq_ethtool_set_coalesce()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/netxen/
H A 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()
/OK3568_Linux_fs/kernel/net/ethtool/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c531 c->rx_max_coalesced_frames = thresh; in dpaa_get_coalesce()
547 thresh = c->rx_max_coalesced_frames; in dpaa_set_coalesce()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/
H A 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()
2607 priv->rx_max_coalesced_frames = 1; in bcm_sysport_probe()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c1100 ec->rx_max_coalesced_frames = nn->rx_coalesce_max_frames; in nfp_net_get_coalesce()
1374 if (!ec->rx_coalesce_usecs && !ec->rx_max_coalesced_frames) in nfp_net_set_coalesce()
1386 if (ec->rx_max_coalesced_frames >= ((1 << 16) - 1)) in nfp_net_set_coalesce()
1394 nn->rx_coalesce_max_frames = ec->rx_max_coalesced_frames; in nfp_net_set_coalesce()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/genet/
H A 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()
2558 pkts = ring->rx_max_coalesced_frames; in bcmgenet_init_rx_coalesce()
4077 priv->rx_rings[i].rx_max_coalesced_frames = 1; in bcmgenet_probe()
4078 priv->rx_rings[DESC_INDEX].rx_max_coalesced_frames = 1; in bcmgenet_probe()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/enetc/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/xgbe/
H A 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()
/OK3568_Linux_fs/u-boot/include/linux/
H A Dethtool.h126 __u32 rx_max_coalesced_frames; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/xilinx/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/ni/
H A Dnixge.c1005 ecoalesce->rx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce()
1024 if (ecoalesce->rx_max_coalesced_frames) in nixge_ethtools_set_coalesce()
1025 priv->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()
/OK3568_Linux_fs/app/forlinx/quectelCM/
H A Dethtool-copy.h259 __u32 rx_max_coalesced_frames; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/socionext/
H A 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()
2075 priv->et_coalesce.rx_max_coalesced_frames = 8; in netsec_probe()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ethtool.c784 ec->rx_max_coalesced_frames = priv->rx_coal_frames; in stmmac_get_coalesce()
819 priv->rx_coal_frames = ec->rx_max_coalesced_frames; in stmmac_set_coalesce()

123