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

Function cleanup_pdump_resources

dpdk/app/dumpcap/main.c:513–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511}
512
513static void
514cleanup_pdump_resources(void)
515{
516 struct interface *intf;
517
518 TAILQ_FOREACH(intf, &interfaces, next) {
519 rte_pdump_disable(intf->port,
520 RTE_PDUMP_ALL_QUEUES, RTE_PDUMP_FLAG_RXTX);
521 if (intf->opts.promisc_mode)
522 rte_eth_promiscuous_disable(intf->port);
523 }
524}
525
526/* Alarm signal handler, used to check that primary process */
527static void

Callers 1

mainFunction · 0.70

Calls 2

rte_pdump_disableFunction · 0.85

Tested by

no test coverage detected