diff options
author | Igor Russkikh <irusskikh@marvell.com> | 2020-08-23 14:19:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-24 18:01:32 -0700 |
commit | 9524067b9a91dce2a096a0de7727c217495e3d2e (patch) | |
tree | 4a77e55ec6b9b1a6293686e2214504d114f66682 /include/linux/qed | |
parent | 53916a67c3306bf3afbd1cbf6ea847aa0ef3c21c (diff) | |
download | linux-9524067b9a91dce2a096a0de7727c217495e3d2e.tar.gz linux-9524067b9a91dce2a096a0de7727c217495e3d2e.tar.bz2 linux-9524067b9a91dce2a096a0de7727c217495e3d2e.zip |
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>
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 d8368e1770df..30fe06fe06a0 100644 --- a/include/linux/qed/qed_if.h +++ b/include/linux/qed/qed_if.h @@ -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 { |