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
net/sfc: fix an Rx queue double release possibility
[dpdk.git]
/
lib
/
librte_bpf
/
bpf_def.h
diff --git
a/lib/librte_bpf/bpf_def.h
b/lib/librte_bpf/bpf_def.h
index
6b69de3
..
c10f3ae
100644
(file)
--- a/
lib/librte_bpf/bpf_def.h
+++ b/
lib/librte_bpf/bpf_def.h
@@
-131,6
+131,11
@@
struct ebpf_insn {
int32_t imm;
};
int32_t imm;
};
+/*
+ * eBPF allows functions with R1-R5 as arguments.
+ */
+#define EBPF_FUNC_MAX_ARGS (EBPF_REG_6 - EBPF_REG_1)
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif