aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDean Balandin <[email protected]>2021-06-02 21:42:42 +0300
committerDavid S. Miller <[email protected]>2021-06-03 14:11:21 -0700
commit4b8178ec5794f93c71950fdfb1cb5465f6f2e154 (patch)
tree5135a228b6420cf3f76ff9b7a0268b194d0f2a46 /tools/perf/scripts/python
parentaf527935bd5a3eb88af425a2a973211e06df6423 (diff)
nvme-tcp-offload: Add device scan implementation
As part of create_ctrl(), it scans the registered devices and calls the claim_dev op on each of them, to find the first devices that matches the connection params. Once the correct devices is found (claim_dev returns true), we raise the refcnt of that device and return that device as the device to be used for ctrl currently being created. Acked-by: Igor Russkikh <[email protected]> Signed-off-by: Dean Balandin <[email protected]> Signed-off-by: Prabhakar Kushwaha <[email protected]> Signed-off-by: Omkar Kulkarni <[email protected]> Signed-off-by: Michal Kalderon <[email protected]> Signed-off-by: Ariel Elior <[email protected]> Signed-off-by: Shai Malin <[email protected]> Reviewed-by: Himanshu Madhani <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions