]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/spdk/dpdk/examples/ip_pipeline/cryptodev.c
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / dpdk / examples / ip_pipeline / cryptodev.c
index ac1e38d6a2db90e5faa8a5bb7cf89f3d3720e9a1..b0d9f3d217cc6f3d27402a54b0dc58fe9c91d53e 100644 (file)
@@ -90,11 +90,10 @@ cryptodev_create(const char *name, struct cryptodev_params *params)
 
        if (dev_info.max_nb_queue_pairs < params->n_queues)
                return NULL;
-       if (dev_info.feature_flags & RTE_CRYPTODEV_FF_HW_ACCELERATED)
-               return NULL;
 
        dev_conf.socket_id = socket_id;
        dev_conf.nb_queue_pairs = params->n_queues;
+       dev_conf.ff_disable = 0;
 
        status = rte_cryptodev_configure(dev_id, &dev_conf);
        if (status < 0)