X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvhost_crypto%2Fmain.c;h=1d7ba941962ecbc104abeed3074a74f330f139fd;hb=13f5e4562a3fc46af5081ef4df3963f08989120c;hp=ac7118e7eb04025b89dc7bfbb7bfac47419ab569;hpb=00479d9cc517b4c8fb6a8abc1b066e36a7e32810;p=dpdk.git diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c index ac7118e7eb..1d7ba94196 100644 --- a/examples/vhost_crypto/main.c +++ b/examples/vhost_crypto/main.c @@ -354,12 +354,6 @@ static const struct vhost_device_ops virtio_crypto_device_ops = { .destroy_device = destroy_device, }; -__attribute__((unused)) -static void clrscr(void) -{ - system("@cls||clear"); -} - static int vhost_crypto_worker(void *arg) { @@ -522,6 +516,7 @@ main(int argc, char *argv[]) config.nb_queue_pairs = dev_info.max_nb_queue_pairs; config.socket_id = rte_lcore_to_socket_id(lo->lcore_id); + config.ff_disable = RTE_CRYPTODEV_FF_SECURITY; ret = rte_cryptodev_configure(info->cid, &config); if (ret < 0) {