diff options
author | Sudarsana Reddy Kalluru <skalluru@marvell.com> | 2020-04-16 11:43:10 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-04-18 00:55:26 +0300 |
commit | 699fed4a2d8e32d77d64928e570d7ffd93a62fdf (patch) | |
tree | 379d9bde1a197a10f3b83ff0fbfc190736e236f9 /include/linux/qed | |
parent | fedc173e46d31b2b3a2744947ac5ea4cb351f6b1 (diff) | |
download | linux-699fed4a2d8e32d77d64928e570d7ffd93a62fdf.tar.xz |
scsi: qed: Send BW update notifications to the protocol drivers
Management firmware (MFW) sends a notification whenever there is a change
in the bandwidth values. Add driver support for sending this notification
to the upper layer drivers (e.g., qedf).
Link: https://lore.kernel.org/r/20200416084314.18851-6-skashyap@marvell.com
Signed-off-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux/qed')
-rw-r--r-- | include/linux/qed/qed_if.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/qed/qed_if.h b/include/linux/qed/qed_if.h index 8f29e0d8a7b3..c4956374a444 100644 --- a/include/linux/qed/qed_if.h +++ b/include/linux/qed/qed_if.h @@ -817,6 +817,7 @@ struct qed_common_cb_ops { void (*dcbx_aen)(void *dev, struct qed_dcbx_get *get, u32 mib_type); void (*get_generic_tlv_data)(void *dev, struct qed_generic_tlvs *data); void (*get_protocol_tlv_data)(void *dev, void *data); + void (*bw_update)(void *dev); }; struct qed_selftest_ops { |