/drivers/staging/qlge/ |
D | qlge_ethtool.c | 200 le16_to_cpu(cqicb->pkt_delay) != qdev->tx_max_coalesced_frames) { in qlge_update_ring_coalescing() 206 cpu_to_le16(qdev->tx_max_coalesced_frames); in qlge_update_ring_coalescing() 645 c->tx_max_coalesced_frames = qdev->tx_max_coalesced_frames; in qlge_get_coalesce() 665 if (c->tx_max_coalesced_frames > MAX_INTER_FRAME_WAIT) in qlge_set_coalesce() 672 qdev->tx_max_coalesced_frames == c->tx_max_coalesced_frames) in qlge_set_coalesce() 678 qdev->tx_max_coalesced_frames = c->tx_max_coalesced_frames; in qlge_set_coalesce()
|
/drivers/s390/net/ |
D | qeth_ethtool.c | 117 WRITE_ONCE(queue->max_coalesced_frames, coal->tx_max_coalesced_frames); in __qeth_set_coalesce() 137 if (!coal->tx_coalesce_usecs && !coal->tx_max_coalesced_frames) in qeth_set_coalesce() 304 coal->tx_max_coalesced_frames = queue->max_coalesced_frames; in qeth_get_per_queue_coalesce() 319 if (!coal->tx_coalesce_usecs && !coal->tx_max_coalesced_frames) in qeth_set_per_queue_coalesce()
|
/drivers/net/vmxnet3/ |
D | vmxnet3_ethtool.c | 1203 ec->tx_max_coalesced_frames = in vmxnet3_get_coalesce() 1237 (ec->tx_max_coalesced_frames == 0) && in vmxnet3_set_coalesce() 1248 (ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce() 1266 if (ec->tx_max_coalesced_frames != 0 || in vmxnet3_set_coalesce() 1275 if ((ec->tx_max_coalesced_frames != 0) || in vmxnet3_set_coalesce() 1277 if ((ec->tx_max_coalesced_frames > in vmxnet3_set_coalesce() 1288 (ec->tx_max_coalesced_frames ? in vmxnet3_set_coalesce() 1289 ec->tx_max_coalesced_frames : in vmxnet3_set_coalesce()
|
/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-ethtool.c | 159 ec->tx_max_coalesced_frames = pdata->tx_frames; in xlgmac_ethtool_get_coalesce() 178 tx_frames = ec->tx_max_coalesced_frames; in xlgmac_ethtool_set_coalesce()
|
/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ethtool.c | 471 cmd->tx_max_coalesced_frames = hw->cq_ecount_wait; in otx2_get_coalesce() 494 if (!ec->rx_max_coalesced_frames || !ec->tx_max_coalesced_frames) in otx2_set_coalesce() 539 ec->tx_max_coalesced_frames = clamp_t(u32, ec->tx_max_coalesced_frames, in otx2_set_coalesce() 546 hw->cq_ecount_wait = ec->tx_max_coalesced_frames; in otx2_set_coalesce() 547 else if (hw->cq_ecount_wait == ec->tx_max_coalesced_frames) in otx2_set_coalesce() 551 ec->tx_max_coalesced_frames); in otx2_set_coalesce()
|
/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ethtool.c | 574 coal->tx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce() 579 coal->tx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce() 598 coal->tx_max_coalesced_frames > 1) in aq_ethtool_set_coalesce() 605 if (!(coal->tx_max_coalesced_frames == !coal->tx_coalesce_usecs)) in aq_ethtool_set_coalesce()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ethtool.c | 980 ec->tx_max_coalesced_frames = priv->tx_coal_frames[queue]; in __stmmac_get_coalesce() 983 ec->tx_max_coalesced_frames = 0; in __stmmac_get_coalesce() 1058 (ec->tx_max_coalesced_frames == 0)) in __stmmac_set_coalesce() 1062 (ec->tx_max_coalesced_frames > STMMAC_TX_MAX_FRAMES)) in __stmmac_set_coalesce() 1070 ec->tx_max_coalesced_frames; in __stmmac_set_coalesce() 1076 ec->tx_max_coalesced_frames; in __stmmac_set_coalesce()
|
/drivers/net/ethernet/fungible/funeth/ |
D | funeth_ethtool.c | 476 coal->tx_max_coalesced_frames = fp->tx_coal_count; in fun_get_coalesce() 493 coal->tx_max_coalesced_frames > FUN_DB_INTCOAL_ENTRIES_M || in fun_set_coalesce() 494 (coal->tx_coalesce_usecs | coal->tx_max_coalesced_frames) == 0) in fun_set_coalesce() 499 (coal->tx_max_coalesced_frames > 1 && !coal->tx_coalesce_usecs)) in fun_set_coalesce() 505 fp->tx_coal_count = coal->tx_max_coalesced_frames; in fun_set_coalesce()
|
/drivers/net/ethernet/hisilicon/ |
D | hip04_eth.c | 806 ec->tx_max_coalesced_frames = priv->tx_coalesce_frames; in hip04_get_coalesce() 820 (ec->tx_max_coalesced_frames > HIP04_MAX_TX_COALESCE_FRAMES || in hip04_set_coalesce() 821 ec->tx_max_coalesced_frames < HIP04_MIN_TX_COALESCE_FRAMES)) in hip04_set_coalesce() 825 priv->tx_coalesce_frames = ec->tx_max_coalesced_frames; in hip04_set_coalesce()
|
/drivers/net/ethernet/cavium/liquidio/ |
D | lio_ethtool.c | 2137 intr_coal->tx_max_coalesced_frames = in lio_get_intr_coalesce() 2138 oct->tx_max_coalesced_frames; in lio_get_intr_coalesce() 2153 intr_coal->tx_max_coalesced_frames = iq->fill_threshold; in lio_get_intr_coalesce() 2395 if (!intr_coal->tx_max_coalesced_frames) in oct_cfg_tx_intrcnt() 2399 iq_intr_pkt = intr_coal->tx_max_coalesced_frames & in oct_cfg_tx_intrcnt() 2412 oct->tx_max_coalesced_frames = iq_intr_pkt; in oct_cfg_tx_intrcnt() 2438 if ((intr_coal->tx_max_coalesced_frames >= db_min) && in lio_set_intr_coalesce() 2439 (intr_coal->tx_max_coalesced_frames <= db_max)) { in lio_set_intr_coalesce() 2443 intr_coal->tx_max_coalesced_frames; in lio_set_intr_coalesce() 2448 intr_coal->tx_max_coalesced_frames, in lio_set_intr_coalesce() [all …]
|
D | octeon_device.h | 590 u32 tx_max_coalesced_frames; member
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_ethtool.c | 757 ethcoal->tx_max_coalesced_frames > 0xffff) in netxen_set_intr_coalesce() 776 ethcoal->tx_max_coalesced_frames; in netxen_set_intr_coalesce() 800 ethcoal->tx_max_coalesced_frames = in netxen_get_intr_coalesce()
|
/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 277 cvals->tx_max_coalesced_frames = txcount; in gfar_gcoalesce() 320 if (cvals->tx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce() 347 (cvals->tx_max_coalesced_frames == 0)) { in gfar_scoalesce() 357 cvals->tx_max_coalesced_frames, in gfar_scoalesce()
|
/drivers/net/ |
D | virtio_net.c | 3303 vi->ctrl->coal_tx.tx_max_packets = cpu_to_le32(ec->tx_max_coalesced_frames); in virtnet_send_notf_coal_cmds() 3313 vi->intr_coal_tx.max_packets = ec->tx_max_coalesced_frames; in virtnet_send_notf_coal_cmds() 3316 vi->sq[i].intr_coal.max_packets = ec->tx_max_coalesced_frames; in virtnet_send_notf_coal_cmds() 3374 ec->tx_max_coalesced_frames); in virtnet_send_notf_coal_vq_cmds() 3379 vi->sq[queue].intr_coal.max_packets = ec->tx_max_coalesced_frames; in virtnet_send_notf_coal_vq_cmds() 3392 if (ec->tx_max_coalesced_frames > 1 || in virtnet_coal_params_supported() 3421 napi_weight = ec->tx_max_coalesced_frames ? NAPI_POLL_WEIGHT : 0; in virtnet_set_coalesce() 3463 ec->tx_max_coalesced_frames = vi->intr_coal_tx.max_packets; in virtnet_get_coalesce() 3469 ec->tx_max_coalesced_frames = 1; in virtnet_get_coalesce() 3487 napi_weight = ec->tx_max_coalesced_frames ? NAPI_POLL_WEIGHT : 0; in virtnet_set_per_queue_coalesce() [all …]
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_ethtool.c | 660 coal->tx_max_coalesced_frames = tx_intr_coal_info->pending_limt * in __hinic_get_coalesce() 671 coal->tx_max_coalesced_frames > COALESCE_MAX_PENDING_LIMIT) in is_coalesce_exceed_limit() 767 if (coal->tx_coalesce_usecs || coal->tx_max_coalesced_frames) { in __hinic_set_coalesce() 770 tx_intr_coal.pending_limt = (u8)(coal->tx_max_coalesced_frames / in __hinic_set_coalesce()
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 445 ec->tx_max_coalesced_frames = pdata->tx_frames; in xgbe_get_coalesce() 480 tx_frames = ec->tx_max_coalesced_frames; in xgbe_set_coalesce()
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_ethtool.c | 1379 cmd->tx_max_coalesced_frames = tx_coal->int_ql; in hns3_get_coalesce() 1468 if ((cmd->tx_max_coalesced_frames || cmd->rx_max_coalesced_frames) && in hns3_check_ql_coalesce_param() 1474 if (cmd->tx_max_coalesced_frames > ae_dev->dev_specs.int_ql_max || in hns3_check_ql_coalesce_param() 1549 tx_vector->tx_group.coal.int_ql = cmd->tx_max_coalesced_frames; in hns3_set_coalesce_per_queue() 1599 tx_coal->int_ql = cmd->tx_max_coalesced_frames; in hns3_set_coalesce()
|
/drivers/net/ethernet/xilinx/ |
D | ll_temac_main.c | 1332 ec->tx_max_coalesced_frames = lp->coalesce_count_tx; in ll_temac_ethtools_get_coalesce() 1354 if (ec->tx_max_coalesced_frames) in ll_temac_ethtools_set_coalesce() 1355 lp->coalesce_count_tx = ec->tx_max_coalesced_frames; in ll_temac_ethtools_set_coalesce()
|
D | xilinx_axienet_main.c | 1529 ecoalesce->tx_max_coalesced_frames = lp->coalesce_count_tx; in axienet_ethtools_get_coalesce() 1565 if (ecoalesce->tx_max_coalesced_frames) in axienet_ethtools_set_coalesce() 1566 lp->coalesce_count_tx = ecoalesce->tx_max_coalesced_frames; in axienet_ethtools_set_coalesce()
|
/drivers/net/ethernet/ni/ |
D | nixge.c | 1011 ecoalesce->tx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce() 1032 if (ecoalesce->tx_max_coalesced_frames) in nixge_ethtools_set_coalesce() 1033 priv->coalesce_count_tx = ecoalesce->tx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_ethtool.c | 1508 ec->tx_max_coalesced_frames = nn->tx_coalesce_max_frames; in nfp_net_get_coalesce() 1785 if (!ec->tx_coalesce_usecs && !ec->tx_max_coalesced_frames) in nfp_net_set_coalesce() 1793 ec->tx_max_coalesced_frames)) in nfp_net_set_coalesce() 1803 nn->tx_coalesce_max_frames = ec->tx_max_coalesced_frames; in nfp_net_set_coalesce()
|
/drivers/net/ethernet/socionext/ |
D | netsec.c | 557 if (priv->et_coalesce.tx_max_coalesced_frames < 1) in netsec_et_set_coalesce() 558 priv->et_coalesce.tx_max_coalesced_frames = 1; in netsec_et_set_coalesce() 561 priv->et_coalesce.tx_max_coalesced_frames); in netsec_et_set_coalesce() 2087 priv->et_coalesce.tx_max_coalesced_frames = 8; in netsec_probe()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 1011 coal->tx_max_coalesced_frames = priv->tx_frames; in mlx4_en_get_coalesce() 1046 if (coal->tx_max_coalesced_frames > MLX4_EN_MAX_COAL_PKTS || in mlx4_en_set_coalesce() 1064 coal->tx_max_coalesced_frames != priv->tx_frames) { in mlx4_en_set_coalesce() 1066 priv->tx_frames = coal->tx_max_coalesced_frames; in mlx4_en_set_coalesce()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 537 coal->tx_max_coalesced_frames = tx_moder->pkts; in mlx5e_ethtool_get_coalesce() 575 coal->tx_max_coalesced_frames); in mlx5e_set_priv_channels_tx_coalesce() 627 if (coal->tx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES || in mlx5e_ethtool_set_coalesce() 650 tx_moder->pkts = coal->tx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ethtool.c | 762 &ec->tx_max_coalesced_frames, in hns_get_coalesce() 812 ec->tx_max_coalesced_frames, in hns_set_coalesce()
|