]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
nvme: tcp: selects CRYPTO_CRC32C for nvme-tcp
authorMinwoo Im <minwoo.im.dev@gmail.com>
Sun, 14 Jul 2019 08:18:42 +0000 (17:18 +0900)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 29 Aug 2019 19:55:01 +0000 (12:55 -0700)
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@lst.de>
Cc: Keith Busch <kbusch@kernel.org>
Cc: Jens Axboe <axboe@fb.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/Kconfig

index ec43ac9199e29e1f3ec3695199e0e97528f38d07..2b36f052bfb91ac53dbf173729dd86945b064551 100644 (file)
@@ -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