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

Function rte_bpf_destroy

dpdk/lib/bpf/bpf.c:13–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include "bpf_impl.h"
12
13void
14rte_bpf_destroy(struct rte_bpf *bpf)
15{
16 if (bpf != NULL) {
17 if (bpf->jit.func != NULL)
18 munmap(bpf->jit.func, bpf->jit.sz);
19 munmap(bpf, bpf->sz);
20 }
21}
22
23int
24rte_bpf_get_jit(const struct rte_bpf *bpf, struct rte_bpf_jit *jit)

Callers 6

bpf_eth_cbi_unloadFunction · 0.85
bpf_eth_elf_loadFunction · 0.85
rte_bpf_loadFunction · 0.85
run_testFunction · 0.85
test_bpf_matchFunction · 0.85
test_bpf_filterFunction · 0.85

Calls

no outgoing calls

Tested by 3

run_testFunction · 0.68
test_bpf_matchFunction · 0.68
test_bpf_filterFunction · 0.68