| /Linux-v5.10/drivers/infiniband/ulp/ipoib/ | 
| D | ipoib_ethtool.c | 80 	coal->rx_max_coalesced_frames = priv->ethtool.max_coalesced_frames;  in ipoib_get_coalesce() 96 	    coal->rx_max_coalesced_frames > 0xffff)  in ipoib_set_coalesce() 100 				     coal->rx_max_coalesced_frames,  in ipoib_set_coalesce() 108 	priv->ethtool.max_coalesced_frames = coal->rx_max_coalesced_frames;  in ipoib_set_coalesce()
  | 
| /Linux-v5.10/drivers/staging/qlge/ | 
| D | qlge_ethtool.c | 220 	    le16_to_cpu(cqicb->pkt_delay) != qdev->rx_max_coalesced_frames) {  in ql_update_ring_coalescing() 226 			    cpu_to_le16(qdev->rx_max_coalesced_frames);  in ql_update_ring_coalescing() 643 	c->rx_max_coalesced_frames = qdev->rx_max_coalesced_frames;  in ql_get_coalesce() 657 	if (c->rx_max_coalesced_frames > MAX_INTER_FRAME_WAIT)  in ql_set_coalesce() 667 	    qdev->rx_max_coalesced_frames == c->rx_max_coalesced_frames &&  in ql_set_coalesce() 673 	qdev->rx_max_coalesced_frames = c->rx_max_coalesced_frames;  in ql_set_coalesce()
  | 
| /Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/ | 
| D | otx2_ethtool.c | 357 	cmd->rx_max_coalesced_frames = hw->cq_ecount_wait;  in otx2_get_coalesce() 371 	if (!ec->rx_max_coalesced_frames || !ec->tx_max_coalesced_frames)  in otx2_set_coalesce() 396 	ec->rx_max_coalesced_frames = clamp_t(u32, ec->rx_max_coalesced_frames,  in otx2_set_coalesce() 404 	if (hw->cq_ecount_wait == ec->rx_max_coalesced_frames)  in otx2_set_coalesce() 407 		hw->cq_ecount_wait = ec->rx_max_coalesced_frames;  in otx2_set_coalesce() 409 		hw->cq_ecount_wait = min_t(u16, ec->rx_max_coalesced_frames,  in otx2_set_coalesce()
  | 
| /Linux-v5.10/drivers/net/ethernet/cavium/liquidio/ | 
| D | lio_ethtool.c | 2125 			intr_coal->rx_max_coalesced_frames =  in lio_get_intr_coalesce() 2126 				oct->rx_max_coalesced_frames;  in lio_get_intr_coalesce() 2141 			intr_coal->rx_max_coalesced_frames =  in lio_get_intr_coalesce() 2222 	u32 rx_max_coalesced_frames;  in oct_cfg_rx_intrcnt()  local 2231 		if (!intr_coal->rx_max_coalesced_frames)  in oct_cfg_rx_intrcnt() 2232 			rx_max_coalesced_frames = CN6XXX_OQ_INTR_PKT;  in oct_cfg_rx_intrcnt() 2234 			rx_max_coalesced_frames =  in oct_cfg_rx_intrcnt() 2235 				intr_coal->rx_max_coalesced_frames;  in oct_cfg_rx_intrcnt() 2237 				 rx_max_coalesced_frames);  in oct_cfg_rx_intrcnt() 2238 		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
  | 
| /Linux-v5.10/drivers/net/vmxnet3/ | 
| D | vmxnet3_ethtool.c | 1051 		ec->rx_max_coalesced_frames =  in vmxnet3_get_coalesce() 1082 	    (ec->rx_max_coalesced_frames == 0)) {  in vmxnet3_set_coalesce() 1093 		    (ec->rx_max_coalesced_frames != 0)) {  in vmxnet3_set_coalesce() 1112 		    (ec->rx_max_coalesced_frames != 0)) {  in vmxnet3_set_coalesce() 1121 	    (ec->rx_max_coalesced_frames != 0)) {  in vmxnet3_set_coalesce() 1129 		    (ec->rx_max_coalesced_frames >  in vmxnet3_set_coalesce() 1143 			(ec->rx_max_coalesced_frames ?  in vmxnet3_set_coalesce() 1144 			 ec->rx_max_coalesced_frames :  in vmxnet3_set_coalesce()
  | 
| /Linux-v5.10/drivers/net/ethernet/synopsys/ | 
| D | dwc-xlgmac-ethtool.c | 155 	ec->rx_max_coalesced_frames = pdata->rx_frames;  in xlgmac_ethtool_get_coalesce() 171 	rx_frames = ec->rx_max_coalesced_frames;  in xlgmac_ethtool_set_coalesce()
  | 
| /Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/ | 
| D | aq_ethtool.c | 561 		coal->rx_max_coalesced_frames = 0;  in aq_ethtool_get_coalesce() 566 		coal->rx_max_coalesced_frames = 1;  in aq_ethtool_get_coalesce() 583 	if (coal->rx_max_coalesced_frames > 1 ||  in aq_ethtool_set_coalesce() 589 	if (!(coal->rx_max_coalesced_frames == !coal->rx_coalesce_usecs))  in aq_ethtool_set_coalesce()
  | 
| /Linux-v5.10/net/ethtool/ | 
| D | coalesce.c | 133 			     coal->rx_max_coalesced_frames, supported) ||  in coalesce_fill_reply() 264 	ethnl_update_u32(&coalesce.rx_max_coalesced_frames,  in ethnl_set_coalesce()
  | 
| /Linux-v5.10/drivers/net/ethernet/qlogic/netxen/ | 
| D | netxen_nic_ethtool.c | 749 		ethcoal->rx_max_coalesced_frames > 0xffff ||  in netxen_set_intr_coalesce() 755 		!ethcoal->rx_max_coalesced_frames) {  in netxen_set_intr_coalesce() 766 		ethcoal->rx_max_coalesced_frames;  in netxen_set_intr_coalesce() 790 	ethcoal->rx_max_coalesced_frames =  in netxen_get_intr_coalesce()
  | 
| /Linux-v5.10/drivers/net/ethernet/freescale/dpaa/ | 
| D | dpaa_ethtool.c | 527 	c->rx_max_coalesced_frames = thresh;  in dpaa_get_coalesce() 543 	thresh = c->rx_max_coalesced_frames;  in dpaa_set_coalesce()
  | 
| /Linux-v5.10/drivers/net/ethernet/broadcom/ | 
| D | bcmsysport.c | 622 	ec->rx_max_coalesced_frames = reg & RDMA_INTR_THRESH_MASK;  in bcm_sysport_get_coalesce() 642 	    ec->rx_max_coalesced_frames > RDMA_INTR_THRESH_MASK ||  in bcm_sysport_set_coalesce() 647 	    (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0))  in bcm_sysport_set_coalesce() 654 	priv->rx_max_coalesced_frames = ec->rx_max_coalesced_frames;  in bcm_sysport_set_coalesce() 656 	pkts = priv->rx_max_coalesced_frames;  in bcm_sysport_set_coalesce() 1482 	pkts = priv->rx_max_coalesced_frames;  in bcm_sysport_init_rx_coalesce() 2599 	priv->rx_max_coalesced_frames = 1;  in bcm_sysport_probe()
  | 
| D | bcmsysport.h | 755 	u32			rx_max_coalesced_frames;  member
  | 
| /Linux-v5.10/drivers/net/ethernet/netronome/nfp/ | 
| D | nfp_net_ethtool.c | 1098 	ec->rx_max_coalesced_frames = nn->rx_coalesce_max_frames;  in nfp_net_get_coalesce() 1367 	if (!ec->rx_coalesce_usecs && !ec->rx_max_coalesced_frames)  in nfp_net_set_coalesce() 1379 	if (ec->rx_max_coalesced_frames >= ((1 << 16) - 1))  in nfp_net_set_coalesce() 1387 	nn->rx_coalesce_max_frames = ec->rx_max_coalesced_frames;  in nfp_net_set_coalesce()
  | 
| /Linux-v5.10/drivers/net/ethernet/freescale/ | 
| D | gianfar_ethtool.c | 270 	cvals->rx_max_coalesced_frames = rxcount;  in gfar_gcoalesce() 301 	if (cvals->rx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) {  in gfar_scoalesce() 325 	    (cvals->rx_max_coalesced_frames == 0)) {  in gfar_scoalesce() 335 			cvals->rx_max_coalesced_frames,  in gfar_scoalesce()
  | 
| /Linux-v5.10/drivers/net/ethernet/freescale/enetc/ | 
| D | enetc_ethtool.c | 580 	ic->rx_max_coalesced_frames = ENETC_RXIC_PKTTHR;  in enetc_get_coalesce() 598 	if (ic->rx_max_coalesced_frames != ENETC_RXIC_PKTTHR)  in enetc_set_coalesce()
  | 
| /Linux-v5.10/drivers/net/ethernet/amd/xgbe/ | 
| D | xgbe-ethtool.c | 438 	ec->rx_max_coalesced_frames = pdata->rx_frames;  in xgbe_get_coalesce() 455 	rx_frames = ec->rx_max_coalesced_frames;  in xgbe_set_coalesce()
  | 
| /Linux-v5.10/drivers/net/ethernet/huawei/hinic/ | 
| D | hinic_ethtool.c | 660 	coal->rx_max_coalesced_frames = rx_intr_coal_info->pending_limt *  in __hinic_get_coalesce() 673 	    coal->rx_max_coalesced_frames > COALESCE_MAX_PENDING_LIMIT ||  in is_coalesce_exceed_limit() 763 	if (coal->rx_coalesce_usecs || coal->rx_max_coalesced_frames) {  in __hinic_set_coalesce() 766 		rx_intr_coal.pending_limt = (u8)(coal->rx_max_coalesced_frames /  in __hinic_set_coalesce()
  | 
| /Linux-v5.10/drivers/net/ethernet/broadcom/genet/ | 
| D | bcmgenet.c | 840 	ec->rx_max_coalesced_frames =  in bcmgenet_get_coalesce() 878 	ring->rx_max_coalesced_frames = ec->rx_max_coalesced_frames;  in bcmgenet_set_ring_rx_coalesce() 880 	pkts = ring->rx_max_coalesced_frames;  in bcmgenet_set_ring_rx_coalesce() 904 	    ec->rx_max_coalesced_frames > DMA_INTR_THRESHOLD_MASK ||  in bcmgenet_set_coalesce() 908 	if (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0)  in bcmgenet_set_coalesce() 2548 	pkts = ring->rx_max_coalesced_frames;  in bcmgenet_init_rx_coalesce() 4062 		priv->rx_rings[i].rx_max_coalesced_frames = 1;  in bcmgenet_probe() 4063 	priv->rx_rings[DESC_INDEX].rx_max_coalesced_frames = 1;  in bcmgenet_probe()
  | 
| D | bcmgenet.h | 608 	u32		rx_max_coalesced_frames;  member
  | 
| /Linux-v5.10/drivers/net/ethernet/ni/ | 
| D | nixge.c | 1003 	ecoalesce->rx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK)  in nixge_ethtools_get_coalesce() 1022 	if (ecoalesce->rx_max_coalesced_frames)  in nixge_ethtools_set_coalesce() 1023 		priv->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames;  in nixge_ethtools_set_coalesce()
  | 
| /Linux-v5.10/drivers/net/ethernet/xilinx/ | 
| D | ll_temac_main.c | 1299 	ec->rx_max_coalesced_frames = lp->coalesce_count_rx;  in ll_temac_ethtools_get_coalesce() 1317 	if (ec->rx_max_coalesced_frames)  in ll_temac_ethtools_set_coalesce() 1318 		lp->coalesce_count_rx = ec->rx_max_coalesced_frames;  in ll_temac_ethtools_set_coalesce()
  | 
| /Linux-v5.10/drivers/net/ethernet/socionext/ | 
| D | netsec.c | 565 	if (priv->et_coalesce.rx_max_coalesced_frames < 1)  in netsec_et_set_coalesce() 566 		priv->et_coalesce.rx_max_coalesced_frames = 1;  in netsec_et_set_coalesce() 569 		     priv->et_coalesce.rx_max_coalesced_frames);  in netsec_et_set_coalesce() 2070 	priv->et_coalesce.rx_max_coalesced_frames = 8;  in netsec_probe()
  | 
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ | 
| D | en_ethtool.c | 496 	coal->rx_max_coalesced_frames	= rx_moder->pkts;  in mlx5e_ethtool_get_coalesce() 537 					       coal->rx_max_coalesced_frames);  in mlx5e_set_priv_channels_coalesce() 561 	    coal->rx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES) {  in mlx5e_ethtool_set_coalesce() 572 	rx_moder->pkts    = coal->rx_max_coalesced_frames;  in mlx5e_ethtool_set_coalesce()
  | 
| /Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/ | 
| D | stmmac_ethtool.c | 764 		ec->rx_max_coalesced_frames = priv->rx_coal_frames;  in stmmac_get_coalesce() 799 	priv->rx_coal_frames = ec->rx_max_coalesced_frames;  in stmmac_set_coalesce()
  |