Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_ethtool.c2135 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 Docteon_device.h589 u32 rx_max_coalesced_frames; member
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_ethtool.c1205 ec->rx_max_coalesced_frames = in vmxnet3_get_coalesce()
1238 (ec->rx_max_coalesced_frames == 0)) { in vmxnet3_set_coalesce()
1249 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce()
1267 ec->rx_max_coalesced_frames != 0) { in vmxnet3_set_coalesce()
1276 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce()
1279 (ec->rx_max_coalesced_frames > in vmxnet3_set_coalesce()
1293 (ec->rx_max_coalesced_frames ? in vmxnet3_set_coalesce()
1294 ec->rx_max_coalesced_frames : in vmxnet3_set_coalesce()
/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-ethtool.c158 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 Dotx2_ethtool.c459 cmd->rx_max_coalesced_frames = hw->cq_ecount_wait; in otx2_get_coalesce()
484 if (!ec->rx_max_coalesced_frames || !ec->tx_max_coalesced_frames) in otx2_set_coalesce()
527 ec->rx_max_coalesced_frames = clamp_t(u32, ec->rx_max_coalesced_frames, in otx2_set_coalesce()
535 if (hw->cq_ecount_wait == ec->rx_max_coalesced_frames) in otx2_set_coalesce()
538 hw->cq_ecount_wait = ec->rx_max_coalesced_frames; in otx2_set_coalesce()
540 hw->cq_ecount_wait = min_t(u16, ec->rx_max_coalesced_frames, in otx2_set_coalesce()
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c569 coal->rx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce()
574 coal->rx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce()
593 if (coal->rx_max_coalesced_frames > 1 || in aq_ethtool_set_coalesce()
599 if (!(coal->rx_max_coalesced_frames == !coal->rx_coalesce_usecs)) in aq_ethtool_set_coalesce()
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_ethtool.c473 coal->rx_max_coalesced_frames = fp->rx_coal_count; in fun_get_coalesce()
490 coal->rx_max_coalesced_frames > FUN_DB_INTCOAL_ENTRIES_M || in fun_set_coalesce()
491 (coal->rx_coalesce_usecs | coal->rx_max_coalesced_frames) == 0 || in fun_set_coalesce()
498 if ((coal->rx_max_coalesced_frames > 1 && !coal->rx_coalesce_usecs) || in fun_set_coalesce()
503 fp->rx_coal_count = coal->rx_max_coalesced_frames; in fun_set_coalesce()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c561 coal->rx_max_coalesced_frames = rx_moder->pkts; in mlx5e_ethtool_get_coalesce()
610 coal->rx_max_coalesced_frames = cur_moder.pkts; in mlx5e_ethtool_get_per_queue_coalesce()
613 coal->rx_max_coalesced_frames = c->rx_cq_moder.pkts; in mlx5e_ethtool_get_per_queue_coalesce()
719 coal->rx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES) { in mlx5e_ethtool_set_coalesce()
724 coal->rx_max_coalesced_frames); in mlx5e_ethtool_set_coalesce()
770 rx_moder->pkts = coal->rx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
833 coal->rx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES) { in mlx5e_ethtool_set_per_queue_coalesce()
864 c->rx_cq_moder.pkts = coal->rx_max_coalesced_frames; in mlx5e_ethtool_set_per_queue_coalesce()
868 coal->rx_max_coalesced_frames); in mlx5e_ethtool_set_per_queue_coalesce()
/linux/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c602 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()
2581 priv->rx_max_coalesced_frames = 1; in bcm_sysport_probe()
/linux/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c276 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 Dcoalesce.c222 coal->rx_max_coalesced_frames, supported) || in coalesce_fill_reply()
529 ethnl_update_u32(&coalesce.rx_max_coalesced_frames, in __ethnl_set_coalesce()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_ethtool.c656 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/amd/xgbe/
H A Dxgbe-ethtool.c439 ec->rx_max_coalesced_frames = pdata->rx_frames; in xgbe_get_coalesce()
458 rx_frames = ec->rx_max_coalesced_frames; in xgbe_set_coalesce()
/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.c2022 ecoalesce->rx_max_coalesced_frames = lp->coalesce_count_rx; in axienet_ethtools_get_coalesce()
2056 if (ecoalesce->rx_max_coalesced_frames > 255 || in axienet_ethtools_set_coalesce()
2062 if (!ecoalesce->rx_max_coalesced_frames || in axienet_ethtools_set_coalesce()
2068 if ((ecoalesce->rx_max_coalesced_frames > 1 && in axienet_ethtools_set_coalesce()
2077 lp->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames; in axienet_ethtools_set_coalesce()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c996 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/broadcom/genet/
H A Dbcmgenet.h554 u32 rx_max_coalesced_frames; member
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c1882 ec->rx_max_coalesced_frames = nn->rx_coalesce_max_frames; in nfp_net_get_coalesce()
2158 if (!ec->rx_coalesce_usecs && !ec->rx_max_coalesced_frames) { in nfp_net_set_coalesce()
2175 if (nfp_net_coalesce_para_check(ec->rx_max_coalesced_frames)) { in nfp_net_set_coalesce()
2195 nn->rx_coalesce_max_frames = ec->rx_max_coalesced_frames; in nfp_net_set_coalesce()
/linux/drivers/net/
H A Dvirtio_net.c5059 ec->rx_max_coalesced_frames != vi->intr_coal_rx.max_packets)) in virtnet_send_rx_notf_coal_cmds()
5090 coal_rx->rx_max_packets = cpu_to_le32(ec->rx_max_coalesced_frames); in virtnet_send_rx_notf_coal_cmds()
5099 vi->intr_coal_rx.max_packets = ec->rx_max_coalesced_frames; in virtnet_send_rx_notf_coal_cmds()
5103 vi->rq[i].intr_coal.max_packets = ec->rx_max_coalesced_frames; in virtnet_send_rx_notf_coal_cmds()
5141 ec->rx_max_coalesced_frames != max_packets)) { in virtnet_send_rx_notf_coal_vq_cmds()
5160 ec->rx_max_coalesced_frames); in virtnet_send_rx_notf_coal_vq_cmds()
5224 ec->rx_max_coalesced_frames != 1) in virtnet_coal_params_supported()
5303 ec->rx_max_coalesced_frames = vi->intr_coal_rx.max_packets; in virtnet_get_coalesce()
5306 ec->rx_max_coalesced_frames = 1; in virtnet_get_coalesce()
5362 ec->rx_max_coalesced_frames = vi->rq[queue].intr_coal.max_packets; in virtnet_get_per_queue_coalesce()
[all …]
H A Dtun.c3638 ec->rx_max_coalesced_frames = tun->rx_batched; in tun_get_coalesce()
3650 if (ec->rx_max_coalesced_frames > NAPI_POLL_WEIGHT) in tun_set_coalesce()
3653 tun->rx_batched = ec->rx_max_coalesced_frames; in tun_set_coalesce()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_ethtool.c771 ic->rx_max_coalesced_frames = ENETC_RXIC_PKTTHR; in enetc_get_coalesce()
792 if (ic->rx_max_coalesced_frames != ENETC_RXIC_PKTTHR) in enetc_set_coalesce()
/linux/drivers/net/ethernet/
H A Djme.c2400 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/include/uapi/linux/
H A Dethtool.h476 __u32 rx_max_coalesced_frames; member
/linux/drivers/net/ethernet/tehuti/
H A Dtehuti.c2163 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 Dcxgb4_ethtool.c1163 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/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c1663 coalesce->rx_max_coalesced_frames = in cxgb4vf_get_coalesce()
1686 coalesce->rx_max_coalesced_frames); in cxgb4vf_set_coalesce()

12