diff options
author | Jiri Pirko <jiri@mellanox.com> | 2016-10-28 21:35:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-30 16:50:17 -0400 |
commit | 67963a33b4fde8f77b046f80daf83afc6e126991 (patch) | |
tree | cfc60a14421cde82d9081dff8a1ec6d1f1899383 /drivers/pcmcia/soc_common.h | |
parent | 7136793e4a44651b273a457e31f00a51751dd123 (diff) | |
download | linux-67963a33b4fde8f77b046f80daf83afc6e126991.tar.bz2 |
mlxsw: Make devlink port instances independent of spectrum/switchx2 port instances
Currently, devlink register/unregister is done directly from
spectrum/switchx2 port create/remove functions. With a need to
introduce a port type change, the devlink port instances have to be
persistent across type changes, therefore across port create/remove
function calls. So do a bit of reshuffling to achieve that.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Elad Raz <eladr@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pcmcia/soc_common.h')
0 files changed, 0 insertions, 0 deletions