Home
last modified time | relevance | path

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

12

/drivers/infiniband/ulp/ipoib/
A Dipoib_ethtool.c82 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/net/ethernet/cavium/liquidio/
A Dlio_ethtool.c2136 oct->rx_max_coalesced_frames; in lio_get_intr_coalesce()
2232 u32 rx_max_coalesced_frames; in oct_cfg_rx_intrcnt() local
2244 rx_max_coalesced_frames = in oct_cfg_rx_intrcnt()
2247 rx_max_coalesced_frames); in oct_cfg_rx_intrcnt()
2257 rx_max_coalesced_frames = in oct_cfg_rx_intrcnt()
2266 (rx_max_coalesced_frames - 1)); in oct_cfg_rx_intrcnt()
2270 oct->rx_max_coalesced_frames = rx_max_coalesced_frames; in oct_cfg_rx_intrcnt()
2279 rx_max_coalesced_frames = in oct_cfg_rx_intrcnt()
2287 (rx_max_coalesced_frames - 1)); in oct_cfg_rx_intrcnt()
2291 oct->rx_max_coalesced_frames = rx_max_coalesced_frames; in oct_cfg_rx_intrcnt()
[all …]
A Docteon_device.h589 u32 rx_max_coalesced_frames; member
/drivers/net/vmxnet3/
A Dvmxnet3_ethtool.c1180 ec->rx_max_coalesced_frames = in vmxnet3_get_coalesce()
1213 (ec->rx_max_coalesced_frames == 0)) { in vmxnet3_set_coalesce()
1224 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce()
1242 ec->rx_max_coalesced_frames != 0) { in vmxnet3_set_coalesce()
1251 (ec->rx_max_coalesced_frames != 0)) { in vmxnet3_set_coalesce()
1254 (ec->rx_max_coalesced_frames > in vmxnet3_set_coalesce()
1268 (ec->rx_max_coalesced_frames ? in vmxnet3_set_coalesce()
1269 ec->rx_max_coalesced_frames : in vmxnet3_set_coalesce()
/drivers/net/ethernet/synopsys/
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()
/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_ethtool.c460 cmd->rx_max_coalesced_frames = hw->cq_ecount_wait; in otx2_get_coalesce()
485 if (!ec->rx_max_coalesced_frames || !ec->tx_max_coalesced_frames) in otx2_set_coalesce()
528 ec->rx_max_coalesced_frames = clamp_t(u32, ec->rx_max_coalesced_frames, in otx2_set_coalesce()
536 if (hw->cq_ecount_wait == ec->rx_max_coalesced_frames) in otx2_set_coalesce()
539 hw->cq_ecount_wait = ec->rx_max_coalesced_frames; in otx2_set_coalesce()
541 hw->cq_ecount_wait = min_t(u16, ec->rx_max_coalesced_frames, in otx2_set_coalesce()
/drivers/net/ethernet/aquantia/atlantic/
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()
/drivers/net/ethernet/qlogic/netxen/
A Dnetxen_nic_ethtool.c755 ethcoal->rx_max_coalesced_frames > 0xffff || in netxen_set_intr_coalesce()
761 !ethcoal->rx_max_coalesced_frames) { in netxen_set_intr_coalesce()
772 ethcoal->rx_max_coalesced_frames; in netxen_set_intr_coalesce()
798 ethcoal->rx_max_coalesced_frames = in netxen_get_intr_coalesce()
/drivers/net/ethernet/fungible/funeth/
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()
/drivers/net/ethernet/mellanox/mlx5/core/
A Den_ethtool.c604 coal->rx_max_coalesced_frames = rx_moder->pkts; in mlx5e_ethtool_get_coalesce()
653 coal->rx_max_coalesced_frames = cur_moder.pkts; in mlx5e_ethtool_get_per_queue_coalesce()
656 coal->rx_max_coalesced_frames = c->rx_cq_moder.pkts; in mlx5e_ethtool_get_per_queue_coalesce()
762 coal->rx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES) { in mlx5e_ethtool_set_coalesce()
767 coal->rx_max_coalesced_frames); in mlx5e_ethtool_set_coalesce()
813 rx_moder->pkts = coal->rx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
876 coal->rx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES) { in mlx5e_ethtool_set_per_queue_coalesce()
907 c->rx_cq_moder.pkts = coal->rx_max_coalesced_frames; in mlx5e_ethtool_set_per_queue_coalesce()
911 coal->rx_max_coalesced_frames); in mlx5e_ethtool_set_per_queue_coalesce()
/drivers/net/ethernet/freescale/dpaa/
A Ddpaa_ethtool.c407 c->rx_max_coalesced_frames = thresh; in dpaa_get_coalesce()
429 thresh = c->rx_max_coalesced_frames; in dpaa_set_coalesce()
/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_ethtool.c925 ec->rx_max_coalesced_frames = priv->rx_coal_frames[queue]; in __stmmac_get_coalesce()
929 ec->rx_max_coalesced_frames = 0; in __stmmac_get_coalesce()
984 ec->rx_max_coalesced_frames; in __stmmac_set_coalesce()
991 ec->rx_max_coalesced_frames; in __stmmac_set_coalesce()
/drivers/net/ethernet/broadcom/
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()
/drivers/net/ethernet/freescale/
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()
/drivers/net/ethernet/huawei/hinic/
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()
/drivers/net/ethernet/amd/xgbe/
A Dxgbe-ethtool.c330 ec->rx_max_coalesced_frames = pdata->rx_frames; in xgbe_get_coalesce()
349 rx_frames = ec->rx_max_coalesced_frames; in xgbe_set_coalesce()
/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_ethtool.c1379 cmd->rx_max_coalesced_frames = rx_coal->int_ql; in hns3_get_coalesce()
1467 if ((cmd->tx_max_coalesced_frames || cmd->rx_max_coalesced_frames) && in hns3_check_ql_coalesce_param()
1474 cmd->rx_max_coalesced_frames > ae_dev->dev_specs.int_ql_max) { in hns3_check_ql_coalesce_param()
1549 rx_vector->rx_group.coal.int_ql = cmd->rx_max_coalesced_frames; in hns3_set_coalesce_per_queue()
1599 rx_coal->int_ql = cmd->rx_max_coalesced_frames; in hns3_set_coalesce()
/drivers/net/ethernet/xilinx/
A Dll_temac_main.c1331 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()
A Dxilinx_axienet_main.c2179 &ecoalesce->rx_max_coalesced_frames, in axienet_ethtools_get_coalesce()
2215 if (ecoalesce->rx_max_coalesced_frames > 255 || in axienet_ethtools_set_coalesce()
2221 if (!ecoalesce->rx_max_coalesced_frames || in axienet_ethtools_set_coalesce()
2227 if (((ecoalesce->rx_max_coalesced_frames > 1 || new_dim) && in axienet_ethtools_set_coalesce()
2246 cr = axienet_calc_cr(lp, ecoalesce->rx_max_coalesced_frames, in axienet_ethtools_set_coalesce()
/drivers/net/ethernet/ni/
A Dnixge.c1007 ecoalesce->rx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce()
1029 if (ecoalesce->rx_max_coalesced_frames) in nixge_ethtools_set_coalesce()
1030 priv->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
/drivers/net/ethernet/broadcom/genet/
A Dbcmgenet.c839 ec->rx_max_coalesced_frames = in bcmgenet_get_coalesce()
874 ring->rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in bcmgenet_set_ring_rx_coalesce()
876 pkts = ring->rx_max_coalesced_frames; in bcmgenet_set_ring_rx_coalesce()
902 ec->rx_max_coalesced_frames > DMA_INTR_THRESHOLD_MASK || in bcmgenet_set_coalesce()
906 if (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0) in bcmgenet_set_coalesce()
2691 pkts = ring->rx_max_coalesced_frames; in bcmgenet_init_rx_coalesce()
4093 priv->rx_rings[i].rx_max_coalesced_frames = 1; in bcmgenet_probe()
A Dbcmgenet.h576 u32 rx_max_coalesced_frames; member
/drivers/net/ethernet/socionext/
A Dnetsec.c569 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()
/drivers/net/ethernet/mellanox/mlx4/
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()
/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_ethtool.c1881 ec->rx_max_coalesced_frames = nn->rx_coalesce_max_frames; in nfp_net_get_coalesce()
2157 if (!ec->rx_coalesce_usecs && !ec->rx_max_coalesced_frames) { in nfp_net_set_coalesce()
2174 if (nfp_net_coalesce_para_check(ec->rx_max_coalesced_frames)) { in nfp_net_set_coalesce()
2194 nn->rx_coalesce_max_frames = ec->rx_max_coalesced_frames; in nfp_net_set_coalesce()

Completed in 91 milliseconds

12