define KernelPackage/mlxsw-core
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Mellanox Technologies Switch ASICs support
- DEPENDS:=+kmod-mlxfw +kmod-hwmon-core
+ DEPENDS:=@TARGET_x86_64 +kmod-mlxfw +kmod-hwmon-core
FILES:=$(LINUX_DIR)/drivers/net/ethernet/mellanox/mlxsw/mlxsw_core.ko
KCONFIG:= \
CONFIG_MLXSW_CORE \
define KernelPackage/mlxsw-minimal
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Mellanox Technologies minimal I2C support
- DEPENDS:=+kmod-mlxsw-core +kmod-mlxsw-i2c
+ DEPENDS:=+kmod-mlxsw-i2c
FILES:=$(LINUX_DIR)/drivers/net/ethernet/mellanox/mlxsw/mlxsw_minimal.ko
KCONFIG:=CONFIG_MLXSW_MINIMAL
AUTOLOAD:=$(call AutoProbe,mlxsw_minimal)
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Mellanox Technologies Spectrum family support
DEPENDS:= \
- +kmod-mlxsw-core +kmod-mlxsw-pci +kmod-lib-objagg +kmod-lib-parman \
+ +kmod-mlxsw-pci +kmod-lib-objagg +kmod-lib-parman \
+kmod-ip6-tunnel +kmod-ptp +kmod-sched-act-sample +kmod-vxlan
FILES:=$(LINUX_DIR)/drivers/net/ethernet/mellanox/mlxsw/mlxsw_spectrum.ko
KCONFIG:= \
CONFIG_MLXSW_SPECTRUM \
- CONFIG_NET_SWITCHDEV=y \
CONFIG_MLXSW_SPECTRUM_DCB=y \
- CONFIG_DCB=y \
- CONFIG_AMD_XGBE_DCB=n \
- CONFIG_IXGBE_DCB=n \
- CONFIG_I40E_DCB=n \
- CONFIG_QLCNIC_DCB=n \
- CONFIG_FSL_DPAA2_ETH_DCB=n \
- CONFIG_FSL_DPAA2_SWITCH=n
+ CONFIG_NET_SWITCHDEV=y \
+ CONFIG_DCB=y
AUTOLOAD:=$(call AutoProbe,mlxsw_spectrum)
endef