commit | 7f36a77ade6eefc243c64c64b8f8252fa43ea55e | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Oct 03 11:49:35 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 04 11:10:56 2019 -0700 |
tree | 4ccca921ffeeb18e96f1063471f896c4ee51e3ea | |
parent | 5bcfb6a45a614253a65ad45904fba4d93bde372d [diff] |
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>