aboutsummaryrefslogtreecommitdiff
path: root/crypto/cbc.c
diff options
context:
space:
mode:
authorLogan Gunthorpe2020-07-24 11:25:18 -0600
committerChristoph Hellwig2020-07-29 07:45:21 +0200
commitba76af676cd0514614b5a99b8adad9d3956f5d7d (patch)
treecb73c45aba647d8ad753e2668231da5b90b510f6 /crypto/cbc.c
parentc1fef73f793b7fd9d2ffcb5ef85807ea55bf7adb (diff)
nvmet: Add passthru enable/disable helpers
This patch adds helper functions which are used in the NVMeOF configfs when the user is configuring the passthru subsystem. Here we ensure that only one subsys is assigned to each nvme_ctrl by using an xarray on the cntlid. The subsystem's version number is overridden by the passed through controller's version. However, if that version is less than 1.2.1, then we bump the advertised version to that and print a warning in dmesg. Based-on-a-patch-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'crypto/cbc.c')
0 files changed, 0 insertions, 0 deletions