Re: [patch net] mlxsw: spectrum: Do not try to create non-existing ports during unsplit

2017-11-21 Thread David Miller
From: Jiri Pirko Date: Tue, 21 Nov 2017 09:42:21 +0100 > From: Ido Schimmel > > On some systems, when we unsplit a port we need to re-create two ports > instead. On other systems, only one needs to be re-created. > > Do not try to create a port if during

[patch net] mlxsw: spectrum: Do not try to create non-existing ports during unsplit

2017-11-21 Thread Jiri Pirko
From: Ido Schimmel On some systems, when we unsplit a port we need to re-create two ports instead. On other systems, only one needs to be re-created. Do not try to create a port if during driver initialization it was assigned a negative module number, which is invalid.