Vivien Didelot d945097bb1 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 <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-18 12:24:33 +01:00
..
2017-10-14 18:30:06 -07:00
2017-10-18 12:24:33 +01:00
2017-10-18 12:24:33 +01:00
2017-09-19 16:04:23 -07:00
2017-10-18 12:24:33 +01:00
2017-10-18 12:24:33 +01:00
2017-10-18 12:24:33 +01:00
2017-10-18 12:24:33 +01:00
2017-10-18 12:24:33 +01:00
2017-10-18 12:24:33 +01:00
2017-10-18 12:24:33 +01:00