]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ionic/ionic_lif.c
ethdev: fix representor port ID search by name
[dpdk.git] / drivers / net / ionic / ionic_lif.c
index 431eda777b78b83cb42e15fad8ff1abb22d9a75e..a1f9ce2d81cb46122525981a50ad22463c533117 100644 (file)
@@ -1056,11 +1056,11 @@ ionic_lif_free_queues(struct ionic_lif *lif)
        uint32_t i;
 
        for (i = 0; i < lif->ntxqcqs; i++) {
-               ionic_dev_tx_queue_release(lif->eth_dev->data->tx_queues[i]);
+               ionic_dev_tx_queue_release(lif->eth_dev, i);
                lif->eth_dev->data->tx_queues[i] = NULL;
        }
        for (i = 0; i < lif->nrxqcqs; i++) {
-               ionic_dev_rx_queue_release(lif->eth_dev->data->rx_queues[i]);
+               ionic_dev_rx_queue_release(lif->eth_dev, i);
                lif->eth_dev->data->rx_queues[i] = NULL;
        }
 }