diff options
author | Vikas Gupta <vikas.gupta@broadcom.com> | 2022-08-22 18:06:52 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-24 01:32:13 +0300 |
commit | 574b2bb9692fd3d45ed631ac447176d4679f3010 (patch) | |
tree | 355445530fd93062c468f6f51dcba952f8f63106 /drivers | |
parent | 7dd3de7cb1d657a918c6b2bc673c71e318aa0c05 (diff) | |
download | linux-574b2bb9692fd3d45ed631ac447176d4679f3010.tar.xz |
bnxt_en: set missing reload flag in devlink features
Add missing devlink_set_features() API for callbacks reload_down
and reload_up to function.
Fixes: 228ea8c187d8 ("bnxt_en: implement devlink dev reload driver_reinit")
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Vikas Gupta <vikas.gupta@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c b/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c index 059f96f7a96f..a36803e79e92 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c @@ -1306,6 +1306,7 @@ int bnxt_dl_register(struct bnxt *bp) if (rc) goto err_dl_port_unreg; + devlink_set_features(dl, DEVLINK_F_RELOAD); out: devlink_register(dl); return 0; |