]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit6e7c8eea929e547f5f8f453a3d72b36b8e40bf4d
tree49f98d67f1492c0662731318a51cbd712f8dab4a
parent699fed4a2d8e32d77d64928e570d7ffd93a62fdf
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