diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2021-03-15 15:34:51 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-03-18 05:39:02 +0100 |
commit | d218a8a3003e84ab136e69a4e30dd4ec7dab2d22 (patch) | |
tree | 545ce90ce1854d239f5797a256b22c5a3d04b1f9 /tools/perf/scripts/python/stat-cpi.py | |
parent | c4c6df5fc84659690d4391d1fba155cd94185295 (diff) |
nvmet: don't check iosqes,iocqes for discovery controllers
From the base spec, Figure 78:
"Controller Configuration, these fields are defined as parameters to
configure an "I/O Controller (IOC)" and not to configure a "Discovery
Controller (DC).
...
If the controller does not support I/O queues, then this field shall
be read-only with a value of 0h
Just perform this check for I/O controllers.
Fixes: a07b4970f464 ("nvmet: add a generic NVMe target")
Reported-by: Belanger, Martin <Martin.Belanger@dell.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions