Spdk/module/accel/dpdk_cryptodev/accel_dpdk_cryptodev.h
Alexey Marchuk 61fbb000fe module/accel: Add accel_dpdk_cryptodev
The new module replaces functionality in vbdev_crypto.
This module is bdev agnostic, so some inernal parts
were reworked.

io_channel: contains a qp of every configured DPDK PMD
crypto key: for mlx5_pci we register a key on each available
device since keys are bound to Protection Domain.

Signed-off-by: Alexey Marchuk <alexeymar@nvidia.com>
Change-Id: If1845cb87eadacbb921c593ba82207a97f2209a3
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14859
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
2023-01-11 09:16:59 +00:00

17 lines
464 B
C

/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) Intel Corporation.
* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES.
* All rights reserved.
*/
#ifndef SPDK_ACCEL_DPDK_CRYPTODEV_H
#define SPDK_ACCEL_DPDK_CRYPTODEV_H
#include "spdk/stdinc.h"
void accel_dpdk_cryptodev_enable(void);
int accel_dpdk_cryptodev_set_driver(const char *driver_name);
const char *accel_dpdk_cryptodev_get_driver(void);
#endif /* SPDK_ACCEL_DPDK_CRYPTODEV_H */