aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/dsa.c
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2021-01-07 01:24:01 +0000
committerJakub Kicinski <[email protected]>2021-01-07 23:42:07 +0000
commita5e3c9ba9258dbe55cba0cc3804675c9f1eaa169 (patch)
treef2ab6844b4e4e92a0ff13140de09bd733dce26c2 /net/dsa/dsa.c
parentnet: dsa: move the Broadcom tag information in a separate header file (diff)
downloadkernel-a5e3c9ba9258dbe55cba0cc3804675c9f1eaa169.tar.gz
kernel-a5e3c9ba9258dbe55cba0cc3804675c9f1eaa169.zip
net: dsa: export dsa_slave_dev_check
Using the NETDEV_CHANGEUPPER notifications, drivers can be aware when they are enslaved to e.g. a bridge by calling netif_is_bridge_master(). Export this helper from DSA to get the equivalent functionality of determining whether the upper interface of a CHANGEUPPER notifier is a DSA switch interface or not. Signed-off-by: Vladimir Oltean <[email protected]> Acked-by: Florian Fainelli <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions