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
cryptodev: move vdev functions to a separate file
[dpdk.git]
/
drivers
/
crypto
/
snow3g
/
rte_snow3g_pmd.c
diff --git
a/drivers/crypto/snow3g/rte_snow3g_pmd.c
b/drivers/crypto/snow3g/rte_snow3g_pmd.c
index
f17c541
..
8945f19
100644
(file)
--- a/
drivers/crypto/snow3g/rte_snow3g_pmd.c
+++ b/
drivers/crypto/snow3g/rte_snow3g_pmd.c
@@
-35,6
+35,7
@@
#include <rte_hexdump.h>
#include <rte_cryptodev.h>
#include <rte_cryptodev_pmd.h>
#include <rte_hexdump.h>
#include <rte_cryptodev.h>
#include <rte_cryptodev_pmd.h>
+#include <rte_cryptodev_vdev.h>
#include <rte_vdev.h>
#include <rte_malloc.h>
#include <rte_cpuflags.h>
#include <rte_vdev.h>
#include <rte_malloc.h>
#include <rte_cpuflags.h>
@@
-562,7
+563,7
@@
cryptodev_snow3g_create(const char *name,
return -EFAULT;
}
return -EFAULT;
}
- dev = rte_cryptodev_
pmd_virtual_dev
_init(init_params->name,
+ dev = rte_cryptodev_
vdev_pmd
_init(init_params->name,
sizeof(struct snow3g_private), init_params->socket_id,
vdev);
if (dev == NULL) {
sizeof(struct snow3g_private), init_params->socket_id,
vdev);
if (dev == NULL) {
@@
-612,7
+613,7
@@
cryptodev_snow3g_probe(struct rte_vdev_device *vdev)
return -EINVAL;
input_args = rte_vdev_device_args(vdev);
return -EINVAL;
input_args = rte_vdev_device_args(vdev);
- rte_cryptodev_
parse_vdev
_init_params(&init_params, input_args);
+ rte_cryptodev_
vdev_parse
_init_params(&init_params, input_args);
RTE_LOG(INFO, PMD, "Initialising %s on NUMA node %d\n", name,
init_params.socket_id);
RTE_LOG(INFO, PMD, "Initialising %s on NUMA node %d\n", name,
init_params.socket_id);