diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2018-10-18 17:40:40 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-10-19 14:22:24 +0200 |
commit | b7c7be6f6bd28ffea7f608ac2d806b8a4bdc82fe (patch) | |
tree | eb4a21a9f531055161d0fc348633b38c15d7b664 /drivers/nvme/host/fabrics.h | |
parent | bb59b8e57493465fac8658bba103f7c4cc5d874a (diff) |
nvme-fabrics: move controller options matching to fabrics
IP transports will most likely use the same controller options
matching when detecting a duplicate connect. Move it to
fabrics.
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/fabrics.h')
-rw-r--r-- | drivers/nvme/host/fabrics.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nvme/host/fabrics.h b/drivers/nvme/host/fabrics.h index aa2fdb2a2e8f..6ea6275f332a 100644 --- a/drivers/nvme/host/fabrics.h +++ b/drivers/nvme/host/fabrics.h @@ -166,6 +166,8 @@ blk_status_t nvmf_fail_nonready_command(struct nvme_ctrl *ctrl, struct request *rq); bool __nvmf_check_ready(struct nvme_ctrl *ctrl, struct request *rq, bool queue_live); +bool nvmf_ip_options_match(struct nvme_ctrl *ctrl, + struct nvmf_ctrl_options *opts); static inline bool nvmf_check_ready(struct nvme_ctrl *ctrl, struct request *rq, bool queue_live) |