net: introduce generic switch devices support
authorJiri Pirko <jiri@resnulli.us>
Fri, 28 Nov 2014 13:34:17 +0000 (14:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Dec 2014 04:01:20 +0000 (20:01 -0800)
commit007f790c8276271de26416f90d55561bcc96588a
tree03a55b7897402e9daa8af64ea2c81d5236f77367
parent02637fce3e0103ba086b9c33b6d529e69460e4b6
net: introduce generic switch devices support

The goal of this is to provide a possibility to support various switch
chips. Drivers should implement relevant ndos to do so. Now there is
only one ndo defined:
- for getting physical switch id is in place.

Note that user can use random port netdevice to access the switch.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Reviewed-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Andy Gospodarek <gospo@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/switchdev.txt [new file with mode: 0644]
MAINTAINERS
include/linux/netdevice.h
include/net/switchdev.h [new file with mode: 0644]
net/Kconfig
net/Makefile
net/switchdev/Kconfig [new file with mode: 0644]
net/switchdev/Makefile [new file with mode: 0644]
net/switchdev/switchdev.c [new file with mode: 0644]