During negative testing it was observed that when ioccsz and/or iorcsz
were cleared to zero on a Target, a new connection to an administrative
controller failed to establish, due to driver validation of those fields.
Since an administrative controller does not support I/O queues, these
checks should be excluded for such a controller.
Kamaljit Singh (2):
nvme-core: add method to check for an I/O controller
nvme-core: do ioccsz/iorcsz validation only for I/O controllers
drivers/nvme/host/core.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
--
2.43.0