-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jiri Pirko says: ==================== Introduce Mellanox Technologies Switch ASICs switchdev drivers This patchset introduces Mellanox Technologies Switch driver infrastructure and support for SwitchX-2 ASIC. The driver is divided into 3 logical parts: 1) Bus - implements switch bus interface. Currently only PCI bus is implemented, but more buses will be added in the future. Namely I2C and SGMII. (patch #2) 2) Driver - implemements of ASIC-specific functions. Currently SwitchX-2 ASIC is supported, but a plan exists to introduce support for Spectrum ASIC in the near future. (patch #4) 3) Core - infrastructure that glues buses and drivers together. It implements register access logic (EMADs) and takes care of RX traps and events. (patch #1 and #3) ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Showing
17 changed files
with
8,236 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
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
|
||
obj-$(CONFIG_MLX4_CORE) += mlx4/ | ||
obj-$(CONFIG_MLX5_CORE) += mlx5/core/ | ||
obj-$(CONFIG_MLXSW_CORE) += mlxsw/ |
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,32 @@ | ||
# | ||
# Mellanox switch drivers configuration | ||
# | ||
|
||
config MLXSW_CORE | ||
tristate "Mellanox Technologies Switch ASICs support" | ||
---help--- | ||
This driver supports Mellanox Technologies Switch ASICs family. | ||
|
||
To compile this driver as a module, choose M here: the | ||
module will be called mlxsw_core. | ||
|
||
config MLXSW_PCI | ||
tristate "PCI bus implementation for Mellanox Technologies Switch ASICs" | ||
depends on PCI && MLXSW_CORE | ||
default m | ||
---help--- | ||
This is PCI bus implementation for Mellanox Technologies Switch ASICs. | ||
|
||
To compile this driver as a module, choose M here: the | ||
module will be called mlxsw_pci. | ||
|
||
config MLXSW_SWITCHX2 | ||
tristate "Mellanox Technologies SwitchX-2 support" | ||
depends on MLXSW_CORE && NET_SWITCHDEV | ||
default m | ||
---help--- | ||
This driver supports Mellanox Technologies SwitchX-2 Ethernet | ||
Switch ASICs. | ||
|
||
To compile this driver as a module, choose M here: the | ||
module will be called mlxsw_switchx2. |
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,6 @@ | ||
obj-$(CONFIG_MLXSW_CORE) += mlxsw_core.o | ||
mlxsw_core-objs := core.o | ||
obj-$(CONFIG_MLXSW_PCI) += mlxsw_pci.o | ||
mlxsw_pci-objs := pci.o | ||
obj-$(CONFIG_MLXSW_SWITCHX2) += mlxsw_switchx2.o | ||
mlxsw_switchx2-objs := switchx2.o |
Oops, something went wrong.