Searched refs:rx_desc_count (Results 1 – 18 of 18) sorted by relevance
231 int rx_desc_count; member310 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()
329 int rx_desc_count; member512 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()
594 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()
251 u32 rx_desc_count; member
1156 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()
119 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()
176 (rx_frames > pdata->rx_desc_count)) in xlgmac_ethtool_set_coalesce()
568 unsigned int rx_desc_count; member
197 pdata->rx_desc_count); in xlgmac_alloc_rings()
467 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()
309 pdata->rx_desc_count = XGBE_RX_DESC_CNT; in xgbe_config_netdev()
269 pdata->rx_desc_count); in xgbe_alloc_ring_resources()
1116 unsigned int rx_desc_count; member
225 int rx_desc_count; member
229 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()
969 int rx_desc_count = 0; in atl1c_setup_ring_resources() local993 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()
490 u16 rx_desc_count; member1058 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()
5457 int i, tx_desc_count = 0, rx_desc_count = 0; in s2io_ethtool_gringparam() local5470 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()