]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_acl/acl.h
acl: add 256-bit AVX512 classify method
[dpdk.git] / lib / librte_acl / acl.h
index 543ce55659a52f8ed21801a5e1bce26ebbc673f1..7ac0d12f0835693231029444672db71afacf42c1 100644 (file)
@@ -76,6 +76,13 @@ struct rte_acl_bitset {
  * 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.