diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 6aebb60d59..7e9e7622fa 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -1354,7 +1354,7 @@ define KernelPackage/mlx5-core CONFIG_MLX5_EN_IPSEC=n \ CONFIG_MLX5_EN_RXNFC=y \ CONFIG_MLX5_EN_TLS=n \ - CONFIG_MLX5_ESWITCH=n \ + CONFIG_MLX5_ESWITCH=y \ CONFIG_MLX5_FPGA=n \ CONFIG_MLX5_FPGA_IPSEC=n \ CONFIG_MLX5_FPGA_TLS=n \ diff --git a/target/linux/x86/config-5.15 b/target/linux/x86/config-5.15 index 885f1f8fdc..53719a793a 100644 --- a/target/linux/x86/config-5.15 +++ b/target/linux/x86/config-5.15 @@ -248,6 +248,7 @@ CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y CONFIG_NEED_SG_DMA_LENGTH=y # CONFIG_NET5501 is not set # CONFIG_NET_NS is not set +CONFIG_NET_SWITCHDEV=y CONFIG_NLS=y # CONFIG_NOHIGHMEM is not set CONFIG_NR_CPUS=1