diff options
author | Benjamin Block <bblock@linux.ibm.com> | 2019-10-25 18:12:49 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-10-28 22:16:15 -0400 |
commit | 5a2876f0d1ef26b76755749f978d46e4666013dd (patch) | |
tree | a52675d25d3795de241d642ca2e603cf1c5351ab /drivers/s390/scsi/zfcp_ccw.c | |
parent | scsi: zfcp: implicitly refresh port-data diagnostics when reading sysfs (diff) | |
download | linux-dev-5a2876f0d1ef26b76755749f978d46e4666013dd.tar.xz linux-dev-5a2876f0d1ef26b76755749f978d46e4666013dd.zip |
scsi: zfcp: introduce sysfs interface to read the local B2B-Credit
In addition to the diagnostic data from the local SFP transceiver this
patch adds an interface to read the advertised buffer-to-buffer credit from
the local FC_Port.
With this patch the userspace-interface will only read data stored in the
corresponding "diagnostic buffer" (that was stored during completion of a
previous Exchange Config Data command). Implicit updating will follow later
in this series.
Link: https://lore.kernel.org/r/8a53aef87b53c50cfb1a3425b799bacb6f82b832.1572018132.git.bblock@linux.ibm.com
Reviewed-by: Steffen Maier <maier@linux.ibm.com>
Signed-off-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_ccw.c')
0 files changed, 0 insertions, 0 deletions