Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve_main.c541 int num_qpls = gve_num_tx_qpls(priv) + gve_num_rx_qpls(priv); in gve_register_qpls() local
545 for (i = 0; i < num_qpls; i++) { in gve_register_qpls()
562 int num_qpls = gve_num_tx_qpls(priv) + gve_num_rx_qpls(priv); in gve_unregister_qpls() local
566 for (i = 0; i < num_qpls; i++) { in gve_unregister_qpls()
855 int num_qpls = gve_num_tx_qpls(priv) + gve_num_rx_qpls(priv); in gve_alloc_qpls() local
859 if (num_qpls == 0) in gve_alloc_qpls()
862 priv->qpls = kvcalloc(num_qpls, sizeof(*priv->qpls), GFP_KERNEL); in gve_alloc_qpls()
872 for (; i < num_qpls; i++) { in gve_alloc_qpls()
879 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()
[all …]