]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: zfcp: introduce sysfs interface to read the local B2B-Credit
authorBenjamin Block <bblock@linux.ibm.com>
Fri, 25 Oct 2019 16:12:49 +0000 (18:12 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Oct 2019 02:16:15 +0000 (22:16 -0400)
commit5a2876f0d1ef26b76755749f978d46e4666013dd
treea52675d25d3795de241d642ca2e603cf1c5351ab
parent8155eb0785279728b6b2e29aba2ca52d16aa526f
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>
drivers/s390/scsi/zfcp_sysfs.c