Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
1033 pep->rx_desc_count = 0; in rxq_init()
1064 for (curr = 0; pep->rx_desc_count && curr < pep->rx_ring_size; curr++) { in rxq_deinit()
1067 pep->rx_desc_count--; in rxq_deinit()
1070 if (pep->rx_desc_count) in rxq_deinit()
1072 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()
1938 rxq->rx_desc_count = 0; in rxq_init()
2004 rxq->rx_desc_count--; in rxq_deinit()
2008 if (rxq->rx_desc_count) { in rxq_deinit()
2010 rxq->rx_desc_count); in rxq_deinit()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c594 ring->rx_pending = adapter->rx_desc_count; in iavf_get_ringparam()
637 (new_rx_count == adapter->rx_desc_count)) { in iavf_set_ringparam()
648 if (new_rx_count != adapter->rx_desc_count) { in iavf_set_ringparam()
650 adapter->rx_desc_count, new_rx_count); in iavf_set_ringparam()
651 adapter->rx_desc_count = new_rx_count; in iavf_set_ringparam()
Diavf.h251 u32 rx_desc_count; member
Diavf_main.c1156 rx_ring->count = adapter->rx_desc_count; in iavf_alloc_queues()
1824 adapter->rx_desc_count = IAVF_DEFAULT_RXD; in iavf_init_get_resources()
2477 adapter->rx_rings[i].count = adapter->rx_desc_count; in iavf_setup_all_rx_resources()
/kernel/linux/linux-5.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.c176 (rx_frames > pdata->rx_desc_count)) in xlgmac_ethtool_set_coalesce()
Ddwc-xlgmac.h568 unsigned int rx_desc_count; member
Ddwc-xlgmac-desc.c197 pdata->rx_desc_count); in xlgmac_alloc_rings()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c467 if (rx_frames > pdata->rx_desc_count) { in xgbe_set_coalesce()
469 pdata->rx_desc_count); in xgbe_set_coalesce()
627 ringparam->rx_pending = pdata->rx_desc_count; in xgbe_get_ringparam()
670 if ((rx == pdata->rx_desc_count) && in xgbe_set_ringparam()
674 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.h1116 unsigned int rx_desc_count; member
/kernel/linux/linux-5.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()
261 priv->rx_desc_count++; in bcm_enet_refill_rx()
272 if (priv->rx_desc_count == 0 && netif_running(dev)) { in bcm_enet_refill_rx()
309 if (budget > priv->rx_desc_count) in bcm_enet_receive_queue()
310 budget = priv->rx_desc_count; in bcm_enet_receive_queue()
336 priv->rx_desc_count--; in bcm_enet_receive_queue()
398 if (processed || !priv->rx_desc_count) { in bcm_enet_receive_queue()
965 priv->rx_desc_count = 0; in bcm_enet_open()
2148 priv->rx_desc_count = 0; in bcm_enetsw_open()
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c969 int rx_desc_count = 0; in atl1c_setup_ring_resources() local
993 rx_desc_count += rfd_ring->count; in atl1c_setup_ring_resources()
1002 sizeof(struct atl1c_rx_free_desc) * rx_desc_count + in atl1c_setup_ring_resources()
1003 sizeof(struct atl1c_recv_ret_status) * rx_desc_count + in atl1c_setup_ring_resources()
/kernel/linux/linux-5.10/drivers/net/wireless/atmel/
Datmel.c490 u16 rx_desc_count; member
1058 i < priv->host_info.rx_desc_count; in rx_done_irq()
1148 if (priv->rx_desc_head < (priv->host_info.rx_desc_count - 1)) in rx_done_irq()
3657 iface->rx_desc_count = le16_to_cpu(iface->rx_desc_count); in atmel_wakeup_firmware()
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/
Ds2io.c5457 int i, tx_desc_count = 0, rx_desc_count = 0; in s2io_ethtool_gringparam() local
5470 rx_desc_count += sp->config.rx_cfg[i].num_rxd; in s2io_ethtool_gringparam()
5471 ering->rx_pending = rx_desc_count; in s2io_ethtool_gringparam()
5472 ering->rx_jumbo_pending = rx_desc_count; in s2io_ethtool_gringparam()