]> 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)
commitb8d040aa8c49dae84e49fd4a37e78a3cb3d3ea72
tree4a77e55ec6b9b1a6293686e2214504d114f66682
parent5627569f95fa64208a7fd610dff0025c2d5b5233
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