Home
last modified time | relevance | path

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

12

/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c83 coal->rx_max_coalesced_frames = priv->ethtool.max_coalesced_frames; in ipoib_get_coalesce()
99 coal->rx_max_coalesced_frames > 0xffff) in ipoib_set_coalesce()
102 ret = ib_modify_cq(priv->recv_cq, coal->rx_max_coalesced_frames, in ipoib_set_coalesce()
110 priv->ethtool.max_coalesced_frames = coal->rx_max_coalesced_frames; in ipoib_set_coalesce()
/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c223 qdev->rx_max_coalesced_frames) { in ql_update_ring_coalescing()
229 cpu_to_le16(qdev->rx_max_coalesced_frames); in ql_update_ring_coalescing()
638 c->rx_max_coalesced_frames = qdev->rx_max_coalesced_frames; in ql_get_coalesce()
652 if (c->rx_max_coalesced_frames > MAX_INTER_FRAME_WAIT) in ql_set_coalesce()
662 qdev->rx_max_coalesced_frames == c->rx_max_coalesced_frames && in ql_set_coalesce()
668 qdev->rx_max_coalesced_frames = c->rx_max_coalesced_frames; in ql_set_coalesce()
/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c234 coal->rx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce()
239 coal->rx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce()
258 if (coal->rx_max_coalesced_frames > 1 || in aq_ethtool_set_coalesce()
270 if (!(coal->rx_max_coalesced_frames == !coal->rx_coalesce_usecs)) in aq_ethtool_set_coalesce()
/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c1927 intr_coal->rx_max_coalesced_frames = in lio_get_intr_coalesce()
1928 oct->rx_max_coalesced_frames; in lio_get_intr_coalesce()
1943 intr_coal->rx_max_coalesced_frames = in lio_get_intr_coalesce()
2024 u32 rx_max_coalesced_frames; in oct_cfg_rx_intrcnt() local
2033 if (!intr_coal->rx_max_coalesced_frames) in oct_cfg_rx_intrcnt()
2034 rx_max_coalesced_frames = CN6XXX_OQ_INTR_PKT; in oct_cfg_rx_intrcnt()
2036 rx_max_coalesced_frames = in oct_cfg_rx_intrcnt()
2037 intr_coal->rx_max_coalesced_frames; in oct_cfg_rx_intrcnt()
2039 rx_max_coalesced_frames); in oct_cfg_rx_intrcnt()
2040 CFG_SET_OQ_INTR_PKT(cn6xxx->conf, rx_max_coalesced_frames); in oct_cfg_rx_intrcnt()
[all …]
Docteon_device.h548 u32 rx_max_coalesced_frames; member
/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c747 ec->rx_max_coalesced_frames = in vmxnet3_get_coalesce()
799 (ec->rx_max_coalesced_frames == 0)) { in vmxnet3_set_coalesce()
810 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce()
829 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce()
838 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce()
846 (ec->rx_max_coalesced_frames > in vmxnet3_set_coalesce()
860 (ec->rx_max_coalesced_frames ? in vmxnet3_set_coalesce()
861 ec->rx_max_coalesced_frames : in vmxnet3_set_coalesce()
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-ethtool.c156 ec->rx_max_coalesced_frames = pdata->rx_frames; in xlgmac_ethtool_get_coalesce()
186 rx_frames = ec->rx_max_coalesced_frames; in xlgmac_ethtool_set_coalesce()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c764 ethcoal->rx_max_coalesced_frames > 0xffff || in netxen_set_intr_coalesce()
787 !ethcoal->rx_max_coalesced_frames) { in netxen_set_intr_coalesce()
798 ethcoal->rx_max_coalesced_frames; in netxen_set_intr_coalesce()
822 ethcoal->rx_max_coalesced_frames = in netxen_get_intr_coalesce()
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c907 ec->rx_max_coalesced_frames = nn->rx_coalesce_max_frames; in nfp_net_get_coalesce()
1030 if (!ec->rx_coalesce_usecs && !ec->rx_max_coalesced_frames) in nfp_net_set_coalesce()
1042 if (ec->rx_max_coalesced_frames >= ((1 << 16) - 1)) in nfp_net_set_coalesce()
1050 nn->rx_coalesce_max_frames = ec->rx_max_coalesced_frames; in nfp_net_set_coalesce()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c439 ec->rx_max_coalesced_frames = pdata->rx_frames; in xgbe_get_coalesce()
480 rx_frames = ec->rx_max_coalesced_frames; in xgbe_set_coalesce()
/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c288 cvals->rx_max_coalesced_frames = rxcount; in gfar_gcoalesce()
348 if (cvals->rx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce()
372 (cvals->rx_max_coalesced_frames == 0)) { in gfar_scoalesce()
382 cvals->rx_max_coalesced_frames, in gfar_scoalesce()
Dfec_main.c2454 ec->rx_max_coalesced_frames = fep->rx_pkts_itr; in fec_enet_get_coalesce()
2471 if (ec->rx_max_coalesced_frames > 255) { in fec_enet_set_coalesce()
2494 fep->rx_pkts_itr = ec->rx_max_coalesced_frames; in fec_enet_set_coalesce()
2509 ec.rx_max_coalesced_frames = FEC_ITR_ICFT_DEFAULT; in fec_enet_itr_coal_init()
/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c324 coalesce->rx_max_coalesced_frames = intr_moder_entry.pkts_per_interval; in ena_get_coalesce()
406 intr_moder_entry.pkts_per_interval = coalesce->rx_max_coalesced_frames; in ena_set_coalesce()
/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c1247 ecoalesce->rx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in axienet_ethtools_get_coalesce()
1298 if (ecoalesce->rx_max_coalesced_frames) in axienet_ethtools_set_coalesce()
1299 lp->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames; in axienet_ethtools_set_coalesce()
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c996 coal->rx_max_coalesced_frames = priv->rx_frames; in mlx4_en_get_coalesce()
1026 coal->rx_max_coalesced_frames > MLX4_EN_MAX_COAL_PKTS) { in mlx4_en_set_coalesce()
1032 priv->rx_frames = (coal->rx_max_coalesced_frames == in mlx4_en_set_coalesce()
1035 coal->rx_max_coalesced_frames; in mlx4_en_set_coalesce()
/drivers/net/ethernet/broadcom/
Dbcmsysport.c585 ec->rx_max_coalesced_frames = reg & RDMA_INTR_THRESH_MASK; in bcm_sysport_get_coalesce()
603 ec->rx_max_coalesced_frames > RDMA_INTR_THRESH_MASK || in bcm_sysport_set_coalesce()
608 (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0)) in bcm_sysport_set_coalesce()
624 reg |= ec->rx_max_coalesced_frames; in bcm_sysport_set_coalesce()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c1050 c->rx_max_coalesced_frames); in set_coalesce()
1060 c->rx_max_coalesced_frames = (rq->intr_params & QINTR_CNT_EN_F) ? in get_coalesce()
/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c758 &ec->rx_max_coalesced_frames); in hns_get_coalesce()
804 ec->rx_max_coalesced_frames); in hns_set_coalesce()
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c614 ec->rx_max_coalesced_frames = in bcmgenet_get_coalesce()
636 ec->rx_max_coalesced_frames > DMA_INTR_THRESHOLD_MASK || in bcmgenet_set_coalesce()
640 if (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0) in bcmgenet_set_coalesce()
664 ec->rx_max_coalesced_frames, in bcmgenet_set_coalesce()
674 ec->rx_max_coalesced_frames, in bcmgenet_set_coalesce()
/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c251 if (ec->rx_max_coalesced_frames || in enic_coalesce_valid()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c714 coal->rx_max_coalesced_frames = priv->channels.params.rx_cq_moderation.pkts; in mlx5e_ethtool_get_coalesce()
749 coal->rx_max_coalesced_frames); in mlx5e_set_priv_channels_coalesce()
770 new_channels.params.rx_cq_moderation.pkts = coal->rx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
/drivers/net/ethernet/intel/i40evf/
Di40evf_ethtool.c447 ec->rx_max_coalesced_frames = vsi->work_limit; in __i40evf_get_coalesce()
/drivers/net/ethernet/
Djme.c2445 ecmd->rx_max_coalesced_frames = 0; in jme_get_coalesce()
2454 ecmd->rx_max_coalesced_frames = PCC_P1_CNT; in jme_get_coalesce()
2458 ecmd->rx_max_coalesced_frames = PCC_P2_CNT; in jme_get_coalesce()
2462 ecmd->rx_max_coalesced_frames = PCC_P3_CNT; in jme_get_coalesce()
/drivers/net/
Dtun.c2783 ec->rx_max_coalesced_frames = tun->rx_batched; in tun_get_coalesce()
2793 if (ec->rx_max_coalesced_frames > NAPI_POLL_WEIGHT) in tun_set_coalesce()
2796 tun->rx_batched = ec->rx_max_coalesced_frames; in tun_set_coalesce()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c1542 ethcoal->rx_max_coalesced_frames > 0xffff || in qlcnic_set_intr_coalesce()
1578 ethcoal->rx_max_coalesced_frames = adapter->ahw->coal.rx_packets; in qlcnic_get_intr_coalesce()

12