diff options
author | Jiri Pirko <jiri@mellanox.com> | 2019-10-03 11:49:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-04 20:10:56 +0200 |
commit | 75ba029f3c07f4755b88ee3a9c441e9ffb468e6a (patch) | |
tree | 3491cf54c166d70d71278bc65bcd7e8382c0fb08 /lib/clz_ctz.c | |
parent | netdevsim: add all ports in nsim_dev_create() and del them in destroy() (diff) | |
download | linux-75ba029f3c07f4755b88ee3a9c441e9ffb468e6a.tar.xz linux-75ba029f3c07f4755b88ee3a9c441e9ffb468e6a.zip |
netdevsim: implement proper devlink reload
During devlink reload, all driver objects should be reinstantiated with
the exception of devlink instance and devlink resources and params.
Move existing devlink_resource_size_get() calls into fib_create() just
before fib notifier is registered. Also, make sure that extack is
propagated down to fib_notifier_register() call.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/clz_ctz.c')
0 files changed, 0 insertions, 0 deletions