Building a kernel with SMC support

6.18 LPAR mode z/VM guest KVM guest

Control the build options for SMC support through the kernel configuration menu.

Kernel builders: This information is intended for those who want to build their own kernel. Be aware that both compiling your own kernel or recompiling an existing distribution usually means that you have to maintain your kernel yourself.

Figure 1 summarizes the kernel configuration menu options that you must select in the Linux® configuration menu to include SMC support.

Figure 1. SMC kernel configuration menu option
 Networking support --->      
    ...
    Networking options --->
       ...
       SMC socket protocol family              (CONFIG_SMC)   
        SMC: socket monitoring interface       (CONFIG_SMC_DIAG)
CONFIG_SMC
This option provides SMC protocol support. It can be compiled into the kernel or as a separate module, smc.
CONFIG_SMC_DIAG
Builds a kernel module smc_diag if active. smc_diag is a prerequisite for the statistics tool smcss.