Home
last modified time | relevance | path

Searched refs:rx_desc_count (Results 1 – 17 of 17) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/marvell/
Dpxa168_eth.c231 int rx_desc_count; member
310 while (pep->rx_desc_count < pep->rx_ring_size) { in rxq_refill()
318 pep->rx_desc_count++; in rxq_refill()
348 if (pep->rx_desc_count == 0) { in rxq_refill()
796 pep->rx_desc_count--; in rxq_process()
1032 pep->rx_desc_count = 0; in rxq_init()
1063 for (curr = 0; pep->rx_desc_count && curr < pep->rx_ring_size; curr++) { in rxq_deinit()
1066 pep->rx_desc_count--; in rxq_deinit()
1069 if (pep->rx_desc_count) in rxq_deinit()
1071 pep->rx_desc_count); in rxq_deinit()
Dmv643xx_eth.c329 int rx_desc_count; member
512 while (rx < budget && rxq->rx_desc_count) { in rxq_process()
534 rxq->rx_desc_count--; in rxq_process()
603 while (refilled < budget && rxq->rx_desc_count < rxq->rx_ring_size) { in rxq_refill()
620 rxq->rx_desc_count++; in rxq_refill()
1948 rxq->rx_desc_count = 0; in rxq_init()
2014 rxq->rx_desc_count--; in rxq_deinit()
2018 if (rxq->rx_desc_count) { in rxq_deinit()
2020 rxq->rx_desc_count); in rxq_deinit()
/linux-5.19.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-common.c119 pdata->rx_desc_count = XLGMAC_RX_DESC_CNT; in xlgmac_init()
120 if (pdata->rx_desc_count & (pdata->rx_desc_count - 1)) { in xlgmac_init()
122 pdata->rx_desc_count); in xlgmac_init()
Ddwc-xlgmac-ethtool.c182 (rx_frames > pdata->rx_desc_count)) in xlgmac_ethtool_set_coalesce()
Ddwc-xlgmac.h569 unsigned int rx_desc_count; member
Ddwc-xlgmac-desc.c197 pdata->rx_desc_count); in xlgmac_alloc_rings()
/linux-5.19.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c469 if (rx_frames > pdata->rx_desc_count) { in xgbe_set_coalesce()
471 pdata->rx_desc_count); in xgbe_set_coalesce()
632 ringparam->rx_pending = pdata->rx_desc_count; in xgbe_get_ringparam()
677 if ((rx == pdata->rx_desc_count) && in xgbe_set_ringparam()
681 pdata->rx_desc_count = rx; in xgbe_set_ringparam()
Dxgbe-main.c309 pdata->rx_desc_count = XGBE_RX_DESC_CNT; in xgbe_config_netdev()
Dxgbe-desc.c269 pdata->rx_desc_count); in xgbe_alloc_ring_resources()
Dxgbe.h1117 unsigned int rx_desc_count; member
/linux-5.19.10/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.h225 int rx_desc_count; member
Dbcm63xx_enet.c229 while (priv->rx_desc_count < priv->rx_ring_size) { in bcm_enet_refill_rx()
264 priv->rx_desc_count++; in bcm_enet_refill_rx()
275 if (priv->rx_desc_count == 0 && netif_running(dev)) { in bcm_enet_refill_rx()
314 if (budget > priv->rx_desc_count) in bcm_enet_receive_queue()
315 budget = priv->rx_desc_count; in bcm_enet_receive_queue()
409 priv->rx_desc_count -= processed; in bcm_enet_receive_queue()
411 if (processed || !priv->rx_desc_count) { in bcm_enet_receive_queue()
1004 priv->rx_desc_count = 0; in bcm_enet_open()
2176 priv->rx_desc_count = 0; in bcm_enetsw_open()
/linux-5.19.10/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c609 ring->rx_pending = adapter->rx_desc_count; in iavf_get_ringparam()
656 (new_rx_count == adapter->rx_desc_count)) { in iavf_set_ringparam()
667 if (new_rx_count != adapter->rx_desc_count) { in iavf_set_ringparam()
669 adapter->rx_desc_count, new_rx_count); in iavf_set_ringparam()
670 adapter->rx_desc_count = new_rx_count; in iavf_set_ringparam()
Diavf.h274 u32 rx_desc_count; member
Diavf_main.c1461 rx_ring->count = adapter->rx_desc_count; in iavf_alloc_queues()
2449 adapter->rx_desc_count = IAVF_DEFAULT_RXD; in iavf_init_config_adapter()
3235 adapter->rx_rings[i].count = adapter->rx_desc_count; in iavf_setup_all_rx_resources()
/linux-5.19.10/drivers/net/wireless/atmel/
Datmel.c489 u16 rx_desc_count; member
1057 i < priv->host_info.rx_desc_count; in rx_done_irq()
1147 if (priv->rx_desc_head < (priv->host_info.rx_desc_count - 1)) in rx_done_irq()
3656 iface->rx_desc_count = le16_to_cpu(iface->rx_desc_count); in atmel_wakeup_firmware()
/linux-5.19.10/drivers/net/ethernet/neterion/
Ds2io.c5471 int i, tx_desc_count = 0, rx_desc_count = 0; in s2io_ethtool_gringparam() local
5484 rx_desc_count += sp->config.rx_cfg[i].num_rxd; in s2io_ethtool_gringparam()
5485 ering->rx_pending = rx_desc_count; in s2io_ethtool_gringparam()
5486 ering->rx_jumbo_pending = rx_desc_count; in s2io_ethtool_gringparam()