/Linux-v5.4/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-v5.4/drivers/staging/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-v5.4/drivers/net/ethernet/cavium/liquidio/ |
D | lio_ethtool.c | 2127 intr_coal->rx_max_coalesced_frames = in lio_get_intr_coalesce() 2128 oct->rx_max_coalesced_frames; in lio_get_intr_coalesce() 2143 intr_coal->rx_max_coalesced_frames = in lio_get_intr_coalesce() 2224 u32 rx_max_coalesced_frames; in oct_cfg_rx_intrcnt() local 2233 if (!intr_coal->rx_max_coalesced_frames) in oct_cfg_rx_intrcnt() 2234 rx_max_coalesced_frames = CN6XXX_OQ_INTR_PKT; in oct_cfg_rx_intrcnt() 2236 rx_max_coalesced_frames = in oct_cfg_rx_intrcnt() 2237 intr_coal->rx_max_coalesced_frames; in oct_cfg_rx_intrcnt() 2239 rx_max_coalesced_frames); in oct_cfg_rx_intrcnt() 2240 CFG_SET_OQ_INTR_PKT(cn6xxx->conf, rx_max_coalesced_frames); in oct_cfg_rx_intrcnt() [all …]
|
D | octeon_device.h | 589 u32 rx_max_coalesced_frames; member
|
/Linux-v5.4/drivers/net/vmxnet3/ |
D | vmxnet3_ethtool.c | 757 ec->rx_max_coalesced_frames = in vmxnet3_get_coalesce() 809 (ec->rx_max_coalesced_frames == 0)) { in vmxnet3_set_coalesce() 820 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce() 839 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce() 848 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce() 856 (ec->rx_max_coalesced_frames > in vmxnet3_set_coalesce() 870 (ec->rx_max_coalesced_frames ? in vmxnet3_set_coalesce() 871 ec->rx_max_coalesced_frames : in vmxnet3_set_coalesce()
|
/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ethtool.c | 297 coal->rx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce() 302 coal->rx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce() 321 if (coal->rx_max_coalesced_frames > 1 || in aq_ethtool_set_coalesce() 333 if (!(coal->rx_max_coalesced_frames == !coal->rx_coalesce_usecs)) in aq_ethtool_set_coalesce()
|
/Linux-v5.4/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-v5.4/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_ethtool.c | 749 ethcoal->rx_max_coalesced_frames > 0xffff || in netxen_set_intr_coalesce() 772 !ethcoal->rx_max_coalesced_frames) { in netxen_set_intr_coalesce() 783 ethcoal->rx_max_coalesced_frames; in netxen_set_intr_coalesce() 807 ethcoal->rx_max_coalesced_frames = in netxen_get_intr_coalesce()
|
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_ethtool.c | 544 c->rx_max_coalesced_frames = thresh; in dpaa_get_coalesce() 564 thresh = c->rx_max_coalesced_frames; in dpaa_set_coalesce()
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_ethtool.c | 1000 ec->rx_max_coalesced_frames = nn->rx_coalesce_max_frames; in nfp_net_get_coalesce() 1289 if (!ec->rx_coalesce_usecs && !ec->rx_max_coalesced_frames) in nfp_net_set_coalesce() 1301 if (ec->rx_max_coalesced_frames >= ((1 << 16) - 1)) in nfp_net_set_coalesce() 1309 nn->rx_coalesce_max_frames = ec->rx_max_coalesced_frames; in nfp_net_set_coalesce()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 602 ec->rx_max_coalesced_frames = reg & RDMA_INTR_THRESH_MASK; in bcm_sysport_get_coalesce() 622 ec->rx_max_coalesced_frames > RDMA_INTR_THRESH_MASK || in bcm_sysport_set_coalesce() 627 (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0) || in bcm_sysport_set_coalesce() 635 priv->rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in bcm_sysport_set_coalesce() 637 pkts = priv->rx_max_coalesced_frames; in bcm_sysport_set_coalesce() 1452 pkts = priv->rx_max_coalesced_frames; in bcm_sysport_init_rx_coalesce() 2534 priv->rx_max_coalesced_frames = 1; in bcm_sysport_probe()
|
D | bcmsysport.h | 755 u32 rx_max_coalesced_frames; member
|
/Linux-v5.4/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 274 cvals->rx_max_coalesced_frames = rxcount; in gfar_gcoalesce() 334 if (cvals->rx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce() 358 (cvals->rx_max_coalesced_frames == 0)) { in gfar_scoalesce() 368 cvals->rx_max_coalesced_frames, in gfar_scoalesce()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 609 ec->rx_max_coalesced_frames = in bcmgenet_get_coalesce() 647 ring->rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in bcmgenet_set_ring_rx_coalesce() 649 pkts = ring->rx_max_coalesced_frames; in bcmgenet_set_ring_rx_coalesce() 673 ec->rx_max_coalesced_frames > DMA_INTR_THRESHOLD_MASK || in bcmgenet_set_coalesce() 677 if (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0) in bcmgenet_set_coalesce() 2099 pkts = ring->rx_max_coalesced_frames; in bcmgenet_init_rx_coalesce() 3571 priv->rx_rings[i].rx_max_coalesced_frames = 1; in bcmgenet_probe() 3572 priv->rx_rings[DESC_INDEX].rx_max_coalesced_frames = 1; in bcmgenet_probe()
|
D | bcmgenet.h | 600 u32 rx_max_coalesced_frames; member
|
/Linux-v5.4/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-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 497 coal->rx_max_coalesced_frames = rx_moder->pkts; in mlx5e_ethtool_get_coalesce() 538 coal->rx_max_coalesced_frames); in mlx5e_set_priv_channels_coalesce() 562 coal->rx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES) { in mlx5e_ethtool_set_coalesce() 573 rx_moder->pkts = coal->rx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
|
/Linux-v5.4/drivers/net/ethernet/ni/ |
D | nixge.c | 1003 ecoalesce->rx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce() 1043 if (ecoalesce->rx_max_coalesced_frames) in nixge_ethtools_set_coalesce() 1044 priv->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
|
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ethtool.c | 721 ec->rx_max_coalesced_frames = priv->rx_coal_frames; in stmmac_get_coalesce() 770 priv->rx_coal_frames = ec->rx_max_coalesced_frames; in stmmac_set_coalesce()
|
/Linux-v5.4/drivers/net/ethernet/socionext/ |
D | netsec.c | 564 if (priv->et_coalesce.rx_max_coalesced_frames < 1) in netsec_et_set_coalesce() 565 priv->et_coalesce.rx_max_coalesced_frames = 1; in netsec_et_set_coalesce() 568 priv->et_coalesce.rx_max_coalesced_frames); in netsec_et_set_coalesce() 2055 priv->et_coalesce.rx_max_coalesced_frames = 8; in netsec_probe()
|
/Linux-v5.4/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_main.c | 1282 ecoalesce->rx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in axienet_ethtools_get_coalesce() 1333 if (ecoalesce->rx_max_coalesced_frames) in axienet_ethtools_set_coalesce() 1334 lp->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames; in axienet_ethtools_set_coalesce()
|
/Linux-v5.4/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-v5.4/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-v5.4/include/uapi/linux/ |
D | ethtool.h | 465 __u32 rx_max_coalesced_frames; member
|
/Linux-v5.4/drivers/net/ethernet/intel/iavf/ |
D | iavf_ethtool.c | 649 ec->rx_max_coalesced_frames = vsi->work_limit; in __iavf_get_coalesce()
|