acl: add AVX2 classify method
[dpdk.git] / lib / librte_acl / rte_acl.h
index 0d913ee..652a234 100644 (file)
@@ -265,6 +265,8 @@ enum rte_acl_classify_alg {
        RTE_ACL_CLASSIFY_DEFAULT = 0,
        RTE_ACL_CLASSIFY_SCALAR = 1,  /**< generic implementation. */
        RTE_ACL_CLASSIFY_SSE = 2,     /**< requires SSE4.1 support. */
+       RTE_ACL_CLASSIFY_AVX2 = 3,    /**< requires AVX2 support. */
+       RTE_ACL_CLASSIFY_NUM          /* should always be the last one. */
 };
 
 /**