[v2,3/3] examples/l3fwd-acl: add support for AVX512
diff mbox series

Message ID 20200915170456.7204-4-konstantin.ananyev@intel.com
State Superseded
Delegated to: David Marchand
Headers show
Series
  • Few enhancements for l3fwd-acl
Related show

Checks

Context Check Description
ci/Intel-compilation fail apply issues
ci/iol-testing fail Testing issues
ci/checkpatch success coding style OK

Commit Message

Ananyev, Konstantin Sept. 15, 2020, 5:04 p.m. UTC
Add ability to select AVX512 classify algorithm.

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
 doc/guides/sample_app_ug/l3_forward_access_ctrl.rst | 2 +-
 examples/l3fwd-acl/main.c                           | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst b/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
index 80dd8ba00..6e4d17a2a 100644
--- a/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
+++ b/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
@@ -253,7 +253,7 @@  where,
 *   --rule_ipv6 FILENAME: Specifies the IPv6 ACL and route rules file
 
 *   --alg=<val>: optional, ACL classify method to use, one of:
-    ``scalar|sse|avx2|neon|altivec``
+    ``scalar|sse|avx2|neon|altivec|avx512``
 
 *   --enable-jumbo: optional, enables jumbo frames
 
diff --git a/examples/l3fwd-acl/main.c b/examples/l3fwd-acl/main.c
index e0f7701cd..1a27d9d75 100644
--- a/examples/l3fwd-acl/main.c
+++ b/examples/l3fwd-acl/main.c
@@ -170,6 +170,10 @@  static const struct {
 		.name = "altivec",
 		.alg = RTE_ACL_CLASSIFY_ALTIVEC,
 	},
+	{
+		.name = "avx512",
+		.alg = RTE_ACL_CLASSIFY_AVX512,
+	},
 };
 
 /***********************start of ACL part******************************/