Skip to content

Commit 5dcf0c3

Browse files
niklas88hcahca
authored andcommitted
s390: enable switchdev support in defconfig
The HiperSockets Converged Interface (HSCI) introduced with commit 4e20e73 ("s390/qeth: Switchdev event handler") requires CONFIG_SWITCHDEV=y to be usable. Similarly when using Linux controlled SR-IOV capable PF devices with the mlx5_core driver CONFIG_SWITCHDEV=y as well as CONFIG_MLX5_ESWITCH=y are necessary to actually get link on the created VFs. So let's add these to the defconfig to make both types of devices usable. Note also that these options are already enabled in most current distribution kernels. Signed-off-by: Niklas Schnelle <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
1 parent abf0e8e commit 5dcf0c3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

arch/s390/configs/debug_defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ CONFIG_UNIX=y
117117
CONFIG_UNIX_DIAG=m
118118
CONFIG_XFRM_USER=m
119119
CONFIG_NET_KEY=m
120+
CONFIG_NET_SWITCHDEV=y
120121
CONFIG_SMC=m
121122
CONFIG_SMC_DIAG=m
122123
CONFIG_INET=y
@@ -511,6 +512,7 @@ CONFIG_NLMON=m
511512
CONFIG_MLX4_EN=m
512513
CONFIG_MLX5_CORE=m
513514
CONFIG_MLX5_CORE_EN=y
515+
CONFIG_MLX5_ESWITCH=y
514516
# CONFIG_NET_VENDOR_MICREL is not set
515517
# CONFIG_NET_VENDOR_MICROCHIP is not set
516518
# CONFIG_NET_VENDOR_MICROSEMI is not set

arch/s390/configs/defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ CONFIG_UNIX=y
109109
CONFIG_UNIX_DIAG=m
110110
CONFIG_XFRM_USER=m
111111
CONFIG_NET_KEY=m
112+
CONFIG_NET_SWITCHDEV=y
112113
CONFIG_SMC=m
113114
CONFIG_SMC_DIAG=m
114115
CONFIG_INET=y
@@ -502,6 +503,7 @@ CONFIG_NLMON=m
502503
CONFIG_MLX4_EN=m
503504
CONFIG_MLX5_CORE=m
504505
CONFIG_MLX5_CORE_EN=y
506+
CONFIG_MLX5_ESWITCH=y
505507
# CONFIG_NET_VENDOR_MICREL is not set
506508
# CONFIG_NET_VENDOR_MICROCHIP is not set
507509
# CONFIG_NET_VENDOR_MICROSEMI is not set

0 commit comments

Comments
 (0)