/drivers/infiniband/ulp/ipoib/ |
D | ipoib_ethtool.c | 82 coal->rx_max_coalesced_frames = priv->ethtool.max_coalesced_frames; in ipoib_get_coalesce() 100 coal->rx_max_coalesced_frames > 0xffff) in ipoib_set_coalesce() 104 coal->rx_max_coalesced_frames, in ipoib_set_coalesce() 112 priv->ethtool.max_coalesced_frames = coal->rx_max_coalesced_frames; in ipoib_set_coalesce()
|
/drivers/staging/qlge/ |
D | qlge_ethtool.c | 221 le16_to_cpu(cqicb->pkt_delay) != qdev->rx_max_coalesced_frames) { in qlge_update_ring_coalescing() 227 cpu_to_le16(qdev->rx_max_coalesced_frames); in qlge_update_ring_coalescing() 644 c->rx_max_coalesced_frames = qdev->rx_max_coalesced_frames; in qlge_get_coalesce() 661 if (c->rx_max_coalesced_frames > MAX_INTER_FRAME_WAIT) in qlge_set_coalesce() 671 qdev->rx_max_coalesced_frames == c->rx_max_coalesced_frames && in qlge_set_coalesce() 677 qdev->rx_max_coalesced_frames = c->rx_max_coalesced_frames; in qlge_set_coalesce()
|
/drivers/net/ethernet/cavium/liquidio/ |
D | lio_ethtool.c | 2128 intr_coal->rx_max_coalesced_frames = in lio_get_intr_coalesce() 2129 oct->rx_max_coalesced_frames; in lio_get_intr_coalesce() 2144 intr_coal->rx_max_coalesced_frames = in lio_get_intr_coalesce() 2225 u32 rx_max_coalesced_frames; in oct_cfg_rx_intrcnt() local 2234 if (!intr_coal->rx_max_coalesced_frames) in oct_cfg_rx_intrcnt() 2235 rx_max_coalesced_frames = CN6XXX_OQ_INTR_PKT; in oct_cfg_rx_intrcnt() 2237 rx_max_coalesced_frames = in oct_cfg_rx_intrcnt() 2238 intr_coal->rx_max_coalesced_frames; in oct_cfg_rx_intrcnt() 2240 rx_max_coalesced_frames); in oct_cfg_rx_intrcnt() 2241 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
|
/drivers/net/vmxnet3/ |
D | vmxnet3_ethtool.c | 1076 ec->rx_max_coalesced_frames = in vmxnet3_get_coalesce() 1109 (ec->rx_max_coalesced_frames == 0)) { in vmxnet3_set_coalesce() 1120 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce() 1139 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce() 1148 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce() 1156 (ec->rx_max_coalesced_frames > in vmxnet3_set_coalesce() 1170 (ec->rx_max_coalesced_frames ? in vmxnet3_set_coalesce() 1171 ec->rx_max_coalesced_frames : in vmxnet3_set_coalesce()
|
/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ethtool.c | 424 cmd->rx_max_coalesced_frames = hw->cq_ecount_wait; in otx2_get_coalesce() 440 if (!ec->rx_max_coalesced_frames || !ec->tx_max_coalesced_frames) in otx2_set_coalesce() 465 ec->rx_max_coalesced_frames = clamp_t(u32, ec->rx_max_coalesced_frames, in otx2_set_coalesce() 473 if (hw->cq_ecount_wait == ec->rx_max_coalesced_frames) in otx2_set_coalesce() 476 hw->cq_ecount_wait = ec->rx_max_coalesced_frames; in otx2_set_coalesce() 478 hw->cq_ecount_wait = min_t(u16, ec->rx_max_coalesced_frames, in otx2_set_coalesce()
|
/drivers/net/ethernet/synopsys/ |
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()
|
/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ethtool.c | 564 coal->rx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce() 569 coal->rx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce() 588 if (coal->rx_max_coalesced_frames > 1 || in aq_ethtool_set_coalesce() 594 if (!(coal->rx_max_coalesced_frames == !coal->rx_coalesce_usecs)) in aq_ethtool_set_coalesce()
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_ethtool.c | 751 ethcoal->rx_max_coalesced_frames > 0xffff || in netxen_set_intr_coalesce() 757 !ethcoal->rx_max_coalesced_frames) { in netxen_set_intr_coalesce() 768 ethcoal->rx_max_coalesced_frames; in netxen_set_intr_coalesce() 794 ethcoal->rx_max_coalesced_frames = in netxen_get_intr_coalesce()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ethtool.c | 878 ec->rx_max_coalesced_frames = priv->rx_coal_frames[queue]; in __stmmac_get_coalesce() 882 ec->rx_max_coalesced_frames = 0; in __stmmac_get_coalesce() 937 ec->rx_max_coalesced_frames; in __stmmac_set_coalesce() 944 ec->rx_max_coalesced_frames; in __stmmac_set_coalesce()
|
/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_ethtool.c | 533 c->rx_max_coalesced_frames = thresh; in dpaa_get_coalesce() 551 thresh = c->rx_max_coalesced_frames; in dpaa_set_coalesce()
|
/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 625 ec->rx_max_coalesced_frames = reg & RDMA_INTR_THRESH_MASK; in bcm_sysport_get_coalesce() 647 ec->rx_max_coalesced_frames > RDMA_INTR_THRESH_MASK || in bcm_sysport_set_coalesce() 652 (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0)) in bcm_sysport_set_coalesce() 659 priv->rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in bcm_sysport_set_coalesce() 661 pkts = priv->rx_max_coalesced_frames; in bcm_sysport_set_coalesce() 1489 pkts = priv->rx_max_coalesced_frames; in bcm_sysport_init_rx_coalesce() 2603 priv->rx_max_coalesced_frames = 1; in bcm_sysport_probe()
|
/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 272 cvals->rx_max_coalesced_frames = rxcount; in gfar_gcoalesce() 305 if (cvals->rx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce() 329 (cvals->rx_max_coalesced_frames == 0)) { in gfar_scoalesce() 339 cvals->rx_max_coalesced_frames, in gfar_scoalesce()
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_ethtool.c | 1094 ec->rx_max_coalesced_frames = nn->rx_coalesce_max_frames; in nfp_net_get_coalesce() 1370 if (!ec->rx_coalesce_usecs && !ec->rx_max_coalesced_frames) in nfp_net_set_coalesce() 1377 ec->rx_max_coalesced_frames)) in nfp_net_set_coalesce() 1389 nn->rx_coalesce_max_frames = ec->rx_max_coalesced_frames; in nfp_net_set_coalesce()
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_ethtool.c | 1239 cmd->rx_max_coalesced_frames = rx_coal->int_ql; in hns3_get_coalesce() 1327 if ((cmd->tx_max_coalesced_frames || cmd->rx_max_coalesced_frames) && in hns3_check_ql_coalesce_param() 1334 cmd->rx_max_coalesced_frames > ae_dev->dev_specs.int_ql_max) { in hns3_check_ql_coalesce_param() 1387 rx_vector->rx_group.coal.int_ql = cmd->rx_max_coalesced_frames; in hns3_set_coalesce_per_queue() 1437 rx_coal->int_ql = cmd->rx_max_coalesced_frames; in hns3_set_coalesce()
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_ethtool.c | 655 coal->rx_max_coalesced_frames = rx_intr_coal_info->pending_limt * in __hinic_get_coalesce() 668 coal->rx_max_coalesced_frames > COALESCE_MAX_PENDING_LIMIT || in is_coalesce_exceed_limit() 758 if (coal->rx_coalesce_usecs || coal->rx_max_coalesced_frames) { in __hinic_set_coalesce() 761 rx_intr_coal.pending_limt = (u8)(coal->rx_max_coalesced_frames / in __hinic_set_coalesce()
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 445 ec->rx_max_coalesced_frames = pdata->rx_frames; in xgbe_get_coalesce() 464 rx_frames = ec->rx_max_coalesced_frames; in xgbe_set_coalesce()
|
/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 842 ec->rx_max_coalesced_frames = in bcmgenet_get_coalesce() 880 ring->rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in bcmgenet_set_ring_rx_coalesce() 882 pkts = ring->rx_max_coalesced_frames; in bcmgenet_set_ring_rx_coalesce() 908 ec->rx_max_coalesced_frames > DMA_INTR_THRESHOLD_MASK || in bcmgenet_set_coalesce() 912 if (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0) in bcmgenet_set_coalesce() 2569 pkts = ring->rx_max_coalesced_frames; in bcmgenet_init_rx_coalesce() 4087 priv->rx_rings[i].rx_max_coalesced_frames = 1; in bcmgenet_probe() 4088 priv->rx_rings[DESC_INDEX].rx_max_coalesced_frames = 1; in bcmgenet_probe()
|
D | bcmgenet.h | 553 u32 rx_max_coalesced_frames; member
|
/drivers/net/ethernet/freescale/enetc/ |
D | enetc_ethtool.c | 599 ic->rx_max_coalesced_frames = ENETC_RXIC_PKTTHR; in enetc_get_coalesce() 619 if (ic->rx_max_coalesced_frames != ENETC_RXIC_PKTTHR) in enetc_set_coalesce()
|
/drivers/net/ethernet/xilinx/ |
D | ll_temac_main.c | 1321 ec->rx_max_coalesced_frames = lp->coalesce_count_rx; in ll_temac_ethtools_get_coalesce() 1342 if (ec->rx_max_coalesced_frames) in ll_temac_ethtools_set_coalesce() 1343 lp->coalesce_count_rx = ec->rx_max_coalesced_frames; in ll_temac_ethtools_set_coalesce()
|
/drivers/net/ethernet/ni/ |
D | nixge.c | 1008 ecoalesce->rx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce() 1030 if (ecoalesce->rx_max_coalesced_frames) in nixge_ethtools_set_coalesce() 1031 priv->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 525 coal->rx_max_coalesced_frames = rx_moder->pkts; in mlx5e_ethtool_get_coalesce() 579 coal->rx_max_coalesced_frames); in mlx5e_set_priv_channels_rx_coalesce() 604 coal->rx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES) { in mlx5e_ethtool_set_coalesce() 615 rx_moder->pkts = coal->rx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
|
/drivers/net/ethernet/socionext/ |
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() 2092 priv->et_coalesce.rx_max_coalesced_frames = 8; in netsec_probe()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 1012 coal->rx_max_coalesced_frames = priv->rx_frames; in mlx4_en_get_coalesce() 1044 coal->rx_max_coalesced_frames > MLX4_EN_MAX_COAL_PKTS) { in mlx4_en_set_coalesce() 1050 priv->rx_frames = (coal->rx_max_coalesced_frames == in mlx4_en_set_coalesce() 1053 coal->rx_max_coalesced_frames; in mlx4_en_set_coalesce()
|