Home
last modified time | relevance | path

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

/drivers/net/ethernet/google/gve/
Dgve_adminq.c556 cpu_to_be16(priv->rx_desc_cnt); in gve_adminq_create_rx_queue()
659 priv->rx_desc_cnt = be16_to_cpu(descriptor->rx_queue_entries); in gve_set_desc_cnt()
660 if (priv->rx_desc_cnt * sizeof(priv->rx->desc.desc_ring[0]) in gve_set_desc_cnt()
663 priv->rx_desc_cnt); in gve_set_desc_cnt()
677 priv->rx_desc_cnt = be16_to_cpu(descriptor->rx_queue_entries); in gve_set_desc_cnt_dqo()
790 if (gve_is_gqi(priv) && priv->rx_data_slot_cnt < priv->rx_desc_cnt) { in gve_adminq_describe_device()
793 priv->rx_desc_cnt = priv->rx_data_slot_cnt; in gve_adminq_describe_device()
Dgve_rx.c52 bytes = sizeof(struct gve_rx_desc) * priv->rx_desc_cnt; in gve_rx_free_ring()
207 bytes = sizeof(struct gve_rx_desc) * priv->rx_desc_cnt; in gve_rx_alloc_ring()
221 rx->db_threshold = priv->rx_desc_cnt / 2; in gve_rx_alloc_ring()
Dgve_ethtool.c432 cmd->rx_max_pending = priv->rx_desc_cnt; in gve_get_ringparam()
434 cmd->rx_pending = priv->rx_desc_cnt; in gve_get_ringparam()
Dgve.h512 u16 rx_desc_cnt; /* num desc per ring */ member
Dgve_rx_dqo.c233 const u32 completion_queue_slots = priv->rx_desc_cnt; in gve_rx_alloc_ring_dqo()
/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.c407 adpt->rx_desc_cnt = EMAC_DEF_RX_DESCS; in emac_init_adapter()