]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qedf: Implement callback for bw_update
authorSaurav Kashyap <skashyap@marvell.com>
Thu, 16 Apr 2020 08:43:11 +0000 (01:43 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 17 Apr 2020 21:55:27 +0000 (17:55 -0400)
commitfd25f55c8bcdb6a2a8f8571e96365b267ec7c7c0
tree49f98d67f1492c0662731318a51cbd712f8dab4a
parentbea2eb6629a3e5743aa13c14403fd9b12bdf4b92
scsi: qedf: Implement callback for bw_update

Add support for the common qed bw_update callback to qedf.  This function
is called whenever there is a reported change in the bandwidth and updates
corresponding values in sysfs.

Link: https://lore.kernel.org/r/20200416084314.18851-7-skashyap@marvell.com
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedf/qedf_main.c