diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-01-05 08:26:49 -0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-06 09:18:00 -0700 |
commit | 68c6e9cd2fa4f0109364834475628b4b1dd12257 (patch) | |
tree | 36fbac99cef67b28e757ae16e2efd85283f4be3d /drivers/nvme/target/Kconfig | |
parent | 4442b56fb5151e9a7e21c0f73aba5a071f559dce (diff) | |
download | linux-68c6e9cd2fa4f0109364834475628b4b1dd12257.tar.bz2 |
nvmet/rdma: Use sgl_alloc() and sgl_free()
Use the sgl_alloc() and sgl_free() functions instead of open coding
these functions.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme/target/Kconfig')
-rw-r--r-- | drivers/nvme/target/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/target/Kconfig b/drivers/nvme/target/Kconfig index 4d9715630e21..5f4f8b16685f 100644 --- a/drivers/nvme/target/Kconfig +++ b/drivers/nvme/target/Kconfig @@ -29,6 +29,7 @@ config NVME_TARGET_RDMA tristate "NVMe over Fabrics RDMA target support" depends on INFINIBAND depends on NVME_TARGET + select SGL_ALLOC help This enables the NVMe RDMA target support, which allows exporting NVMe devices over RDMA. |