diff options
| author | Vivien Didelot <[email protected]> | 2017-10-16 11:12:15 -0400 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-18 12:24:33 +0100 |
| commit | d945097bb19501bd95790d8220d4eeb418b6ebb2 (patch) | |
| tree | ff83357b296408d65537c9e04f5880cf0dba7aff /tools/perf/scripts/python/bin | |
| parent | 6158eaa7a717b469b1b0c0ae6d79910737686279 (diff) | |
net: dsa: add slave to port helper
Many portions of DSA core code require to get the dsa_port structure
corresponding to a slave net_device. For this purpose, introduce a
dsa_slave_to_port() helper.
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/bin')
0 files changed, 0 insertions, 0 deletions