mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
qed: health reporter init deinit seq
Here we declare health reporter ops (empty for now) and register these in qed probe and remove callbacks. This way we get devlink attached to all kind of qed* PCI device entities: networking or storage offload entity. Signed-off-by: Igor Russkikh <irusskikh@marvell.com> Signed-off-by: Alexander Lobakin <alobakin@marvell.com> Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
53916a67c3
commit
9524067b9a
3 changed files with 38 additions and 0 deletions
|
@ -782,6 +782,7 @@ enum qed_nvm_flash_cmd {
|
|||
|
||||
struct qed_devlink {
|
||||
struct qed_dev *cdev;
|
||||
struct devlink_health_reporter *fw_reporter;
|
||||
};
|
||||
|
||||
struct qed_common_cb_ops {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue