diff options
| author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | 2019-12-10 02:49:13 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-04 19:18:55 +0100 |
| commit | 1d96309527c83d6d5fe4f429b675c70ca0f33829 (patch) | |
| tree | 711a70d7537e9b408f09ca693232f64bcadee267 /include/linux/workqueue.h | |
| parent | 5575705b998e7bd47acfbfa9271ee946b2876ec8 (diff) | |
bnxt_en: Add missing devlink health reporters for VFs.
[ Upstream commit 7e334fc8003c7a38372cc98e7be6082670a47d29 ]
The VF driver also needs to create the health reporters since
VFs are also involved in firmware reset and recovery. Modify
bnxt_dl_register() and bnxt_dl_unregister() so that they can
be called by the VFs to register/unregister devlink. Only the PF
will register the devlink parameters. With devlink registered,
we can now create the health reporters on the VFs.
Fixes: 6763c779c2d8 ("bnxt_en: Add new FW devlink_health_reporter")
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
