Home
last modified time | relevance | path

Searched refs:qpl_cfg (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/google/gve/
Dgve.h661 struct gve_qpl_config qpl_cfg; /* map used QPL ids */ member
972 if (test_bit(id, priv->qpl_cfg.qpl_id_map)) in gve_assign_tx_qpl()
975 set_bit(id, priv->qpl_cfg.qpl_id_map); in gve_assign_tx_qpl()
987 if (test_bit(id, priv->qpl_cfg.qpl_id_map)) in gve_assign_rx_qpl()
990 set_bit(id, priv->qpl_cfg.qpl_id_map); in gve_assign_rx_qpl()
998 clear_bit(id, priv->qpl_cfg.qpl_id_map); in gve_unassign_qpl()
Dgve_main.c1127 priv->qpl_cfg.qpl_map_size = BITS_TO_LONGS(max_queues) * in gve_alloc_qpls()
1129 priv->qpl_cfg.qpl_id_map = kvcalloc(BITS_TO_LONGS(max_queues), in gve_alloc_qpls()
1131 if (!priv->qpl_cfg.qpl_id_map) { in gve_alloc_qpls()
1164 kvfree(priv->qpl_cfg.qpl_id_map); in gve_free_qpls()
1165 priv->qpl_cfg.qpl_id_map = NULL; in gve_free_qpls()