diff options
| author | Martin K. Petersen <[email protected]> | 2021-06-08 23:39:15 -0400 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-07-20 22:08:55 -0400 |
| commit | 7ba46799d34695534666a3f71a2be10ea85ece6c (patch) | |
| tree | 02ff462025963230e3d890b873b58b692a353be7 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | f339c7e491a8150d416d4aa657fe379c20fe6b79 (diff) | |
scsi: core: Add scsi_prot_ref_tag() helper
We are about to remove the request pointer from struct scsi_cmnd and that
will complicate getting to the ref_tag via t10_pi_ref_tag() in the various
drivers. Introduce a helper function to retrieve the reference tag so
drivers will not have to worry about the details.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Benjamin Block <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Message-Id: <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions