diff options
| author | Vivien Didelot <[email protected]> | 2017-11-03 19:05:24 -0400 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-11-05 22:31:39 +0900 |
| commit | 1ca28ec9abff927178b1ea9d6431e4c320145b10 (patch) | |
| tree | ee3531e3e3d447b35c2a9cdf5f037014af5f9466 /tools/perf/scripts/python | |
| parent | 65254108b4655dc55e8d8f62ee895960085e73f4 (diff) | |
net: dsa: provide a find or new tree helper
Rename dsa_get_dst to dsa_tree_find since it doesn't increment the
reference counter, rename dsa_add_dst to dsa_tree_alloc for symmetry
with dsa_tree_free, and provide a convenient dsa_tree_touch function to
find or allocate a new tree.
Signed-off-by: Vivien Didelot <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions