aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/hw/rss_api.py
diff options
context:
space:
mode:
authorKamaljit Singh <[email protected]>2025-07-21 17:36:59 +0000
committerChristoph Hellwig <[email protected]>2025-07-31 13:35:44 +0000
commite715b8733df60aa3280ab3e0de0560c8a72c5c1d (patch)
tree14f2e8309d4df30eaa0d350c03766b154acad198 /tools/testing/selftests/drivers/net/hw/rss_api.py
parentnvmet: add support for FDP in fabrics passthru path (diff)
downloadkernel-e715b8733df60aa3280ab3e0de0560c8a72c5c1d.tar.gz
kernel-e715b8733df60aa3280ab3e0de0560c8a72c5c1d.zip
nvme: add capability to connect to an administrative controller
Add capability to connect to an administrative controller by preventing ioq creation for admin-controllers. Add a nvme_admin_ctrl() to check if a controller's CNTRLTYPE indicates that it is an administrative controller and override ctrl->queue_count to 1 for admin controllers, so that only the admin queue and no I/O queues are created for an administrative controller. This override is done in nvme_init_ctrl_finish() after ctrl->cntrltype has been initialized in nvme_init_identify() so nvme_admin_ctrl() will work correctly. Doing this override in generic code (nvme_init_ctrl_finish) makes it transport agnostic and will work properly for nvme/tcp as well as for nvme/rdma. Suggested-by: Niklas Cassel <[email protected]> Reviewed-by: Damien Le Moal <[email protected]> Reviewed-by: Niklas Cassel <[email protected]> Signed-off-by: Kamaljit Singh <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/rss_api.py')
0 files changed, 0 insertions, 0 deletions