commit | a133318cde2000a3264032ea3b561c9054613486 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Fri Feb 26 17:32:30 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 01 16:07:30 2016 -0500 |
tree | e202e6321602b6e83a618e666a2cbb71a8162dd1 | |
parent | 558c2d5e52142fc503f79bec89413724cfc37bdd [diff] |
mlxsw: spectrum: Mark unused ports using NULL When splitting and unsplitting we'll destroy usable ports on the fly, so mark them using a NULL pointer to indicate that their local port number is free and can be re-used. 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>