Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve.h599 unsigned long *qpl_id_map; /* bitmap of 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()
H A Dgve_main.c1129 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()