Skip to contentSkip to conversation

nvme: tcp: selects CRYPTO_CRC32C for nvme-tcp

PATCH New Minwoo Im 2 participants 3 messages Jul 14, 2019 – Aug 1, 2019 NVMe

lore
Share & tools
lore

Minwoo Im

author
#0 lore raw

PATCH 1/1 nvme: tcp: selects CRYPTO_CRC32C for nvme-tcp

The tcp host module is now taking those APIs from crypto ahash:

	(1) crypto_ahash_final()
	(2) crypto_ahash_digest()
	(3) crypto_alloc_ahash()

nvme-tcp should depends on CRYPTO_CRC32C.

Cc Christoph Hellwig <hch at lst.de>
Cc Keith Busch <kbusch at kernel.org>
Cc Sagi Grimberg <sagi at grimberg.me>
Cc Jens Axboe <axboe at fb.com>
Signed-off-by Minwoo Im <minwoo.im.dev at gmail.com>
---
 drivers/nvme/host/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/nvme/host/Kconfig +1 -0
index ec43ac9199e2..2b36f052bfb9 100644
@@ -64,6 +64,7 @@ config NVME_TCP
 	depends on INET
 	depends on BLK_DEV_NVME
 	select NVME_FABRICS
+	select CRYPTO_CRC32C
 	help
 	  This provides support for the NVMe over Fabrics protocol using
 	  the TCP transport.  This allows you to use remote block devices
Signature · 1 line
2.17.1
maintainer
#1 lore raw

PATCH 1/1 nvme: tcp: selects CRYPTO_CRC32C for nvme-tcp

Reviewed-by Sagi Grimberg <sagi at grimberg.me>