commit | 794b2c05ca1c4ded4a023d11833e3855a0ed6ea8 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Apr 25 15:59:54 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 26 01:52:03 2019 -0400 |
tree | 5230f4fd38b88f53e70baba251cda58074b1a40f | |
parent | 8320d145912738655cf631d27aa1829d8b17804e [diff] |
netdevsim: extend device attrs to support port addition and deletion In order to test flows in core, it is beneficial to maintain previously supported possibility to add and delete ports during netdevsim lifetime. Do it by extending device sysfs attrs by "new_port" and "del_port". Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>