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/txgbe: add Rx and Tx start and stop
[dpdk.git]
/
lib
/
librte_acl
/
acl.h
diff --git
a/lib/librte_acl/acl.h
b/lib/librte_acl/acl.h
index
543ce55
..
4089ab2
100644
(file)
--- a/
lib/librte_acl/acl.h
+++ b/
lib/librte_acl/acl.h
@@
-76,6
+76,13
@@
struct rte_acl_bitset {
* input_byte - ((uint8_t *)&transition)[4 + input_byte / 64].
*/
* input_byte - ((uint8_t *)&transition)[4 + input_byte / 64].
*/
+/*
+ * Each ACL RT contains an idle nomatch node:
+ * a SINGLE node at predefined position (RTE_ACL_DFA_SIZE)
+ * that points to itself.
+ */
+#define RTE_ACL_IDLE_NODE (RTE_ACL_DFA_SIZE | RTE_ACL_NODE_SINGLE)
+
/*
* Structure of a node is a set of ptrs and each ptr has a bit map
* of values associated with this transition.
/*
* Structure of a node is a set of ptrs and each ptr has a bit map
* of values associated with this transition.
@@
-162,6
+169,7
@@
struct rte_acl_ctx {
int32_t socket_id;
/** Socket ID to allocate memory from. */
enum rte_acl_classify_alg alg;
int32_t socket_id;
/** Socket ID to allocate memory from. */
enum rte_acl_classify_alg alg;
+ uint32_t first_load_sz;
void *rules;
uint32_t max_rules;
uint32_t rule_sz;
void *rules;
uint32_t max_rules;
uint32_t rule_sz;