git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mempool: return 0 if area is too small on populate
[dpdk.git]
/
examples
/
vhost_crypto
/
main.c
diff --git
a/examples/vhost_crypto/main.c
b/examples/vhost_crypto/main.c
index
ac7118e
..
1d7ba94
100644
(file)
--- 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,
};
.destroy_device = destroy_device,
};
-__attribute__((unused))
-static void clrscr(void)
-{
- system("@cls||clear");
-}
-
static int
vhost_crypto_worker(void *arg)
{
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.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) {
ret = rte_cryptodev_configure(info->cid, &config);
if (ret < 0) {