/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() 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/ |
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()
|
/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ethtool.c | 234 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/ |
D | lio_ethtool.c | 1927 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 …]
|
D | octeon_device.h | 548 u32 rx_max_coalesced_frames; member
|
/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()
|
/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()
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_ethtool.c | 764 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/ |
D | nfp_net_ethtool.c | 907 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/ |
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()
|
/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 288 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()
|
D | fec_main.c | 2454 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/ |
D | ena_ethtool.c | 324 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/ |
D | xilinx_axienet_main.c | 1247 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/ |
D | en_ethtool.c | 996 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/ |
D | bcmsysport.c | 585 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/ |
D | cxgb4_ethtool.c | 1050 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/ |
D | hns_ethtool.c | 758 &ec->rx_max_coalesced_frames); in hns_get_coalesce() 804 ec->rx_max_coalesced_frames); in hns_set_coalesce()
|
/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 614 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/ |
D | enic_ethtool.c | 251 if (ec->rx_max_coalesced_frames || in enic_coalesce_valid()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 714 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/ |
D | i40evf_ethtool.c | 447 ec->rx_max_coalesced_frames = vsi->work_limit; in __i40evf_get_coalesce()
|
/drivers/net/ethernet/ |
D | jme.c | 2445 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/ |
D | tun.c | 2783 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/ |
D | qlcnic_ethtool.c | 1542 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()
|