Home
last modified time | relevance | path

Searched refs:rx_desc_cnt (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/google/gve/
Dgve_adminq.c598 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()
Dgve_ethtool.c479 cmd->rx_max_pending = priv->rx_desc_cnt; in gve_get_ringparam()
481 cmd->rx_pending = priv->rx_desc_cnt; in gve_get_ringparam()
Dgve_rx.c61 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()
Dgve_rx_dqo.c263 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()
Dgve.h648 u16 rx_desc_cnt; /* num desc per ring */ member
/Linux-v6.6/drivers/net/ethernet/qualcomm/emac/
Demac-ethtool.c144 ring->rx_pending = adpt->rx_desc_cnt; in emac_get_ringparam()
164 adpt->rx_desc_cnt = in emac_set_ringparam()
Demac.h344 unsigned int rx_desc_cnt; member
Demac-mac.c754 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()
Demac.c406 adpt->rx_desc_cnt = EMAC_DEF_RX_DESCS; in emac_init_adapter()