MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ngbe_dev_free_queues

Function ngbe_dev_free_queues

dpdk/drivers/net/ngbe/ngbe_rxtx.c:2455–2473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2453}
2454
2455void
2456ngbe_dev_free_queues(struct rte_eth_dev *dev)
2457{
2458 unsigned int i;
2459
2460 PMD_INIT_FUNC_TRACE();
2461
2462 for (i = 0; i < dev->data->nb_rx_queues; i++) {
2463 ngbe_dev_rx_queue_release(dev, i);
2464 dev->data->rx_queues[i] = NULL;
2465 }
2466 dev->data->nb_rx_queues = 0;
2467
2468 for (i = 0; i < dev->data->nb_tx_queues; i++) {
2469 ngbe_dev_tx_queue_release(dev, i);
2470 dev->data->tx_queues[i] = NULL;
2471 }
2472 dev->data->nb_tx_queues = 0;
2473}
2474
2475/**
2476 * Receive Side Scaling (RSS)

Callers 1

ngbe_dev_closeFunction · 0.85

Calls 2

Tested by

no test coverage detected