git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
telemetry: add missing header include
[dpdk.git]
/
lib
/
librte_bpf
/
rte_bpf.h
diff --git
a/lib/librte_bpf/rte_bpf.h
b/lib/librte_bpf/rte_bpf.h
index
ad62ef2
..
c8b9601
100644
(file)
--- a/
lib/librte_bpf/rte_bpf.h
+++ b/
lib/librte_bpf/rte_bpf.h
@@
-120,7
+120,7
@@
rte_bpf_destroy(struct rte_bpf *bpf);
* Create a new eBPF execution context and load given BPF code into it.
*
* @param prm
* Create a new eBPF execution context and load given BPF code into it.
*
* @param prm
- * Parameters used to create and initialise the BPF exeution context.
+ * Parameters used to create and initialise the BPF exe
c
ution context.
* @return
* BPF handle that is used in future BPF operations,
* or NULL on error, with error code set in rte_errno.
* @return
* BPF handle that is used in future BPF operations,
* or NULL on error, with error code set in rte_errno.
@@
-134,9
+134,12
@@
rte_bpf_load(const struct rte_bpf_prm *prm);
/**
* Create a new eBPF execution context and load BPF code from given ELF
* file into it.
/**
* Create a new eBPF execution context and load BPF code from given ELF
* file into it.
+ * Note that if the function will encounter EBPF_PSEUDO_CALL instruction
+ * that references external symbol, it will treat is as standard BPF_CALL
+ * to the external helper function.
*
* @param prm
*
* @param prm
- * Parameters used to create and initialise the BPF exeution context.
+ * Parameters used to create and initialise the BPF exe
c
ution context.
* @param fname
* Pathname for a ELF file.
* @param sname
* @param fname
* Pathname for a ELF file.
* @param sname
@@
-183,7
+186,7
@@
rte_bpf_exec_burst(const struct rte_bpf *bpf, void *ctx[], uint64_t rc[],
uint32_t num);
/**
uint32_t num);
/**
- * Provide information about natively compi
el
d code for given BPF handle.
+ * Provide information about natively compi
le
d code for given BPF handle.
*
* @param bpf
* handle for the BPF code.
*
* @param bpf
* handle for the BPF code.