| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | lio_ethtool.c | 2135 intr_coal->rx_max_coalesced_frames = in lio_get_intr_coalesce() 2136 oct->rx_max_coalesced_frames; in lio_get_intr_coalesce() 2151 intr_coal->rx_max_coalesced_frames = in lio_get_intr_coalesce() 2232 u32 rx_max_coalesced_frames; in oct_cfg_rx_intrcnt() local 2241 if (!intr_coal->rx_max_coalesced_frames) in oct_cfg_rx_intrcnt() 2242 rx_max_coalesced_frames = CN6XXX_OQ_INTR_PKT; in oct_cfg_rx_intrcnt() 2244 rx_max_coalesced_frames = in oct_cfg_rx_intrcnt() 2245 intr_coal->rx_max_coalesced_frames; in oct_cfg_rx_intrcnt() 2247 rx_max_coalesced_frames); in oct_cfg_rx_intrcnt() 2248 CFG_SET_OQ_INTR_PKT(cn6xxx->conf, rx_max_coalesced_frames); in oct_cfg_rx_intrcnt() [all …]
|
| H A D | octeon_device.h | 589 u32 rx_max_coalesced_frames; member
|
| /linux/drivers/net/ethernet/synopsys/ |
| H A D | dwc-xlgmac-ethtool.c | 158 ec->rx_max_coalesced_frames = pdata->rx_frames; in xlgmac_ethtool_get_coalesce() 177 rx_frames = ec->rx_max_coalesced_frames; in xlgmac_ethtool_set_coalesce()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_ethtool.c | 470 cmd->rx_max_coalesced_frames = hw->cq_ecount_wait; in otx2_get_coalesce() 495 if (!ec->rx_max_coalesced_frames || !ec->tx_max_coalesced_frames) in otx2_set_coalesce() 538 ec->rx_max_coalesced_frames = clamp_t(u32, ec->rx_max_coalesced_frames, in otx2_set_coalesce() 546 if (hw->cq_ecount_wait == ec->rx_max_coalesced_frames) in otx2_set_coalesce() 549 hw->cq_ecount_wait = ec->rx_max_coalesced_frames; in otx2_set_coalesce() 551 hw->cq_ecount_wait = min_t(u16, ec->rx_max_coalesced_frames, in otx2_set_coalesce()
|
| /linux/drivers/net/ethernet/freescale/dpaa/ |
| H A D | dpaa_ethtool.c | 407 c->rx_max_coalesced_frames = thresh; in dpaa_get_coalesce() 429 thresh = c->rx_max_coalesced_frames; in dpaa_set_coalesce()
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | bcmsysport.c | 602 ec->rx_max_coalesced_frames = reg & RDMA_INTR_THRESH_MASK; in bcm_sysport_get_coalesce() 624 ec->rx_max_coalesced_frames > RDMA_INTR_THRESH_MASK || in bcm_sysport_set_coalesce() 629 (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0)) in bcm_sysport_set_coalesce() 636 priv->rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in bcm_sysport_set_coalesce() 638 pkts = priv->rx_max_coalesced_frames; in bcm_sysport_set_coalesce() 1467 pkts = priv->rx_max_coalesced_frames; in bcm_sysport_init_rx_coalesce() 2580 priv->rx_max_coalesced_frames = 1; in bcm_sysport_probe()
|
| H A D | tg3.c | 9564 tw32(HOSTCC_RXMAX_FRAMES, ec->rx_max_coalesced_frames); in tg3_coal_rx_init() 9579 tw32(reg, ec->rx_max_coalesced_frames); in tg3_coal_rx_init() 14147 (ec->rx_max_coalesced_frames > MAX_RXMAX_FRAMES) || in tg3_set_coalesce() 14160 tp->coal.rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in tg3_set_coalesce() 17657 ec->rx_max_coalesced_frames = LOW_RXMAX_FRAMES; in tg3_init_coal()
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | gianfar_ethtool.c | 276 cvals->rx_max_coalesced_frames = rxcount; in gfar_gcoalesce() 309 if (cvals->rx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce() 333 (cvals->rx_max_coalesced_frames == 0)) { in gfar_scoalesce() 343 cvals->rx_max_coalesced_frames, in gfar_scoalesce()
|
| /linux/net/ethtool/ |
| H A D | coalesce.c | 225 coal->rx_max_coalesced_frames, supported) || in coalesce_fill_reply() 544 ethnl_update_u32(&coalesce.rx_max_coalesced_frames, in __ethnl_set_coalesce()
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_ethtool.c | 656 coal->rx_max_coalesced_frames = rx_intr_coal_info->pending_limt * in __hinic_get_coalesce() 669 coal->rx_max_coalesced_frames > COALESCE_MAX_PENDING_LIMIT || in is_coalesce_exceed_limit() 759 if (coal->rx_coalesce_usecs || coal->rx_max_coalesced_frames) { in __hinic_set_coalesce() 762 rx_intr_coal.pending_limt = (u8)(coal->rx_max_coalesced_frames / in __hinic_set_coalesce()
|
| /linux/drivers/net/ethernet/xilinx/ |
| H A D | ll_temac_main.c | 1331 ec->rx_max_coalesced_frames = lp->coalesce_count_rx; in ll_temac_ethtools_get_coalesce() 1352 if (ec->rx_max_coalesced_frames) in ll_temac_ethtools_set_coalesce() 1353 lp->coalesce_count_rx = ec->rx_max_coalesced_frames; in ll_temac_ethtools_set_coalesce()
|
| /linux/drivers/net/ethernet/socionext/ |
| H A D | netsec.c | 569 if (priv->et_coalesce.rx_max_coalesced_frames < 1) in netsec_et_set_coalesce() 570 priv->et_coalesce.rx_max_coalesced_frames = 1; in netsec_et_set_coalesce() 573 priv->et_coalesce.rx_max_coalesced_frames); in netsec_et_set_coalesce() 2090 priv->et_coalesce.rx_max_coalesced_frames = 8; in netsec_probe()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_ethtool.c | 996 coal->rx_max_coalesced_frames = priv->rx_frames; in mlx4_en_get_coalesce() 1028 coal->rx_max_coalesced_frames > MLX4_EN_MAX_COAL_PKTS) { in mlx4_en_set_coalesce() 1034 priv->rx_frames = (coal->rx_max_coalesced_frames == in mlx4_en_set_coalesce() 1037 coal->rx_max_coalesced_frames; in mlx4_en_set_coalesce()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_ethtool.c | 1885 ec->rx_max_coalesced_frames = nn->rx_coalesce_max_frames; in nfp_net_get_coalesce() 2161 if (!ec->rx_coalesce_usecs && !ec->rx_max_coalesced_frames) { in nfp_net_set_coalesce() 2178 if (nfp_net_coalesce_para_check(ec->rx_max_coalesced_frames)) { in nfp_net_set_coalesce() 2198 nn->rx_coalesce_max_frames = ec->rx_max_coalesced_frames; in nfp_net_set_coalesce()
|
| /linux/drivers/net/ |
| H A D | virtio_net.c | 5191 ec->rx_max_coalesced_frames != vi->intr_coal_rx.max_packets)) in virtnet_send_rx_notf_coal_cmds() 5222 coal_rx->rx_max_packets = cpu_to_le32(ec->rx_max_coalesced_frames); in virtnet_send_rx_notf_coal_cmds() 5231 vi->intr_coal_rx.max_packets = ec->rx_max_coalesced_frames; in virtnet_send_rx_notf_coal_cmds() 5235 vi->rq[i].intr_coal.max_packets = ec->rx_max_coalesced_frames; in virtnet_send_rx_notf_coal_cmds() 5273 ec->rx_max_coalesced_frames != max_packets)) { in virtnet_send_rx_notf_coal_vq_cmds() 5292 ec->rx_max_coalesced_frames); in virtnet_send_rx_notf_coal_vq_cmds() 5356 ec->rx_max_coalesced_frames != 1) in virtnet_coal_params_supported() 5435 ec->rx_max_coalesced_frames = vi->intr_coal_rx.max_packets; in virtnet_get_coalesce() 5438 ec->rx_max_coalesced_frames = 1; in virtnet_get_coalesce() 5494 ec->rx_max_coalesced_frames = vi->rq[queue].intr_coal.max_packets; in virtnet_get_per_queue_coalesce() [all …]
|
| /linux/drivers/net/ethernet/ |
| H A D | jme.c | 2400 ecmd->rx_max_coalesced_frames = 0; in jme_get_coalesce() 2409 ecmd->rx_max_coalesced_frames = PCC_P1_CNT; in jme_get_coalesce() 2413 ecmd->rx_max_coalesced_frames = PCC_P2_CNT; in jme_get_coalesce() 2417 ecmd->rx_max_coalesced_frames = PCC_P3_CNT; in jme_get_coalesce()
|
| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc_ethtool.c | 1070 ic->rx_max_coalesced_frames = ENETC_RXIC_PKTTHR; in enetc_get_coalesce() 1091 if (ic->rx_max_coalesced_frames != ENETC_RXIC_PKTTHR) in enetc_set_coalesce()
|
| /linux/drivers/net/ethernet/via/ |
| H A D | via-velocity.c | 3527 ecmd->rx_max_coalesced_frames = vptr->options.rx_intsup; in velocity_get_coalesce() 3552 if (ecmd->rx_max_coalesced_frames > 0xff) in velocity_set_coalesce() 3555 vptr->options.rx_intsup = ecmd->rx_max_coalesced_frames; in velocity_set_coalesce()
|
| /linux/drivers/net/ethernet/tehuti/ |
| H A D | tehuti.c | 2163 ecoal->rx_max_coalesced_frames = in bdx_get_coalesce() 2195 rx_max_coal = ecoal->rx_max_coalesced_frames; in bdx_set_coalesce()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_ethtool.c | 1163 coalesce->rx_max_coalesced_frames); in set_coalesce() 1181 c->rx_max_coalesced_frames = (rq->intr_params & QINTR_CNT_EN_F) ? in get_coalesce()
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_hw.c | 803 coal->rx_packets = ethcoal->rx_max_coalesced_frames; in qlcnic_82xx_config_intr_coalesce()
|
| H A D | qlcnic_83xx_hw.c | 2280 rx_max_frames = ethcoal->rx_max_coalesced_frames; in qlcnic_83xx_config_intr_coal()
|
| /linux/drivers/net/ethernet/marvell/ |
| H A D | sky2.c | 4073 ecmd->rx_max_coalesced_frames = sky2_read8(hw, STAT_FIFO_WM); in sky2_get_coalesce() 4104 if (ecmd->rx_max_coalesced_frames > RX_MAX_PENDING) in sky2_set_coalesce() 4125 sky2_write8(hw, STAT_FIFO_WM, ecmd->rx_max_coalesced_frames); in sky2_set_coalesce()
|
| /linux/drivers/net/ethernet/cortina/ |
| H A D | gemini.c | 2229 ecmd->rx_max_coalesced_frames = 1; in gmac_get_coalesce()
|