Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c68 coal->rx_max_coalesced_frames = priv->ethtool.max_coalesced_frames; in ipoib_get_coalesce()
84 coal->rx_max_coalesced_frames > 0xffff) in ipoib_set_coalesce()
87 ret = ib_modify_cq(priv->recv_cq, coal->rx_max_coalesced_frames, in ipoib_set_coalesce()
95 priv->ethtool.max_coalesced_frames = coal->rx_max_coalesced_frames; in ipoib_set_coalesce()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c222 qdev->rx_max_coalesced_frames) { in ql_update_ring_coalescing()
228 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()
Dqlge.h2123 u16 rx_max_coalesced_frames; /* cqicb->pkt_int_delay */ member
Dqlge_main.c3241 cqicb->pkt_delay = cpu_to_le16(qdev->rx_max_coalesced_frames); in ql_start_rx_ring()
4674 qdev->rx_max_coalesced_frames = DFLT_INTER_FRAME_WAIT; in ql_init_device()
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c759 ethcoal->rx_max_coalesced_frames > 0xffff || in netxen_set_intr_coalesce()
782 !ethcoal->rx_max_coalesced_frames) { in netxen_set_intr_coalesce()
793 ethcoal->rx_max_coalesced_frames; in netxen_set_intr_coalesce()
817 ethcoal->rx_max_coalesced_frames = in netxen_get_intr_coalesce()
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c386 ec->rx_max_coalesced_frames = pdata->rx_frames; in xgbe_get_coalesce()
429 rx_frames = ec->rx_max_coalesced_frames; in xgbe_set_coalesce()
/linux-4.1.27/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c318 cvals->rx_max_coalesced_frames = rxcount; in gfar_gcoalesce()
378 if (cvals->rx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce()
402 (cvals->rx_max_coalesced_frames == 0)) { in gfar_scoalesce()
412 cvals->rx_max_coalesced_frames, in gfar_scoalesce()
Dfec_main.c2376 ec->rx_max_coalesced_frames = fep->rx_pkts_itr; in fec_enet_get_coalesce()
2393 if (ec->rx_max_coalesced_frames > 255) { in fec_enet_set_coalesce()
2416 fep->rx_pkts_itr = ec->rx_max_coalesced_frames; in fec_enet_set_coalesce()
2431 ec.rx_max_coalesced_frames = FEC_ITR_ICFT_DEFAULT; in fec_enet_itr_coal_init()
/linux-4.1.27/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c1264 ecoalesce->rx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in axienet_ethtools_get_coalesce()
1313 if (ecoalesce->rx_max_coalesced_frames) in axienet_ethtools_set_coalesce()
1314 lp->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames; in axienet_ethtools_set_coalesce()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c571 c->rx_max_coalesced_frames); in set_coalesce()
581 c->rx_max_coalesced_frames = (rq->intr_params & QINTR_CNT_EN) ? in get_coalesce()
/linux-4.1.27/include/uapi/linux/
Dethtool.h411 __u32 rx_max_coalesced_frames; member
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40evf_ethtool.c292 ec->rx_max_coalesced_frames = vsi->work_limit; in i40evf_get_coalesce()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c935 coal->rx_max_coalesced_frames = priv->rx_frames; in mlx4_en_get_coalesce()
955 priv->rx_frames = (coal->rx_max_coalesced_frames == in mlx4_en_set_coalesce()
958 coal->rx_max_coalesced_frames; in mlx4_en_set_coalesce()
/linux-4.1.27/drivers/net/ethernet/
Djme.c2493 ecmd->rx_max_coalesced_frames = 0; in jme_get_coalesce()
2502 ecmd->rx_max_coalesced_frames = PCC_P1_CNT; in jme_get_coalesce()
2506 ecmd->rx_max_coalesced_frames = PCC_P2_CNT; in jme_get_coalesce()
2510 ecmd->rx_max_coalesced_frames = PCC_P3_CNT; in jme_get_coalesce()
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c679 if ((ec->rx_max_coalesced_frames) || (ec->rx_coalesce_usecs_irq) || in stmmac_set_coalesce()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c1530 ethcoal->rx_max_coalesced_frames > 0xffff || in qlcnic_set_intr_coalesce()
1566 ethcoal->rx_max_coalesced_frames = adapter->ahw->coal.rx_packets; in qlcnic_get_intr_coalesce()
Dqlcnic_hw.c815 coal->rx_packets = ethcoal->rx_max_coalesced_frames; in qlcnic_82xx_config_intr_coalesce()
Dqlcnic_83xx_hw.c2272 rx_max_frames = ethcoal->rx_max_coalesced_frames; in qlcnic_83xx_config_intr_coal()
/linux-4.1.27/drivers/net/ethernet/via/
Dvia-velocity.c3551 ecmd->rx_max_coalesced_frames = vptr->options.rx_intsup; in velocity_get_coalesce()
3574 if (ecmd->rx_max_coalesced_frames > 0xff) in velocity_set_coalesce()
3577 vptr->options.rx_intsup = ecmd->rx_max_coalesced_frames; in velocity_set_coalesce()
/linux-4.1.27/drivers/net/ethernet/hisilicon/
Dhip04_eth.c723 if ((ec->rx_max_coalesced_frames) || (ec->rx_coalesce_usecs_irq) || in hip04_set_coalesce()
/linux-4.1.27/drivers/net/ethernet/tehuti/
Dtehuti.c2210 ecoal->rx_max_coalesced_frames = in bdx_get_coalesce()
2240 rx_max_coal = ecoal->rx_max_coalesced_frames; in bdx_set_coalesce()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c1441 coalesce->rx_max_coalesced_frames = in cxgb4vf_get_coalesce()
1462 coalesce->rx_max_coalesced_frames); in cxgb4vf_set_coalesce()
/linux-4.1.27/drivers/net/ethernet/marvell/
Dmvneta.c2799 rxq->pkts_coal = c->rx_max_coalesced_frames; in mvneta_ethtool_set_coalesce()
2820 c->rx_max_coalesced_frames = pp->rxqs[0].pkts_coal; in mvneta_ethtool_get_coalesce()
Dsky2.c4089 ecmd->rx_max_coalesced_frames = sky2_read8(hw, STAT_FIFO_WM); in sky2_get_coalesce()
4118 if (ecmd->rx_max_coalesced_frames > RX_MAX_PENDING) in sky2_set_coalesce()
4139 sky2_write8(hw, STAT_FIFO_WM, ecmd->rx_max_coalesced_frames); in sky2_set_coalesce()
Dmvpp2.c5776 rxq->pkts_coal = c->rx_max_coalesced_frames; in mvpp2_ethtool_set_coalesce()
5798 c->rx_max_coalesced_frames = port->rxqs[0]->pkts_coal; in mvpp2_ethtool_get_coalesce()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dtg3.c9435 tw32(HOSTCC_RXMAX_FRAMES, ec->rx_max_coalesced_frames); in tg3_coal_rx_init()
9450 tw32(reg, ec->rx_max_coalesced_frames); in tg3_coal_rx_init()
14020 (ec->rx_max_coalesced_frames > MAX_RXMAX_FRAMES) || in tg3_set_coalesce()
14032 (ec->rx_max_coalesced_frames == 0)) in tg3_set_coalesce()
14043 tp->coal.rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in tg3_set_coalesce()
17558 ec->rx_max_coalesced_frames = LOW_RXMAX_FRAMES; in tg3_init_coal()
Dbnx2.c7222 coal->rx_max_coalesced_frames = bp->rx_quick_cons_trip; in bnx2_get_coalesce()
7244 bp->rx_quick_cons_trip = (u16) coal->rx_max_coalesced_frames; in bnx2_set_coalesce()