-
Notifications
You must be signed in to change notification settings - Fork 54.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Reviewed-by: Thomas Graf <[email protected]> Reviewed-by: John Fastabend <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information
Showing
7 changed files
with
2,528 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7865,6 +7865,13 @@ F: drivers/hid/hid-roccat* | |
F: include/linux/hid-roccat* | ||
F: Documentation/ABI/*/sysfs-driver-hid-roccat* | ||
|
||
ROCKER DRIVER | ||
M: Jiri Pirko <[email protected]> | ||
M: Scott Feldman <[email protected]> | ||
L: [email protected] | ||
S: Supported | ||
F: drivers/net/ethernet/rocker/ | ||
|
||
ROCKETPORT DRIVER | ||
P: Comtrol Corp. | ||
W: http://www.comtrol.com | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# | ||
# Makefile for the Rocker network device drivers. | ||
# | ||
|
||
obj-$(CONFIG_ROCKER) += rocker.o |
Oops, something went wrong.