aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTyrel Datwyler <[email protected]>2020-11-17 19:11:02 -0600
committerMartin K. Petersen <[email protected]>2020-11-19 22:09:11 -0500
commit5a9d16f71c264addd7ed6fffd8f27839b0ad8433 (patch)
treef74e854c7431b835639a6b6f8b6f691a33a2ee28 /tools/perf/scripts/python
parenta318c2b71ccee720134e9a43b9b1afbea50f0578 (diff)
scsi: ibmvfc: Add FC payload retrieval routines for versioned vfcFrames
The FC iu and response payloads are located at different offsets depending on the ibmvfc_cmd version. This is a result of the version 2 vfcFrame definition adding an extra 64bytes of reserved space to the structure prior to the payloads. Add helper routines to determine the current vfcFrame version and return a pointer to the proper iu or response structure within that ibmvfc_cmd. Link: https://lore.kernel.org/r/[email protected] Acked-by: Brian King <[email protected]> Signed-off-by: Tyrel Datwyler <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions