Home
last modified time | relevance | path

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

12

/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c82 coal->rx_max_coalesced_frames = priv->ethtool.max_coalesced_frames; in ipoib_get_coalesce()
100 coal->rx_max_coalesced_frames > 0xffff) in ipoib_set_coalesce()
104 coal->rx_max_coalesced_frames, in ipoib_set_coalesce()
112 priv->ethtool.max_coalesced_frames = coal->rx_max_coalesced_frames; in ipoib_set_coalesce()
/drivers/staging/qlge/
Dqlge_ethtool.c221 le16_to_cpu(cqicb->pkt_delay) != qdev->rx_max_coalesced_frames) { in qlge_update_ring_coalescing()
227 cpu_to_le16(qdev->rx_max_coalesced_frames); in qlge_update_ring_coalescing()
644 c->rx_max_coalesced_frames = qdev->rx_max_coalesced_frames; in qlge_get_coalesce()
661 if (c->rx_max_coalesced_frames > MAX_INTER_FRAME_WAIT) in qlge_set_coalesce()
671 qdev->rx_max_coalesced_frames == c->rx_max_coalesced_frames && in qlge_set_coalesce()
677 qdev->rx_max_coalesced_frames = c->rx_max_coalesced_frames; in qlge_set_coalesce()
/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c2133 intr_coal->rx_max_coalesced_frames = in lio_get_intr_coalesce()
2134 oct->rx_max_coalesced_frames; in lio_get_intr_coalesce()
2149 intr_coal->rx_max_coalesced_frames = in lio_get_intr_coalesce()
2230 u32 rx_max_coalesced_frames; in oct_cfg_rx_intrcnt() local
2239 if (!intr_coal->rx_max_coalesced_frames) in oct_cfg_rx_intrcnt()
2240 rx_max_coalesced_frames = CN6XXX_OQ_INTR_PKT; in oct_cfg_rx_intrcnt()
2242 rx_max_coalesced_frames = in oct_cfg_rx_intrcnt()
2243 intr_coal->rx_max_coalesced_frames; in oct_cfg_rx_intrcnt()
2245 rx_max_coalesced_frames); in oct_cfg_rx_intrcnt()
2246 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
/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c1205 ec->rx_max_coalesced_frames = in vmxnet3_get_coalesce()
1238 (ec->rx_max_coalesced_frames == 0)) { in vmxnet3_set_coalesce()
1249 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce()
1267 ec->rx_max_coalesced_frames != 0) { in vmxnet3_set_coalesce()
1276 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce()
1279 (ec->rx_max_coalesced_frames > in vmxnet3_set_coalesce()
1293 (ec->rx_max_coalesced_frames ? in vmxnet3_set_coalesce()
1294 ec->rx_max_coalesced_frames : in vmxnet3_set_coalesce()
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-ethtool.c158 ec->rx_max_coalesced_frames = pdata->rx_frames; in xlgmac_ethtool_get_coalesce()
177 rx_frames = ec->rx_max_coalesced_frames; in xlgmac_ethtool_set_coalesce()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c469 cmd->rx_max_coalesced_frames = hw->cq_ecount_wait; in otx2_get_coalesce()
494 if (!ec->rx_max_coalesced_frames || !ec->tx_max_coalesced_frames) in otx2_set_coalesce()
537 ec->rx_max_coalesced_frames = clamp_t(u32, ec->rx_max_coalesced_frames, in otx2_set_coalesce()
545 if (hw->cq_ecount_wait == ec->rx_max_coalesced_frames) in otx2_set_coalesce()
548 hw->cq_ecount_wait = ec->rx_max_coalesced_frames; in otx2_set_coalesce()
550 hw->cq_ecount_wait = min_t(u16, ec->rx_max_coalesced_frames, in otx2_set_coalesce()
/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c573 coal->rx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce()
578 coal->rx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce()
597 if (coal->rx_max_coalesced_frames > 1 || in aq_ethtool_set_coalesce()
603 if (!(coal->rx_max_coalesced_frames == !coal->rx_coalesce_usecs)) in aq_ethtool_set_coalesce()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c755 ethcoal->rx_max_coalesced_frames > 0xffff || in netxen_set_intr_coalesce()
761 !ethcoal->rx_max_coalesced_frames) { in netxen_set_intr_coalesce()
772 ethcoal->rx_max_coalesced_frames; in netxen_set_intr_coalesce()
798 ethcoal->rx_max_coalesced_frames = in netxen_get_intr_coalesce()
/drivers/net/ethernet/fungible/funeth/
Dfuneth_ethtool.c473 coal->rx_max_coalesced_frames = fp->rx_coal_count; in fun_get_coalesce()
490 coal->rx_max_coalesced_frames > FUN_DB_INTCOAL_ENTRIES_M || in fun_set_coalesce()
491 (coal->rx_coalesce_usecs | coal->rx_max_coalesced_frames) == 0 || in fun_set_coalesce()
498 if ((coal->rx_max_coalesced_frames > 1 && !coal->rx_coalesce_usecs) || in fun_set_coalesce()
503 fp->rx_coal_count = coal->rx_max_coalesced_frames; in fun_set_coalesce()
/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c449 c->rx_max_coalesced_frames = thresh; in dpaa_get_coalesce()
467 thresh = c->rx_max_coalesced_frames; in dpaa_set_coalesce()
/drivers/net/ethernet/broadcom/
Dbcmsysport.c636 ec->rx_max_coalesced_frames = reg & RDMA_INTR_THRESH_MASK; in bcm_sysport_get_coalesce()
658 ec->rx_max_coalesced_frames > RDMA_INTR_THRESH_MASK || in bcm_sysport_set_coalesce()
663 (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0)) in bcm_sysport_set_coalesce()
670 priv->rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in bcm_sysport_set_coalesce()
672 pkts = priv->rx_max_coalesced_frames; in bcm_sysport_set_coalesce()
1500 pkts = priv->rx_max_coalesced_frames; in bcm_sysport_init_rx_coalesce()
2610 priv->rx_max_coalesced_frames = 1; in bcm_sysport_probe()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c987 ec->rx_max_coalesced_frames = priv->rx_coal_frames[queue]; in __stmmac_get_coalesce()
991 ec->rx_max_coalesced_frames = 0; in __stmmac_get_coalesce()
1046 ec->rx_max_coalesced_frames; in __stmmac_set_coalesce()
1053 ec->rx_max_coalesced_frames; in __stmmac_set_coalesce()
/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c274 cvals->rx_max_coalesced_frames = rxcount; in gfar_gcoalesce()
307 if (cvals->rx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce()
331 (cvals->rx_max_coalesced_frames == 0)) { in gfar_scoalesce()
341 cvals->rx_max_coalesced_frames, in gfar_scoalesce()
/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c656 coal->rx_max_coalesced_frames = rx_intr_coal_info->pending_limt * in __hinic_get_coalesce()
669 coal->rx_max_coalesced_frames > COALESCE_MAX_PENDING_LIMIT || in is_coalesce_exceed_limit()
759 if (coal->rx_coalesce_usecs || coal->rx_max_coalesced_frames) { in __hinic_set_coalesce()
762 rx_intr_coal.pending_limt = (u8)(coal->rx_max_coalesced_frames / in __hinic_set_coalesce()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c443 ec->rx_max_coalesced_frames = pdata->rx_frames; in xgbe_get_coalesce()
462 rx_frames = ec->rx_max_coalesced_frames; in xgbe_set_coalesce()
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c824 ec->rx_max_coalesced_frames = in bcmgenet_get_coalesce()
862 ring->rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in bcmgenet_set_ring_rx_coalesce()
864 pkts = ring->rx_max_coalesced_frames; in bcmgenet_set_ring_rx_coalesce()
890 ec->rx_max_coalesced_frames > DMA_INTR_THRESHOLD_MASK || in bcmgenet_set_coalesce()
894 if (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0) in bcmgenet_set_coalesce()
2620 pkts = ring->rx_max_coalesced_frames; in bcmgenet_init_rx_coalesce()
4165 priv->rx_rings[i].rx_max_coalesced_frames = 1; in bcmgenet_probe()
4166 priv->rx_rings[DESC_INDEX].rx_max_coalesced_frames = 1; in bcmgenet_probe()
/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c1380 cmd->rx_max_coalesced_frames = rx_coal->int_ql; in hns3_get_coalesce()
1468 if ((cmd->tx_max_coalesced_frames || cmd->rx_max_coalesced_frames) && in hns3_check_ql_coalesce_param()
1475 cmd->rx_max_coalesced_frames > ae_dev->dev_specs.int_ql_max) { in hns3_check_ql_coalesce_param()
1550 rx_vector->rx_group.coal.int_ql = cmd->rx_max_coalesced_frames; in hns3_set_coalesce_per_queue()
1600 rx_coal->int_ql = cmd->rx_max_coalesced_frames; in hns3_set_coalesce()
/drivers/net/
Dvirtio_net.c3320 vi->ctrl->coal_rx.rx_max_packets = cpu_to_le32(ec->rx_max_coalesced_frames); in virtnet_send_notf_coal_cmds()
3330 vi->intr_coal_rx.max_packets = ec->rx_max_coalesced_frames; in virtnet_send_notf_coal_cmds()
3333 vi->rq[i].intr_coal.max_packets = ec->rx_max_coalesced_frames; in virtnet_send_notf_coal_cmds()
3365 ec->rx_max_coalesced_frames); in virtnet_send_notf_coal_vq_cmds()
3370 vi->rq[queue].intr_coal.max_packets = ec->rx_max_coalesced_frames; in virtnet_send_notf_coal_vq_cmds()
3393 ec->rx_max_coalesced_frames != 1) in virtnet_coal_params_supported()
3464 ec->rx_max_coalesced_frames = vi->intr_coal_rx.max_packets; in virtnet_get_coalesce()
3466 ec->rx_max_coalesced_frames = 1; in virtnet_get_coalesce()
3521 ec->rx_max_coalesced_frames = vi->rq[queue].intr_coal.max_packets; in virtnet_get_per_queue_coalesce()
3523 ec->rx_max_coalesced_frames = 1; in virtnet_get_per_queue_coalesce()
/drivers/net/ethernet/xilinx/
Dll_temac_main.c1331 ec->rx_max_coalesced_frames = lp->coalesce_count_rx; in ll_temac_ethtools_get_coalesce()
1352 if (ec->rx_max_coalesced_frames) in ll_temac_ethtools_set_coalesce()
1353 lp->coalesce_count_rx = ec->rx_max_coalesced_frames; in ll_temac_ethtools_set_coalesce()
/drivers/net/ethernet/ni/
Dnixge.c1008 ecoalesce->rx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce()
1030 if (ecoalesce->rx_max_coalesced_frames) in nixge_ethtools_set_coalesce()
1031 priv->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c1506 ec->rx_max_coalesced_frames = nn->rx_coalesce_max_frames; in nfp_net_get_coalesce()
1782 if (!ec->rx_coalesce_usecs && !ec->rx_max_coalesced_frames) in nfp_net_set_coalesce()
1789 ec->rx_max_coalesced_frames)) in nfp_net_set_coalesce()
1801 nn->rx_coalesce_max_frames = ec->rx_max_coalesced_frames; in nfp_net_set_coalesce()
/drivers/net/ethernet/socionext/
Dnetsec.c569 if (priv->et_coalesce.rx_max_coalesced_frames < 1) in netsec_et_set_coalesce()
570 priv->et_coalesce.rx_max_coalesced_frames = 1; in netsec_et_set_coalesce()
573 priv->et_coalesce.rx_max_coalesced_frames); in netsec_et_set_coalesce()
2085 priv->et_coalesce.rx_max_coalesced_frames = 8; in netsec_probe()
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1015 coal->rx_max_coalesced_frames = priv->rx_frames; in mlx4_en_get_coalesce()
1047 coal->rx_max_coalesced_frames > MLX4_EN_MAX_COAL_PKTS) { in mlx4_en_set_coalesce()
1053 priv->rx_frames = (coal->rx_max_coalesced_frames == in mlx4_en_set_coalesce()
1056 coal->rx_max_coalesced_frames; in mlx4_en_set_coalesce()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c532 coal->rx_max_coalesced_frames = rx_moder->pkts; in mlx5e_ethtool_get_coalesce()
591 coal->rx_max_coalesced_frames); in mlx5e_set_priv_channels_rx_coalesce()
628 coal->rx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES) { in mlx5e_ethtool_set_coalesce()
645 rx_moder->pkts = coal->rx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()

12