X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fip_pipeline%2Fcryptodev.c;h=b0d9f3d217cc6f3d27402a54b0dc58fe9c91d53e;hb=770fabcd36ec11d64544e86ed7d2dda9f5c64daf;hp=ac1e38d6a2db90e5faa8a5bb7cf89f3d3720e9a1;hpb=261bbff75e34dbbefcbf13d672b902eb0a917c5e;p=dpdk.git diff --git a/examples/ip_pipeline/cryptodev.c b/examples/ip_pipeline/cryptodev.c index ac1e38d6a2..b0d9f3d217 100644 --- a/examples/ip_pipeline/cryptodev.c +++ b/examples/ip_pipeline/cryptodev.c @@ -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)