]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8dee272510d8553155933b59928834f2ace4eaf9
tree4a77e55ec6b9b1a6293686e2214504d114f66682
parent1e5798df793f39a0ed3ba94fdb83f808de66ebe3
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