Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
dpdk: Enhancement to call crypto start api at initialization
[vpp.git]
/
src
/
plugins
/
dpdk
/
ipsec
/
ipsec.c
diff --git
a/src/plugins/dpdk/ipsec/ipsec.c
b/src/plugins/dpdk/ipsec/ipsec.c
index
731613b
..
b2d8611
100644
(file)
--- a/
src/plugins/dpdk/ipsec/ipsec.c
+++ b/
src/plugins/dpdk/ipsec/ipsec.c
@@
-652,6
+652,10
@@
crypto_dev_conf (u8 dev, u16 n_qp, u8 numa)
return clib_error_return (0, error_str, dev, qp);
}
+ error_str = "failed to start crypto device %u";
+ if (rte_cryptodev_start (dev))
+ return clib_error_return (0, error_str, dev);
+
return 0;
}