diff options
author | Jiri Pirko <jiri@mellanox.com> | 2019-10-03 11:49:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-04 11:10:56 -0700 |
commit | 7f36a77ade6eefc243c64c64b8f8252fa43ea55e (patch) | |
tree | 4ccca921ffeeb18e96f1063471f896c4ee51e3ea /drivers/net/netdevsim/bpf.c | |
parent | mlxsw: Propagate extack down to register_fib_notifier() (diff) | |
download | linux-dev-7f36a77ade6eefc243c64c64b8f8252fa43ea55e.tar.xz linux-dev-7f36a77ade6eefc243c64c64b8f8252fa43ea55e.zip |
netdevsim: add all ports in nsim_dev_create() and del them in destroy()
Currently the probe/remove function does this separately. Put the
addition an deletion of ports into nsim_dev_create() and
nsim_dev_destroy().
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 'drivers/net/netdevsim/bpf.c')
0 files changed, 0 insertions, 0 deletions