Files
linux/drivers
Ido Schimmel 9a60c90722 mlxsw: spectrum: Mark split ports as such
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_spectrum 0000:03:00.0 eth0: Port wasn't split

Fixes: 67963a33b4 ("mlxsw: Make devlink port instances independent of spectrum/switchx2 port instances")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reported-by: Tamir Winetroub <tamirw@mellanox.com>
Reviewed-by: Elad Raz <eladr@mellanox.com>
Tested-by: Tamir Winetroub <tamirw@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-17 21:44:51 -05:00
..
2016-11-15 22:34:25 -05:00
2016-11-29 17:35:14 +02:00
2016-11-16 20:46:32 +01:00
2016-12-17 11:56:57 -05:00
2016-09-27 12:33:47 +02:00
2016-11-16 12:39:57 -07:00
2016-09-20 20:57:12 +10:00
2016-11-29 16:43:24 +01:00
2016-11-01 09:04:04 -06:00