Searched refs:rx_desc_cnt (Results 1 – 10 of 10) sorted by relevance
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()
734 u16 rx_desc_cnt; /* num desc per ring */ member1074 static inline u32 gve_get_rx_pages_per_qpl_dqo(u32 rx_desc_cnt) in gve_get_rx_pages_per_qpl_dqo() argument1079 return 2 * rx_desc_cnt; in gve_get_rx_pages_per_qpl_dqo()
733 .rx_ring_size = cpu_to_be16(priv->rx_desc_cnt), in gve_adminq_get_create_rx_queue_cmd()762 cpu_to_be16(priv->rx_desc_cnt); in gve_adminq_get_create_rx_queue_cmd()879 priv->rx_desc_cnt = be16_to_cpu(descriptor->rx_queue_entries); in gve_set_default_desc_cnt()883 priv->max_rx_desc_cnt = priv->rx_desc_cnt; in gve_set_default_desc_cnt()885 priv->min_rx_desc_cnt = priv->rx_desc_cnt; in gve_set_default_desc_cnt()
522 cmd->rx_pending = priv->rx_desc_cnt; in gve_get_ringparam()556 priv->rx_desc_cnt = new_rx_desc_cnt; in gve_adjust_ring_sizes()593 if (cmd->tx_pending == priv->tx_desc_cnt && cmd->rx_pending == priv->rx_desc_cnt) in gve_set_ringparam()
181 if (idx >= gve_get_rx_pages_per_qpl_dqo(priv->rx_desc_cnt)) { in gve_alloc_page_dqo()255 const u32 buffer_queue_slots = priv->rx_desc_cnt; in gve_rx_reset_ring_dqo()256 const u32 completion_queue_slots = priv->rx_desc_cnt; in gve_rx_reset_ring_dqo()
74 const u32 slots = priv->rx_desc_cnt; in gve_rx_reset_ring_gqi()
1282 cfg->ring_size = priv->rx_desc_cnt; in gve_rx_get_curr_alloc_cfg()1361 priv->rx_desc_cnt = rx_alloc_cfg->ring_size; in gve_queues_start()