]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mlxsw: spectrum: Iterate over all ports in gap during unsplit create
authorJiri Pirko <jiri@mellanox.com>
Thu, 31 Oct 2019 09:42:20 +0000 (11:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 17:54:47 +0000 (10:54 -0700)
commitfbbeea31026767706f0644f14c3cf13cbc2fa3c8
treecc5b5b0bdf183a6a4b9ff2761cc532bcd1e6d2dd
parentc3a64b5173e1416cf3d982b02e1c1b918382f701
mlxsw: spectrum: Iterate over all ports in gap during unsplit create

During recreation of original unsplit ports, just simply iterate over
the whole gap and recreate whatever originally existed.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Shalom Toledo <shalomt@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c