]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_distributor/rte_distributor.c
distributor: remove checks for SSE4
[dpdk.git] / lib / librte_distributor / rte_distributor.c
index 32dd18edcae054886b4f1aa4ecd0b4f8a9a3ba76..c4e31b8c4245185eb89120e02eedf2a4dba2cf5b 100644 (file)
@@ -658,12 +658,10 @@ rte_distributor_create_v1705(const char *name,
        d->num_workers = num_workers;
        d->alg_type = alg_type;
 
+       d->dist_match_fn = RTE_DIST_MATCH_SCALAR;
 #if defined(RTE_ARCH_X86)
-       if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_SSE4_2))
-               d->dist_match_fn = RTE_DIST_MATCH_VECTOR;
-       else
+       d->dist_match_fn = RTE_DIST_MATCH_VECTOR;
 #endif
-               d->dist_match_fn = RTE_DIST_MATCH_SCALAR;
 
        /*
         * Set up the backog tags so they're pointing at the second cache