#include <rte_common.h>
#include <rte_malloc.h>
-#include <rte_cryptodev_pmd.h>
+#include <cryptodev_pmd.h>
-#include "armv8_crypto_defs.h"
-
-#include "rte_armv8_pmd_private.h"
+#include "armv8_pmd_private.h"
static const struct rte_cryptodev_capabilities
armv8_crypto_pmd_capabilities[] = {
return 0;
qp_setup_cleanup:
- if (qp)
- rte_free(qp);
+ rte_free(qp);
return -1;
}
-/** Return the number of allocated queue pairs */
-static uint32_t
-armv8_crypto_pmd_qp_count(struct rte_cryptodev *dev)
-{
- return dev->data->nb_queue_pairs;
-}
-
/** Returns the size of the session structure */
static unsigned
armv8_crypto_pmd_sym_session_get_size(struct rte_cryptodev *dev __rte_unused)
.queue_pair_setup = armv8_crypto_pmd_qp_setup,
.queue_pair_release = armv8_crypto_pmd_qp_release,
- .queue_pair_count = armv8_crypto_pmd_qp_count,
.sym_session_get_size = armv8_crypto_pmd_sym_session_get_size,
.sym_session_configure = armv8_crypto_pmd_sym_session_configure,