qed: health reporter init deinit seq
authorIgor Russkikh <irusskikh@marvell.com>
Sun, 23 Aug 2020 11:19:29 +0000 (14:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2020 01:01:32 +0000 (18:01 -0700)
commit9524067b9a91dce2a096a0de7727c217495e3d2e
tree4a77e55ec6b9b1a6293686e2214504d114f66682
parent53916a67c3306bf3afbd1cbf6ea847aa0ef3c21c
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>
drivers/net/ethernet/qlogic/qed/qed_devlink.c
drivers/net/ethernet/qlogic/qed/qed_devlink.h
include/linux/qed/qed_if.h