acl: fix x86 build for compiler without AVX2
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Tue, 6 Oct 2020 15:03:03 +0000 (16:03 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 14 Oct 2020 12:23:00 +0000 (14:23 +0200)
commit85348c3e7dd5019e4d2f738c7492bc4c9d4bf9d2
tree4f01e8a2dface33109cd226127acee5f7344fa6c
parentafd9edb0d3c33bb4fc395cda8cf8d09f9d8ba5b1
acl: fix x86 build for compiler without AVX2

Right now we define dummy version of rte_acl_classify_avx2()
when both X86 and AVX2 are not detected, though it should be
for non-AVX2 case only.

Fixes: e53ce4e41379 ("acl: remove use of weak functions")
Cc: stable@dpdk.org
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
lib/librte_acl/rte_acl.c