Re: [patch net] mlxsw: spectrum: Mark split ports as such

2016-12-17 Thread David Miller
From: Jiri Pirko Date: Fri, 16 Dec 2016 19:29:03 +0100 > From: Ido Schimmel > > When a port is split we should mark it as such, as otherwise the split > ports aren't renamed correctly (e.g. sw1p3 -> sw1p3s1) and the unsplit > operation fails: > > $ devlink port split sw1p3 count 4 > $ devlink

[patch net] mlxsw: spectrum: Mark split ports as such

2016-12-16 Thread Jiri Pirko
From: Ido Schimmel When a port is split we should mark it as such, as otherwise the split ports aren't renamed correctly (e.g. sw1p3 -> sw1p3s1) and the unsplit operation fails: $ devlink port split sw1p3 count 4 $ devlink port unsplit eth0 devlink answers: Invalid argument [ 598.565307] mlxsw_