diff options
| author | Vivien Didelot <[email protected]> | 2017-11-06 16:11:44 -0500 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-11-09 09:26:49 +0900 |
| commit | f070464cf000131928b2c3fd592efd1946610eea (patch) | |
| tree | c7367e2105eeee1c71a3744dae6c22c581f19d50 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 24a9332a58b7f41a0d36c35a2c6897242bffdbc0 (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions