]> git.baikalelectronics.ru Git - 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)
commit91abb385b6494df84432aa27a012f15d4e104be8
treecc5b5b0bdf183a6a4b9ff2761cc532bcd1e6d2dd
parent2817a5104ca72ac6a2390152c6d0a4360903cd38
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