Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve.h520 struct gve_qpl_config qpl_cfg; /* map used QPL ids */ member
791 int id = find_first_zero_bit(priv->qpl_cfg.qpl_id_map, in gve_assign_tx_qpl()
792 priv->qpl_cfg.qpl_map_size); in gve_assign_tx_qpl()
798 set_bit(id, priv->qpl_cfg.qpl_id_map); in gve_assign_tx_qpl()
807 int id = find_next_zero_bit(priv->qpl_cfg.qpl_id_map, in gve_assign_rx_qpl()
808 priv->qpl_cfg.qpl_map_size, in gve_assign_rx_qpl()
815 set_bit(id, priv->qpl_cfg.qpl_id_map); in gve_assign_rx_qpl()
823 clear_bit(id, priv->qpl_cfg.qpl_id_map); in gve_unassign_qpl()
Dgve_main.c879 priv->qpl_cfg.qpl_map_size = BITS_TO_LONGS(num_qpls) * in gve_alloc_qpls()
881 priv->qpl_cfg.qpl_id_map = kvcalloc(BITS_TO_LONGS(num_qpls), in gve_alloc_qpls()
883 if (!priv->qpl_cfg.qpl_id_map) { in gve_alloc_qpls()
905 kvfree(priv->qpl_cfg.qpl_id_map); in gve_free_qpls()