]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb07c76be419e14a28445780806282191df3c3b7e
tree03a55b7897402e9daa8af64ea2c81d5236f77367
parentdd190584f299443d6b4fd6503b5fafe3aebed28e
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]