Home
last modified time | relevance | path

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

123

/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c1182 ec->rx_max_coalesced_frames = in vmxnet3_get_coalesce()
1215 (ec->rx_max_coalesced_frames == 0)) { in vmxnet3_set_coalesce()
1226 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce()
1244 ec->rx_max_coalesced_frames != 0) { in vmxnet3_set_coalesce()
1253 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce()
1256 (ec->rx_max_coalesced_frames > in vmxnet3_set_coalesce()
1270 (ec->rx_max_coalesced_frames ? in vmxnet3_set_coalesce()
1271 ec->rx_max_coalesced_frames : in vmxnet3_set_coalesce()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c455 cmd->rx_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()
523 ec->rx_max_coalesced_frames = clamp_t(u32, ec->rx_max_coalesced_frames, in otx2_set_coalesce()
531 if (hw->cq_ecount_wait == ec->rx_max_coalesced_frames) in otx2_set_coalesce()
534 hw->cq_ecount_wait = ec->rx_max_coalesced_frames; in otx2_set_coalesce()
536 hw->cq_ecount_wait = min_t(u16, ec->rx_max_coalesced_frames, in otx2_set_coalesce()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/net/ethtool/
Dcoalesce.c139 coal->rx_max_coalesced_frames, supported) || in coalesce_fill_reply()
278 ethnl_update_u32(&coalesce.rx_max_coalesced_frames, in ethnl_set_coalesce()
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c507 c->rx_max_coalesced_frames = thresh; in dpaa_get_coalesce()
525 thresh = c->rx_max_coalesced_frames; in dpaa_set_coalesce()
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c875 ec->rx_max_coalesced_frames = priv->rx_coal_frames[queue]; in __stmmac_get_coalesce()
879 ec->rx_max_coalesced_frames = 0; in __stmmac_get_coalesce()
934 ec->rx_max_coalesced_frames; in __stmmac_set_coalesce()
941 ec->rx_max_coalesced_frames; in __stmmac_set_coalesce()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dbcmsysport.c625 ec->rx_max_coalesced_frames = reg & RDMA_INTR_THRESH_MASK; in bcm_sysport_get_coalesce()
647 ec->rx_max_coalesced_frames > RDMA_INTR_THRESH_MASK || in bcm_sysport_set_coalesce()
652 (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0)) in bcm_sysport_set_coalesce()
659 priv->rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in bcm_sysport_set_coalesce()
661 pkts = priv->rx_max_coalesced_frames; in bcm_sysport_set_coalesce()
1489 pkts = priv->rx_max_coalesced_frames; in bcm_sysport_init_rx_coalesce()
2599 priv->rx_max_coalesced_frames = 1; in bcm_sysport_probe()
Dbcmsysport.h725 u32 rx_max_coalesced_frames; member
/linux-6.1.9/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c272 cvals->rx_max_coalesced_frames = rxcount; in gfar_gcoalesce()
305 if (cvals->rx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce()
329 (cvals->rx_max_coalesced_frames == 0)) { in gfar_scoalesce()
339 cvals->rx_max_coalesced_frames, in gfar_scoalesce()
/linux-6.1.9/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c438 ec->rx_max_coalesced_frames = pdata->rx_frames; in xgbe_get_coalesce()
457 rx_frames = ec->rx_max_coalesced_frames; in xgbe_set_coalesce()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c1307 ec->rx_max_coalesced_frames = nn->rx_coalesce_max_frames; in nfp_net_get_coalesce()
1583 if (!ec->rx_coalesce_usecs && !ec->rx_max_coalesced_frames) in nfp_net_set_coalesce()
1590 ec->rx_max_coalesced_frames)) in nfp_net_set_coalesce()
1602 nn->rx_coalesce_max_frames = ec->rx_max_coalesced_frames; in nfp_net_set_coalesce()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c1366 cmd->rx_max_coalesced_frames = rx_coal->int_ql; in hns3_get_coalesce()
1454 if ((cmd->tx_max_coalesced_frames || cmd->rx_max_coalesced_frames) && in hns3_check_ql_coalesce_param()
1461 cmd->rx_max_coalesced_frames > ae_dev->dev_specs.int_ql_max) { in hns3_check_ql_coalesce_param()
1536 rx_vector->rx_group.coal.int_ql = cmd->rx_max_coalesced_frames; in hns3_set_coalesce_per_queue()
1586 rx_coal->int_ql = cmd->rx_max_coalesced_frames; in hns3_set_coalesce()
/linux-6.1.9/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c842 ec->rx_max_coalesced_frames = in bcmgenet_get_coalesce()
880 ring->rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in bcmgenet_set_ring_rx_coalesce()
882 pkts = ring->rx_max_coalesced_frames; in bcmgenet_set_ring_rx_coalesce()
908 ec->rx_max_coalesced_frames > DMA_INTR_THRESHOLD_MASK || in bcmgenet_set_coalesce()
912 if (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0) in bcmgenet_set_coalesce()
2606 pkts = ring->rx_max_coalesced_frames; in bcmgenet_init_rx_coalesce()
4136 priv->rx_rings[i].rx_max_coalesced_frames = 1; in bcmgenet_probe()
4137 priv->rx_rings[DESC_INDEX].rx_max_coalesced_frames = 1; in bcmgenet_probe()
Dbcmgenet.h554 u32 rx_max_coalesced_frames; member
/linux-6.1.9/drivers/net/ethernet/ni/
Dnixge.c1009 ecoalesce->rx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce()
1031 if (ecoalesce->rx_max_coalesced_frames) in nixge_ethtools_set_coalesce()
1032 priv->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
/linux-6.1.9/drivers/net/ethernet/xilinx/
Dll_temac_main.c1333 ec->rx_max_coalesced_frames = lp->coalesce_count_rx; in ll_temac_ethtools_get_coalesce()
1354 if (ec->rx_max_coalesced_frames) in ll_temac_ethtools_set_coalesce()
1355 lp->coalesce_count_rx = ec->rx_max_coalesced_frames; in ll_temac_ethtools_set_coalesce()
/linux-6.1.9/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()
2074 priv->et_coalesce.rx_max_coalesced_frames = 8; in netsec_probe()

123