f50fff73d6
Implement NVMe-oF In-Band authentication according to NVMe TPAR 8006. This patch adds two new fabric options 'dhchap_secret' to specify the pre-shared key (in ASCII respresentation according to NVMe 2.0 section 8.13.5.8 'Secret representation') and 'dhchap_ctrl_secret' to specify the pre-shared controller key for bi-directional authentication of both the host and the controller. Re-authentication can be triggered by writing the PSK into the new controller sysfs attribute 'dhchap_secret' or 'dhchap_ctrl_secret'. Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de> [axboe: fold in clang build fix] Signed-off-by: Jens Axboe <axboe@kernel.dk>
32 lines
825 B
Makefile
32 lines
825 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
ccflags-y += -I$(src)
|
|
|
|
obj-$(CONFIG_NVME_CORE) += nvme-core.o
|
|
obj-$(CONFIG_BLK_DEV_NVME) += nvme.o
|
|
obj-$(CONFIG_NVME_FABRICS) += nvme-fabrics.o
|
|
obj-$(CONFIG_NVME_RDMA) += nvme-rdma.o
|
|
obj-$(CONFIG_NVME_FC) += nvme-fc.o
|
|
obj-$(CONFIG_NVME_TCP) += nvme-tcp.o
|
|
obj-$(CONFIG_NVME_APPLE) += nvme-apple.o
|
|
|
|
nvme-core-y := core.o ioctl.o constants.o
|
|
nvme-core-$(CONFIG_TRACING) += trace.o
|
|
nvme-core-$(CONFIG_NVME_MULTIPATH) += multipath.o
|
|
nvme-core-$(CONFIG_BLK_DEV_ZONED) += zns.o
|
|
nvme-core-$(CONFIG_FAULT_INJECTION_DEBUG_FS) += fault_inject.o
|
|
nvme-core-$(CONFIG_NVME_HWMON) += hwmon.o
|
|
nvme-core-$(CONFIG_NVME_AUTH) += auth.o
|
|
|
|
nvme-y += pci.o
|
|
|
|
nvme-fabrics-y += fabrics.o
|
|
|
|
nvme-rdma-y += rdma.o
|
|
|
|
nvme-fc-y += fc.o
|
|
|
|
nvme-tcp-y += tcp.o
|
|
|
|
nvme-apple-y += apple.o
|