| 370 | } |
| 371 | |
| 372 | void |
| 373 | eth_dev_shared_data_release(void) |
| 374 | { |
| 375 | RTE_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); |
| 376 | |
| 377 | if (eth_dev_shared_data->allocated_ports != 0) |
| 378 | return; |
| 379 | if (eth_dev_shared_data->allocated_owners != 0) |
| 380 | return; |
| 381 | |
| 382 | rte_memzone_free(eth_dev_shared_mz); |
| 383 | eth_dev_shared_mz = NULL; |
| 384 | eth_dev_shared_data = NULL; |
| 385 | } |
| 386 | |
| 387 | void |
| 388 | eth_dev_rxq_release(struct rte_eth_dev *dev, uint16_t qid) |
no test coverage detected