Searched refs:rx_desc_cnt (Results 1 – 9 of 9) sorted by relevance
598 rx_buff_ring_entries = priv->rx_desc_cnt; in gve_adminq_create_rx_queue()602 cpu_to_be16(priv->rx_desc_cnt); in gve_adminq_create_rx_queue()705 priv->rx_desc_cnt = be16_to_cpu(descriptor->rx_queue_entries); in gve_set_desc_cnt()706 if (priv->rx_desc_cnt * sizeof(priv->rx->desc.desc_ring[0]) in gve_set_desc_cnt()709 priv->rx_desc_cnt); in gve_set_desc_cnt()721 priv->rx_desc_cnt = be16_to_cpu(descriptor->rx_queue_entries); in gve_set_desc_cnt_dqo()860 if (gve_is_gqi(priv) && priv->rx_data_slot_cnt < priv->rx_desc_cnt) { in gve_adminq_describe_device()863 priv->rx_desc_cnt = priv->rx_data_slot_cnt; in gve_adminq_describe_device()
479 cmd->rx_max_pending = priv->rx_desc_cnt; in gve_get_ringparam()481 cmd->rx_pending = priv->rx_desc_cnt; in gve_get_ringparam()
61 bytes = sizeof(struct gve_rx_desc) * priv->rx_desc_cnt; in gve_rx_free_ring()272 bytes = sizeof(struct gve_rx_desc) * priv->rx_desc_cnt; in gve_rx_alloc_ring()286 rx->db_threshold = priv->rx_desc_cnt / 2; in gve_rx_alloc_ring()
263 priv->options_dqo_rda.rx_buff_ring_entries : priv->rx_desc_cnt; in gve_rx_alloc_ring_dqo()264 const u32 completion_queue_slots = priv->rx_desc_cnt; in gve_rx_alloc_ring_dqo()
648 u16 rx_desc_cnt; /* num desc per ring */ member
144 ring->rx_pending = adpt->rx_desc_cnt; in emac_get_ringparam()164 adpt->rx_desc_cnt = in emac_set_ringparam()
344 unsigned int rx_desc_cnt; member
754 unsigned int num_rx_descs = adpt->rx_desc_cnt; in emac_mac_rx_tx_rings_alloc_all()759 adpt->rx_q.rrd.count = adpt->rx_desc_cnt; in emac_mac_rx_tx_rings_alloc_all()760 adpt->rx_q.rfd.count = adpt->rx_desc_cnt; in emac_mac_rx_tx_rings_alloc_all()
406 adpt->rx_desc_cnt = EMAC_DEF_RX_DESCS; in emac_init_adapter()