commit | 3e9b27b8fc8b00c9edaaa5fd64636e6f2b331f43 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Fri Feb 26 17:32:28 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 01 16:07:30 2016 -0500 |
tree | 451afc881ced4339822b4aa72ba5242436e4216e | |
parent | 284ef8035708334df99d038da1d3c7ddf77ec1bd [diff] |
mlxsw: spectrum: Unmap local port from module during teardown When splitting a port we replace it with 2 or 4 other ports. To be able to do that we need to remove the original port netdev and unmap it from its module. However, we first mark it as disabled, as active ports cannot be unmapped. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>