aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/rocker/Kconfig
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2014-11-28 14:34:26 +0100
committerDavid S. Miller <davem@davemloft.net>2014-12-02 20:01:24 -0800
commit4b8ac9660af07be6f6602b523929793eed314997 (patch)
tree031c8e3a4e2f62c24b797fec76f2f4f7204348e5 /drivers/net/ethernet/rocker/Kconfig
parentbridge: add brport flags to dflt bridge_getlink (diff)
downloadlinux-dev-4b8ac9660af07be6f6602b523929793eed314997.tar.xz
linux-dev-4b8ac9660af07be6f6602b523929793eed314997.zip
rocker: introduce rocker switch driver
This patch introduces the first driver to benefit from the switchdev infrastructure and to implement newly introduced switch ndos. This is a driver for emulated switch chip implemented in qemu: https://github.com/sfeldma/qemu-rocker/ This patch is a result of joint work with Scott Feldman. Signed-off-by: Scott Feldman <sfeldma@gmail.com> Signed-off-by: Jiri Pirko <jiri@resnulli.us> Reviewed-by: Thomas Graf <tgraf@suug.ch> Reviewed-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/rocker/Kconfig')
-rw-r--r--drivers/net/ethernet/rocker/Kconfig27
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/net/ethernet/rocker/Kconfig b/drivers/net/ethernet/rocker/Kconfig
new file mode 100644
index 000000000000..11a850eab628
--- /dev/null
+++ b/drivers/net/ethernet/rocker/Kconfig
@@ -0,0 +1,27 @@
+#
+# Rocker device configuration
+#
+
+config NET_VENDOR_ROCKER
+ bool "Rocker devices"
+ default y
+ ---help---
+ If you have a network device belonging to this class, say Y.
+
+ Note that the answer to this question doesn't directly affect the
+ kernel: saying N will just cause the configurator to skip all
+ the questions about Rocker devices. If you say Y, you will be asked for
+ your specific card in the following questions.
+
+if NET_VENDOR_ROCKER
+
+config ROCKER
+ tristate "Rocker switch driver (EXPERIMENTAL)"
+ depends on PCI && NET_SWITCHDEV
+ ---help---
+ This driver supports Rocker switch device.
+
+ To compile this driver as a module, choose M here: the
+ module will be called rocker.
+
+endif # NET_VENDOR_ROCKER