Home
last modified time | relevance | path

Searched refs:jit (Results 1 – 8 of 8) sorted by relevance

/dpdk/lib/bpf/
H A Dbpf.c17 if (bpf->jit.func != NULL) in rte_bpf_destroy()
18 munmap(bpf->jit.func, bpf->jit.sz); in rte_bpf_destroy()
24 rte_bpf_get_jit(const struct rte_bpf *bpf, struct rte_bpf_jit *jit) in rte_bpf_get_jit() argument
26 if (bpf == NULL || jit == NULL) in rte_bpf_get_jit()
29 jit[0] = bpf->jit; in rte_bpf_get_jit()
H A Dbpf_pkt.c31 struct rte_bpf_jit jit; member
122 memset(&bc->jit, 0, sizeof(bc->jit)); in bpf_eth_cbi_cleanup()
216 rc[i] = jit->func(dp); in pkt_filter_jit()
245 rc[i] = jit->func(mb[i]); in pkt_filter_mb_jit()
288 pkt_filter_jit(&cbi->jit, pkt, nb_pkts, 1) : in bpf_rx_callback_jit()
320 pkt_filter_jit(&cbi->jit, pkt, nb_pkts, 0) : in bpf_tx_callback_jit()
358 pkt_filter_mb_jit(&cbi->jit, pkt, nb_pkts, 1) : in bpf_rx_callback_mb_jit()
390 pkt_filter_mb_jit(&cbi->jit, pkt, nb_pkts, 0) : in bpf_tx_callback_mb_jit()
500 struct rte_bpf_jit jit; in bpf_eth_elf_load() local
524 rte_bpf_get_jit(bpf, &jit); in bpf_eth_elf_load()
[all …]
H A Dbpf_impl.h15 struct rte_bpf_jit jit; member
H A Drte_bpf.h199 rte_bpf_get_jit(const struct rte_bpf *bpf, struct rte_bpf_jit *jit);
H A Dbpf_load_elf.c331 __func__, fname, sname, bpf, bpf->jit.func, bpf->jit.sz); in rte_bpf_elf_load()
H A Dbpf_jit_arm64.c1440 bpf->jit.func = (void *)ctx.ins; in bpf_jit_arm64()
1441 bpf->jit.sz = size; in bpf_jit_arm64()
H A Dbpf_jit_x86.c1538 bpf->jit.func = (void *)st.ins; in bpf_jit_x86()
1539 bpf->jit.sz = st.sz; in bpf_jit_x86()
/dpdk/app/test/
H A Dtest_bpf.c3206 struct rte_bpf_jit jit; in run_test() local
3227 rte_bpf_get_jit(bpf, &jit); in run_test()
3228 if (jit.func != NULL) { in run_test()
3231 rc = jit.func(tbuf); in run_test()