aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2018-11-22 23:29:18 +0000
committerDavid S. Miller <[email protected]>2018-11-24 02:02:24 +0000
commitbb896805611fae33a67edb20820147b8a9ca68a5 (patch)
tree732a4d351de3fba5acd147e702e78955969f249b /net/switchdev/switchdev.c
parentnet: dsa: slave: Handle SWITCHDEV_PORT_OBJ_ADD/_DEL (diff)
downloadkernel-bb896805611fae33a67edb20820147b8a9ca68a5.tar.gz
kernel-bb896805611fae33a67edb20820147b8a9ca68a5.zip
staging: fsl-dpaa2: ethsw: Introduce ethsw_port_dev_check()
ethsw currently uses an open-coded comparison of netdev_ops to determine whether whether a device represents a front panel port. Wrap this into a named function to simplify reuse. Signed-off-by: Petr Machata <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions