Home
last modified time | relevance | path

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

12

/Linux-v4.19/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()
103 coal->rx_max_coalesced_frames, in ipoib_set_coalesce()
111 priv->ethtool.max_coalesced_frames = coal->rx_max_coalesced_frames; in ipoib_set_coalesce()
/Linux-v4.19/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()
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c2200 intr_coal->rx_max_coalesced_frames = in lio_get_intr_coalesce()
2201 oct->rx_max_coalesced_frames; in lio_get_intr_coalesce()
2216 intr_coal->rx_max_coalesced_frames = in lio_get_intr_coalesce()
2297 u32 rx_max_coalesced_frames; in oct_cfg_rx_intrcnt() local
2306 if (!intr_coal->rx_max_coalesced_frames) in oct_cfg_rx_intrcnt()
2307 rx_max_coalesced_frames = CN6XXX_OQ_INTR_PKT; in oct_cfg_rx_intrcnt()
2309 rx_max_coalesced_frames = in oct_cfg_rx_intrcnt()
2310 intr_coal->rx_max_coalesced_frames; in oct_cfg_rx_intrcnt()
2312 rx_max_coalesced_frames); in oct_cfg_rx_intrcnt()
2313 CFG_SET_OQ_INTR_PKT(cn6xxx->conf, rx_max_coalesced_frames); in oct_cfg_rx_intrcnt()
[all …]
Docteon_device.h585 u32 rx_max_coalesced_frames; member
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c235 coal->rx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce()
240 coal->rx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce()
259 if (coal->rx_max_coalesced_frames > 1 || in aq_ethtool_set_coalesce()
271 if (!(coal->rx_max_coalesced_frames == !coal->rx_coalesce_usecs)) in aq_ethtool_set_coalesce()
/Linux-v4.19/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()
/Linux-v4.19/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()
/Linux-v4.19/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c765 ethcoal->rx_max_coalesced_frames > 0xffff || in netxen_set_intr_coalesce()
788 !ethcoal->rx_max_coalesced_frames) { in netxen_set_intr_coalesce()
799 ethcoal->rx_max_coalesced_frames; in netxen_set_intr_coalesce()
823 ethcoal->rx_max_coalesced_frames = in netxen_get_intr_coalesce()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c1013 ec->rx_max_coalesced_frames = nn->rx_coalesce_max_frames; in nfp_net_get_coalesce()
1178 if (!ec->rx_coalesce_usecs && !ec->rx_max_coalesced_frames) in nfp_net_set_coalesce()
1190 if (ec->rx_max_coalesced_frames >= ((1 << 16) - 1)) in nfp_net_set_coalesce()
1198 nn->rx_coalesce_max_frames = ec->rx_max_coalesced_frames; in nfp_net_set_coalesce()
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dbcmsysport.c619 ec->rx_max_coalesced_frames = reg & RDMA_INTR_THRESH_MASK; in bcm_sysport_get_coalesce()
639 ec->rx_max_coalesced_frames > RDMA_INTR_THRESH_MASK || in bcm_sysport_set_coalesce()
644 (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0) || in bcm_sysport_set_coalesce()
652 priv->rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in bcm_sysport_set_coalesce()
654 pkts = priv->rx_max_coalesced_frames; in bcm_sysport_set_coalesce()
1467 pkts = priv->rx_max_coalesced_frames; in bcm_sysport_init_rx_coalesce()
2529 priv->rx_max_coalesced_frames = 1; in bcm_sysport_probe()
Dbcmsysport.h763 u32 rx_max_coalesced_frames; member
/Linux-v4.19/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c290 cvals->rx_max_coalesced_frames = rxcount; in gfar_gcoalesce()
350 if (cvals->rx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce()
374 (cvals->rx_max_coalesced_frames == 0)) { in gfar_scoalesce()
384 cvals->rx_max_coalesced_frames, in gfar_scoalesce()
/Linux-v4.19/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c612 ec->rx_max_coalesced_frames = in bcmgenet_get_coalesce()
650 ring->rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in bcmgenet_set_ring_rx_coalesce()
652 pkts = ring->rx_max_coalesced_frames; in bcmgenet_set_ring_rx_coalesce()
676 ec->rx_max_coalesced_frames > DMA_INTR_THRESHOLD_MASK || in bcmgenet_set_coalesce()
680 if (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0) in bcmgenet_set_coalesce()
2101 pkts = ring->rx_max_coalesced_frames; in bcmgenet_init_rx_coalesce()
3579 priv->rx_rings[i].rx_max_coalesced_frames = 1; in bcmgenet_probe()
3580 priv->rx_rings[DESC_INDEX].rx_max_coalesced_frames = 1; in bcmgenet_probe()
Dbcmgenet.h602 u32 rx_max_coalesced_frames; member
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c399 coal->rx_max_coalesced_frames = rx_moder->pkts; in mlx5e_ethtool_get_coalesce()
440 coal->rx_max_coalesced_frames); in mlx5e_set_priv_channels_coalesce()
464 coal->rx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES) { in mlx5e_ethtool_set_coalesce()
475 rx_moder->pkts = coal->rx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
/Linux-v4.19/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c325 coalesce->rx_max_coalesced_frames = intr_moder_entry.pkts_per_interval; in ena_get_coalesce()
407 intr_moder_entry.pkts_per_interval = coalesce->rx_max_coalesced_frames; in ena_set_coalesce()
/Linux-v4.19/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()
/Linux-v4.19/drivers/net/ethernet/ni/
Dnixge.c937 ecoalesce->rx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce()
977 if (ecoalesce->rx_max_coalesced_frames) in nixge_ethtools_set_coalesce()
978 priv->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
/Linux-v4.19/drivers/net/ethernet/socionext/
Dnetsec.c519 if (priv->et_coalesce.rx_max_coalesced_frames < 1) in netsec_et_set_coalesce()
520 priv->et_coalesce.rx_max_coalesced_frames = 1; in netsec_et_set_coalesce()
523 priv->et_coalesce.rx_max_coalesced_frames); in netsec_et_set_coalesce()
1640 priv->et_coalesce.rx_max_coalesced_frames = 8; in netsec_probe()
/Linux-v4.19/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c1231 ecoalesce->rx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in axienet_ethtools_get_coalesce()
1282 if (ecoalesce->rx_max_coalesced_frames) in axienet_ethtools_set_coalesce()
1283 lp->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames; in axienet_ethtools_set_coalesce()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1010 coal->rx_max_coalesced_frames = priv->rx_frames; in mlx4_en_get_coalesce()
1040 coal->rx_max_coalesced_frames > MLX4_EN_MAX_COAL_PKTS) { in mlx4_en_set_coalesce()
1046 priv->rx_frames = (coal->rx_max_coalesced_frames == in mlx4_en_set_coalesce()
1049 coal->rx_max_coalesced_frames; in mlx4_en_set_coalesce()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c755 &ec->rx_max_coalesced_frames); in hns_get_coalesce()
801 ec->rx_max_coalesced_frames); in hns_set_coalesce()
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/
Di40evf_ethtool.c424 ec->rx_max_coalesced_frames = vsi->work_limit; in __i40evf_get_coalesce()
/Linux-v4.19/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c327 if (ec->rx_max_coalesced_frames || in enic_coalesce_valid()
/Linux-v4.19/include/uapi/linux/
Dethtool.h439 __u32 rx_max_coalesced_frames; member

12