diff options
| author | Bart Van Assche <[email protected]> | 2019-08-08 20:01:58 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-08-12 21:34:07 -0400 |
| commit | df95f39ae76474d922d9be9c0260dc263c451b09 (patch) | |
| tree | 47698528c0b6b46d5ae269c2ed9c4d697c112559 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | fb3250974a484882caf10605ebff9ecb23773475 (diff) | |
scsi: qla2xxx: Introduce the be_id_t and le_id_t data types for FC src/dst IDs
Introduce the be_id_t and le_id_t data types for Fibre Channel source and
destination ID formats supported by the firmware instead of using an
uint8_t[3] array. Introduce functions for converting from and to the
port_id_t data types. This patch does not change the behavior of the
qla2xxx driver but improves source code readability and also allows the
compiler to verify the endianness of Fibre Channel IDs.
Cc: Himanshu Madhani <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Tested-by: Himanshu Madhani <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions