#include <rte_dev.h>
#include <rte_errno.h>
#include <rte_malloc.h>
-#include <rte_cryptodev_pmd.h>
+#include <cryptodev_pmd.h>
#include "bcmfs_device.h"
#include "bcmfs_logs.h"
spu_req_init(struct bcmfs_sym_request *sr, rte_iova_t iova __rte_unused)
{
memset(sr, 0, sizeof(*sr));
- sr->fptr = iova;
- sr->cptr = iova + offsetof(struct bcmfs_sym_request, cipher_key);
- sr->aptr = iova + offsetof(struct bcmfs_sym_request, auth_key);
- sr->iptr = iova + offsetof(struct bcmfs_sym_request, iv);
+ sr->fptr = iova + offsetof(struct bcmfs_sym_request, fmd);
+ sr->optr = iova + offsetof(struct bcmfs_sym_request, omd);
sr->dptr = iova + offsetof(struct bcmfs_sym_request, digest);
sr->rptr = iova + offsetof(struct bcmfs_sym_request, resp);
}
internals->sym_dev_id = cryptodev->data->dev_id;
internals->fsdev_capabilities = bcmfs_sym_get_capabilities();
+ rte_cryptodev_pmd_probing_finish(cryptodev);
+
BCMFS_LOG(DEBUG, "Created bcmfs-sym device %s as cryptodev instance %d",
cryptodev->data->name, internals->sym_dev_id);
return 0;