Building a kernel with the qeth device driver

6.18 LPAR mode z/VM guest

Control the build options for the qeth device driver 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.

There are options that you must select in the Linux® configuration menu to include the qeth device driver.

Figure 1 summarizes the kernel configuration menu options that are relevant to the qeth device driver:

Figure 1. qeth kernel configuration menu options
 I/O subsystem --->
    QDIO support                                               (CONFIG_QDIO)
    ...
 Networking support -->                     (common code option CONFIG_NET)
    ...
    802.1d Ethernet Bridging                                   (CONFIG_BRIDGE)
    ...
    Switch (and switch-ish) device support                     (CONFIG_NET_SWITCHDEV)
    ...
 Device Drivers --->
    ...
     Network device support --->            (common code option CONFIG_NETDEVICES)
       ...
       S/390 network device drivers (depends on NETDEVICES && S390) --->
          ...
          Gigabit Ethernet device support                      (CONFIG_QETH)*
          ├─ qeth layer 2 device support                       (CONFIG_QETH_L2)
          ├─ qeth layer 3 device support                       (CONFIG_QETH_L3)
          └─ qeth OSX device support                           (CONFIG_QETH_OSX)
CONFIG_QDIO
This option provides the Queued Direct I/O base support for IBM Z®.

It is required if you want to work with qeth devices. It can be compiled into the kernel or as a separate module, qdio.

CONFIG_QETH
This option is required if you want to work with qeth devices. It can be compiled into the kernel or as a separate module, qeth. This option depends on CCW, the common code option NETDEVICES, IP: multicasting(CONFIG_IP_MULTICAST), and Networking support (CONFIG_QDIO).
CONFIG_QETH_L2
Select this option to be able to run qeth devices in layer 2 mode. It can be compiled into the kernel or as a separate module, qeth_l2. This option depends on Gigabit Ethernet device support (CONFIG_QETH).
CONFIG_QETH_L3
Select this option to be able to run qeth devices in layer 3mode. It can be compiled into the kernel or as a separate module, qeth_l3.
CONFIG_QETH_OSX
Select this option to be able to run qeth devices in OSX mode.