net/ixgbe/base: store link active LED
[dpdk.git] / app / test-acl / main.c
index 72ce83c..1b2b176 100644 (file)
@@ -101,6 +101,14 @@ static const struct acl_alg acl_alg[] = {
                .name = "avx2",
                .alg = RTE_ACL_CLASSIFY_AVX2,
        },
+       {
+               .name = "neon",
+               .alg = RTE_ACL_CLASSIFY_NEON,
+       },
+       {
+               .name = "altivec",
+               .alg = RTE_ACL_CLASSIFY_ALTIVEC,
+       },
 };
 
 static struct {
@@ -897,7 +905,7 @@ search_ip5tuples(__attribute__((unused)) void *arg)
                "%s  @lcore %u: %" PRIu32 " iterations, %" PRIu64 " pkts, %"
                PRIu32 " categories, %" PRIu64 " cycles, %#Lf cycles/pkt\n",
                __func__, lcore, i, pkt, config.run_categories,
-               tm, (long double)tm / pkt);
+               tm, (pkt == 0) ? 0 : (long double)tm / pkt);
 
        return 0;
 }