Searched refs:qpl_cfg (Results 1 – 2 of 2) sorted by relevance
207 struct gve_qpl_config qpl_cfg; /* map used QPL ids */ member456 int id = find_first_zero_bit(priv->qpl_cfg.qpl_id_map, in gve_assign_tx_qpl()457 priv->qpl_cfg.qpl_map_size); in gve_assign_tx_qpl()463 set_bit(id, priv->qpl_cfg.qpl_id_map); in gve_assign_tx_qpl()472 int id = find_next_zero_bit(priv->qpl_cfg.qpl_id_map, in gve_assign_rx_qpl()473 priv->qpl_cfg.qpl_map_size, in gve_assign_rx_qpl()480 set_bit(id, priv->qpl_cfg.qpl_id_map); in gve_assign_rx_qpl()488 clear_bit(id, priv->qpl_cfg.qpl_id_map); in gve_unassign_qpl()
715 priv->qpl_cfg.qpl_map_size = BITS_TO_LONGS(num_qpls) * in gve_alloc_qpls()717 priv->qpl_cfg.qpl_id_map = kvzalloc(BITS_TO_LONGS(num_qpls) * in gve_alloc_qpls()719 if (!priv->qpl_cfg.qpl_id_map) { in gve_alloc_qpls()738 kvfree(priv->qpl_cfg.qpl_id_map); in gve_free_qpls()