crypto/openssl: add RSA and mod asym operations
[dpdk.git] / lib / librte_bpf / bpf.c
index d7f68c0..f590c8c 100644 (file)
@@ -41,17 +41,19 @@ bpf_jit(struct rte_bpf *bpf)
 {
        int32_t rc;
 
+#ifdef RTE_ARCH_X86_64
+       rc = bpf_jit_x86(bpf);
+#else
        rc = -ENOTSUP;
+#endif
+
        if (rc != 0)
                RTE_BPF_LOG(WARNING, "%s(%p) failed, error code: %d;\n",
                        __func__, bpf, rc);
        return rc;
 }
 
-RTE_INIT(rte_bpf_init_log);
-
-static void
-rte_bpf_init_log(void)
+RTE_INIT(rte_bpf_init_log)
 {
        rte_bpf_logtype = rte_log_register("lib.bpf");
        if (rte_bpf_logtype >= 0)