The mlx5 accel module supports crypto operations. Data buffer is split into `block_size` chunks and each chunk is enrypted individually. mlx5 library contains some utility functions that will later be used by other libraries, this lib will be exntended later. Signed-off-by: Alexey Marchuk <alexeymar@nvidia.com> Change-Id: Iacdd8caaade477277d5a95cfd53e9910e280a73b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15420 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
20 lines
414 B
Makefile
20 lines
414 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES.
|
|
# All rights reserved.
|
|
#
|
|
|
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
|
|
|
SO_VER := 1
|
|
SO_MINOR := 0
|
|
|
|
C_SRCS = mlx5_crypto.c
|
|
LIBNAME = mlx5
|
|
|
|
LOCAL_SYS_LIBS += -lmlx5 -libverbs -lrdmacm
|
|
|
|
SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_mlx5.map)
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk
|