diff options
author | Jiri Pirko <jiri@resnulli.us> | 2014-11-28 16:34:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-03 07:01:24 +0300 |
commit | 4b8ac9660af07be6f6602b523929793eed314997 (patch) | |
tree | 031c8e3a4e2f62c24b797fec76f2f4f7204348e5 /drivers/net/ethernet/rocker/Kconfig | |
parent | 2c3c031c8f8930861815fa1685d7c5e8ccec047c (diff) | |
download | linux-4b8ac9660af07be6f6602b523929793eed314997.tar.xz |
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/Kconfig | 27 |
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 |