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

Function destroy_default_flow

dpdk/app/test/test_security_inline_proto.c:586–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584}
585
586static void
587destroy_default_flow(uint16_t portid)
588{
589 struct rte_flow_error err;
590 int ret;
591
592 if (!default_flow[portid])
593 return;
594 ret = rte_flow_destroy(portid, default_flow[portid], &err);
595 if (ret) {
596 printf("\nDefault flow rule destroy failed\n");
597 return;
598 }
599 default_flow[portid] = NULL;
600}
601
602struct rte_mbuf **tx_pkts_burst;
603struct rte_mbuf **rx_pkts_burst;

Calls 2

rte_flow_destroyFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected