/Linux-v4.19/drivers/infiniband/ulp/ipoib/ |
D | ipoib_ethtool.c | 83 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/ |
D | qlge_ethtool.c | 223 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/ |
D | lio_ethtool.c | 2200 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 …]
|
D | octeon_device.h | 585 u32 rx_max_coalesced_frames; member
|
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ethtool.c | 235 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/ |
D | vmxnet3_ethtool.c | 747 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/ |
D | dwc-xlgmac-ethtool.c | 156 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/ |
D | netxen_nic_ethtool.c | 765 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/ |
D | nfp_net_ethtool.c | 1013 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/ |
D | bcmsysport.c | 619 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()
|
D | bcmsysport.h | 763 u32 rx_max_coalesced_frames; member
|
/Linux-v4.19/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 290 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/ |
D | bcmgenet.c | 612 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()
|
D | bcmgenet.h | 602 u32 rx_max_coalesced_frames; member
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 399 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/ |
D | ena_ethtool.c | 325 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/ |
D | xgbe-ethtool.c | 439 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/ |
D | nixge.c | 937 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/ |
D | netsec.c | 519 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/ |
D | xilinx_axienet_main.c | 1231 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/ |
D | en_ethtool.c | 1010 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/ |
D | hns_ethtool.c | 755 &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/ |
D | i40evf_ethtool.c | 424 ec->rx_max_coalesced_frames = vsi->work_limit; in __i40evf_get_coalesce()
|
/Linux-v4.19/drivers/net/ethernet/cisco/enic/ |
D | enic_ethtool.c | 327 if (ec->rx_max_coalesced_frames || in enic_coalesce_valid()
|
/Linux-v4.19/include/uapi/linux/ |
D | ethtool.h | 439 __u32 rx_max_coalesced_frames; member
|