diff options
| author | Daniel Wagner <[email protected]> | 2019-09-24 09:29:06 +0200 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-09-30 23:04:34 -0400 |
| commit | c3dde2f3fe6aa48ed4650e103d23aac8f9620ddd (patch) | |
| tree | 5a1604fe525009a6a0c69faa998f2ba0ba08cd7c /tools/perf/scripts/python | |
| parent | e6d6ba8014e5205d66e3711047463f04132c3b1e (diff) | |
scsi: qedf: Add port_id getter
Add qedf_get_host_port_id() to the transport template.
The fc_transport_template initializes the port_id member to the default
value of -1. The new getter ensures that the sysfs entry shows the current
value and not the default one, e.g by using 'lsscsi -H -t'
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Wagner <[email protected]>
Acked-by: Saurav Kashyap <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions