Ido Schimmel
bf4e9f24a8
mlxsw: spectrum: Do not try to create non-existing ports during unsplit
...
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.
This avoids the following error during unsplit:
[ 941.012478] mlxsw_spectrum 0000:01:00.0: Port 43: Failed to map module
The error is harmless and caused by the fact that a local port is
already mapped to module 0.
Fixes: be94535f95 ("mlxsw: spectrum: Make split flow match firmware requirements")
Signed-off-by: Ido Schimmel <idosch@mellanox.com >
Reviewed-by: Arkadi Sharshevsky <arkadis@mellanox.com >
Signed-off-by: Jiri Pirko <jiri@mellanox.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-11-21 20:15:22 +09:00
..
2017-11-02 11:10:55 +01:00
2017-11-17 14:51:24 -08:00
2017-11-14 16:54:12 -08:00
2017-11-16 09:10:59 -08:00
2017-11-15 14:11:41 -08:00
2017-11-15 11:56:19 -08:00
2017-11-13 17:56:58 -08:00
2017-11-17 14:49:25 -08:00
2017-11-15 11:56:19 -08:00
2017-11-17 10:56:56 -08:00
2017-11-04 09:26:51 +09:00
2017-11-16 16:05:01 -08:00
2017-11-14 15:32:19 -08:00
2017-11-17 11:54:55 -08:00
2017-11-17 20:04:24 -08:00
2017-11-16 13:00:24 -08:00
2017-10-22 02:22:39 +01:00
2017-11-13 19:43:50 -08:00
2017-11-16 12:47:46 -08:00
2017-11-16 12:47:46 -08:00
2017-11-17 09:51:57 -08:00
2017-11-13 01:41:39 +01:00
2017-11-02 11:10:55 +01:00
2017-11-14 16:49:31 -08:00
2017-11-17 14:58:01 -08:00
2017-11-15 13:46:33 -08:00
2017-11-02 11:10:55 +01:00
2017-11-13 21:14:07 -08:00
2017-11-13 17:56:58 -08:00
2017-11-17 20:14:10 -08:00
2017-11-02 11:10:55 +01:00
2017-11-16 09:10:59 -08:00
2017-11-16 10:57:11 -08:00
2017-11-17 14:34:42 -08:00
2017-11-15 13:46:33 -08:00
2017-11-15 13:35:43 -08:00
2017-11-16 09:10:59 -08:00
2017-11-16 01:03:19 -08:00
2017-11-17 20:16:20 -08:00
2017-11-16 09:10:59 -08:00
2017-11-17 11:54:55 -08:00
2017-11-17 10:56:56 -08:00
2017-11-13 01:34:14 +01:00
2017-11-14 14:44:04 -08:00
2017-11-16 08:55:30 -08:00
2017-11-14 18:07:18 -08:00
2017-11-14 16:43:27 -08:00
2017-11-16 14:05:12 -08:00
2017-11-16 22:31:16 +09:00
2017-11-14 18:09:31 -08:00
2017-11-14 15:32:19 -08:00
2017-11-13 17:56:58 -08:00
2017-11-15 13:39:18 -08:00
2017-11-02 11:10:55 +01:00
2017-11-17 10:56:56 -08:00
2017-11-16 11:41:22 -08:00
2017-11-16 16:05:01 -08:00
2017-11-13 17:56:58 -08:00
2017-11-15 13:46:33 -08:00
2017-11-16 09:15:57 -08:00
2017-11-17 16:10:01 -08:00
2017-11-13 10:17:35 -08:00
2017-11-17 11:54:55 -08:00
2017-11-21 20:15:22 +09:00
2017-11-15 11:56:19 -08:00
2017-11-13 12:10:24 -08:00
2017-11-17 09:51:57 -08:00
2017-11-16 11:27:04 -07:00
2017-11-16 09:10:59 -08:00
2017-11-16 16:05:01 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-16 09:10:59 -08:00
2017-11-15 15:01:28 -08:00
2017-11-17 16:10:04 -08:00
2017-11-15 10:56:56 -08:00
2017-11-13 21:14:07 -08:00
2017-11-16 10:57:11 -08:00
2017-11-15 13:46:33 -08:00
2017-11-02 11:10:55 +01:00
2017-11-15 13:37:15 -08:00
2017-11-16 13:06:27 -08:00
2017-11-02 11:10:55 +01:00
2017-11-17 16:56:17 -08:00
2017-11-13 17:56:58 -08:00
2017-11-16 09:15:57 -08:00
2017-11-17 20:14:10 -08:00
2017-11-16 16:05:01 -08:00
2017-11-17 20:12:08 -08:00
2017-11-13 17:56:58 -08:00
2017-11-17 14:23:52 -08:00
2017-11-17 20:21:44 -08:00
2017-11-17 12:38:51 -08:00
2017-11-14 16:54:12 -08:00
2017-11-16 16:05:01 -08:00
2017-11-10 21:33:51 +00:00
2017-11-02 11:10:55 +01:00
2017-11-17 12:38:51 -08:00
2017-11-14 14:44:04 -08:00
2017-11-02 11:10:55 +01:00
2017-11-17 14:31:27 -08:00
2017-11-16 09:10:59 -08:00
2017-11-17 11:54:55 -08:00
2017-11-02 11:10:55 +01:00
2017-11-14 18:01:46 -08:00
2017-11-02 11:10:55 +01:00
2017-11-14 16:47:47 -08:00
2017-11-17 12:08:18 -08:00
2017-11-17 12:38:51 -08:00
2017-11-14 23:57:38 +02:00
2017-11-16 09:10:59 -08:00
2017-11-16 09:10:59 -08:00
2017-11-17 16:10:04 -08:00
2017-11-17 12:08:18 -08:00
2017-11-02 11:10:55 +01:00
2017-11-13 01:40:52 +01:00
2017-11-13 01:40:52 +01:00