Vivien Didelot
f070464cf0
net: dsa: setup and teardown default CPU port
...
The dsa_dst_parse function called just before dsa_dst_apply does not
parse the tree but does only one thing: it assigns the default CPU port
to dst->cpu_dp and to each user ports.
This patch simplifies this by calling a dsa_tree_setup_default_cpu
function at the beginning of dsa_dst_apply directly.
A dsa_port_is_user helper is added for convenience.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-09 09:26:49 +09:00
..
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-04 22:33:06 +09:00
2017-11-02 11:10:55 +01:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-10-17 08:09:47 +02:00
2017-11-04 09:26:51 +09:00
2017-09-26 13:36:44 -07:00
2017-11-08 14:22:50 +09:00
2017-11-02 11:10:55 +01:00
2017-11-04 09:26:51 +09:00
2017-11-02 11:10:55 +01:00
2017-11-08 15:56:12 +09:00
2017-08-09 16:57:38 -07:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-10-18 09:12:40 +01:00
2017-11-09 09:26:49 +09:00
2017-06-16 11:48:40 -04:00
2017-10-25 13:00:27 +09:00
2017-11-04 09:26:51 +09:00
2017-11-01 12:19:03 +09:00
2017-11-08 14:22:50 +09:00
2017-11-08 14:22:50 +09:00
2017-11-04 09:26:51 +09:00
2017-07-03 02:31:22 -07:00
2017-11-04 09:26:51 +09:00
2017-08-15 20:23:23 -07:00
2017-11-04 09:26:51 +09:00
2016-09-10 23:12:53 -07:00
2017-10-18 12:39:36 +01:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-11-03 15:44:10 +09:00
2017-11-08 14:22:50 +09:00
2017-11-02 11:10:55 +01:00
2017-11-04 09:26:51 +09:00
2017-11-01 20:46:41 +09:00
2017-11-04 09:26:51 +09:00
2017-11-08 16:12:33 +09:00
2017-11-08 16:12:33 +09:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-11-01 12:19:03 +09:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-06-13 11:07:51 +02:00
2017-10-22 02:02:26 +01:00
2017-11-04 09:26:51 +09:00
2017-11-08 12:23:38 +09:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-10-25 10:37:11 +09:00
2017-11-04 09:26:51 +09:00
2017-08-07 14:48:48 -07:00
2017-11-04 09:26:51 +09:00
2017-09-14 09:55:21 -07:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-11-02 11:10:55 +01:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-09-20 15:36:18 -07:00
2017-09-04 13:25:20 +02:00
2017-11-02 11:10:55 +01:00
2017-08-16 11:27:52 -07:00
2017-04-16 23:42:49 -05:00