linux-brain/drivers/nvme/target
Amit Engel eb45ae88bf nvmet: pass back cntlid on successful completion
[ Upstream commit e804d5abe2d74cfe23f5f83be580d1cdc9307111 ]

According to the NVMe specification, the response dword 0 value of the
Connect command is based on status code: return cntlid for successful
compeltion return IPO and IATTR for connect invalid parameters.  Fix
a missing error information for a zero sized queue, and return the
cntlid also for I/O queue Connect commands.

Signed-off-by: Amit Engel <amit.engel@dell.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-15 09:47:27 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile nvmet: introduce target-side trace 2019-06-21 11:15:46 +02:00
admin-cmd.c nvmet: fix a wrong error status returned in error log page 2019-09-12 08:50:46 -07:00
configfs.c nvmet: Fix use-after-free bug when a port is removed 2019-07-31 17:57:06 -07:00
core.c nvmet: don't check iosqes,iocqes for discovery controllers 2021-03-24 11:26:38 +01:00
discovery.c nvmet: Use PTR_ERR_OR_ZERO() in nvmet_init_discovery() 2019-09-12 08:50:46 -07:00
fabrics-cmd.c nvmet: pass back cntlid on successful completion 2021-09-15 09:47:27 +02:00
fc.c nvmet-fc: do not check for invalid target port in nvmet_fc_handle_fcp_rqst() 2021-07-14 16:53:18 +02:00
fcloop.c nvme-fc: Revert "add module to ops template to allow module references" 2020-04-17 10:50:10 +02:00
io-cmd-bdev.c nvmet: change ppl to lpp 2019-09-23 13:59:49 -07:00
io-cmd-file.c nvmet: seset ns->file when open fails 2021-05-26 12:05:15 +02:00
loop.c nvme-loop: check for NVME_LOOP_Q_LIVE in nvme_loop_destroy_admin_queue() 2021-06-18 09:58:59 +02:00
nvmet.h nvmet: Fix use-after-free bug when a port is removed 2019-07-31 17:57:06 -07:00
rdma.c nvmet-rdma: Fix list_del corruption on queue establishment failure 2021-01-19 18:26:15 +01:00
tcp.c nvme-tcp: can't set sk_user_data without write_lock 2021-07-20 16:10:50 +02:00
trace.c nvmet: trace: parse Get LBA Status command in detail 2019-08-29 12:55:01 -07:00
trace.h nvmet: fix a NULL pointer dereference when tracing the flush command 2020-11-10 12:37:30 +01:00