commit | ccc3e6b0191c58784c4b4ffc735f81970df33a11 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Fri Sep 18 21:11:03 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 18 18:17:45 2020 -0700 |
tree | 6b23909ce6c621dae8178433c422d8a600b89dfa | |
parent | d4602a9f47196dd62deba66ec361b5897f1ae62b [diff] |
net: dsa: Add helper to convert from devlink to ds Given a devlink instance, return the dsa switch it is associated to. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>